Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I turn off Safari Resume?

I want Safari to open on my chosen home page when I open it each time. I hate this new "resume" feature where it returns to the last page that was open when I was browsing before I closed the application. Anyone know how I can disable this so my browser opens on my chosen home page that I have in my preferences when I re-open the Safari Application?

Mac Pro/Macbook Pro, Mac OS X (10.6.2)

Posted on Jul 21, 2011 7:01 PM

Reply
32 replies

Jul 28, 2011 4:49 AM in response to Tazthed

OK, thanks for the feedback.


Yes, un-checking the option in the shutdown dialogue box certainly does work. I still believe you must be able to change the default behaviour of this box so that it comes up un-checked. However, I haven't had any joy finding the right terminal command.


Surely, there are some mac programmers on this forum that must know how to do this??

Jul 31, 2011 10:39 AM in response to Lanny

I'm having this problem as well.


It seems that the issue is that the 'Restore windows when quitting and re-opening apps' only works if you manually quit the app itself. This option is not respected if you restart your computer and let the shutdown close your apps for you.


If you shutdown with apps running, even if you de-select the reopen windows when you log back in (which will prevent the apps from auto-starting at login), each individual app will still remember it's last windows and, when launched. will do it's best to 'resume'.

Sep 6, 2011 12:00 PM in response to markfalta

Thanks for this. As a new Mac user I tried it but didn't like it so I went back and did the NO code since it wouldn't open it in full screen each time. Now my question is, having used terminal have I done any permanent damage or changes that will affect Safari? I did the yes then the no code so does that mean it went back to normal like nothing happened and I won't be affected in any future updates or anything like that? It seems to be working fine but again I'm a new mac user and doing stuff like terminal is kinda out of my league so I'm a little nervous now.

Sep 12, 2011 12:48 AM in response to John Bernard

I find the resume feature especially problematic when my MBP crashes/locks-up. I'm on deadline and Lion forces me to force a shutdown (holding down the power button). So I'm in a rush yet when the computer starts-up it wants to launch a bunch of applications that I had running before the crash. Why Apple WHY?


Seems like there are a number of 'features' in Lion that are productivity killers. At least give us the option to set a default so it won't try to resume and re-launch all of these apps from a cold boot.

Sep 12, 2011 1:37 AM in response to Baron Sekiya

Thanks to another user, I've now learned how you can turn of Resume completely. This is not the same as stopping Safari from starting up by opening your previous tabs. For that, use the commands I gave you above.


However, it will stop Safari, and anything else, from starting up when you reboot - what I love about this hack is it you don't even need to uncheck the box in the Login window!


All you do is this:


1. Close all windows and quit all apps.


2. In Finder, hold down the Option key and click 'Go' in the menu bar at the top.


3. Choose 'Library' (you have to have the Option key held down to see Library in the menu).


4. Navigate to Library > Preferences > ByHost > com.apple.loginwindow.[xxxxxxxxx].plist

The [xxxxxxxx] represent some interminable string of numbers and letters. What you need to check is that its 'loginwindow' and '.plist' at the end (don't make the same mistake as I did and choose the Unix exectuable file).


5. When you're sure you've identified the right file, select it and press Cmd-i to show the 'Get Info' window. Click the 'Locked' option.


6. Now, test that it works. Close the 'Get info' window and the finder window. Open up Safari, Preview and a couple of windows. Do a restart and behold - a clean desktop!


Huge thanks to Billearl who first posted this solution.

Jan 21, 2012 9:03 PM in response to John Bernard

I've been looking for this solution for a few weeks - Softwater got it right! Thank you!


There are lots of suggestions out there about unchecking boxes on logout and System Pref/General and using terminal to disable windows opening up on login in Lion. I'm sure they work in the typical case. But for some reason - perhaps after lots of migrating from old macs to new macs over the years and eventually to Lion - my Safari and Terminal windows opened up on login no matter what I tried - deleting application and SaveState preference files, locking start files, modifying with Terminal. It all should have worked but it didn't.


Softwater's suggestion just above regarding the preference file in the ByHost folder did the trick for me. There it was - as simple as a loginwindow preference folder that listed the two apps causing me the problem!


Thanks again !

Feb 1, 2012 2:16 AM in response to helpneededplease

Removing the Resume feature for both the applications and the system FOREVER.


This feature is irritating especially the System Resume feature which can not be switched of at all and causes a large amount of problems if the Mac has crashed and you don’t have access to the tick box on the shutdown / restart window.


First of all you have to gain access to the User Library folder, which for no good dam reason has been hidden in Lion. Open a terminal window and do this.

----------------------

The following method makes the user library folder permanently visible.

  • Launch Terminal from Mac HD > Applications > Utilities.
  • From within Terminal type the following command and press Return: chflagsnohidden ~/Library
  • Enter system administrator password if prompted and press Return:


Note:TheSystem administrator password is not visible as you type it.

----------------------

Now open this folder rand find the folder “Saved Application State”.

Open this folder and delete everything that’s in it then lock the folder so Lion cant right to it anymore.


You have just stopped any application remembering its saved state. YAA

----------------------

Now find the file in the library folder that will have this path.

Library/Preferences/ByHost/com.apple.loginwindow.7E0D66E6-A59D-5A32-8C38-5ECD4D0 C0C81.plist


The numbers may be different but the ‘com.apple.loginwindow’ is the clue.


Before you lock this file close all programs and only have the Finder running. Once you have done that lock this file.

----------------------

Congratulations you have just disabled Resume System wide and it will never make you wait for your computer to start up or open up your holiday snaps at the beginning of that important business presentation.


Apple if you are listening THIS FEATURE IS SO BAD. It may be great for users who only have iTunes open but for serious designers it creates a waste of a great deal of time. We are the sort of user that has already backed up their stuff in three places anyway and just need the Mac to restart after Flash crashes the whole system, not have to wait for the 26 programs we also had running to RESUME their last saved state.


HELLO ANYONE THERE


Alan Payne BEd MSc ITHCI


(Don’t patronize me Apple with your call centers and censoring of my posts I have more qualifications in this subject than the entire staff in the Aberdeen Apple Shop) OK!

Feb 1, 2012 6:39 AM in response to John Bernard

I accept that windows are restored after a restart, but I always turned off the restore option in the General Prefs to prevent windows reopening after I quit and reopened Safari. The last few days it has reopened the windows regardless. I found there was a preference in the Glim extension to restore tabs at launch and that was my problem. Just a thought...


Chris

How do I turn off Safari Resume?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.