Blog Archives
turn off Resume – the definitive solution!
Finally, someone’s come up with the definitive – and as far as I know only – successful solution to turning of the OS X Lion Resume feature. This little trick from poster billearl will stop your Mac opening all the apps that were still running when you shutdown/restart.
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. Don’t mistake it for the similarly entitled Unix executable file. What you need to check is that its ‘loginwindow’ and ‘.plist’ at the end.
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 — if you followed the instructions correctly — a clean desktop!
Now, a small word of caution. One thing this trick won’t do is stop your apps like Safari and Preview from re-opening the last page/file when you manually fire them up after restart. In order to get them to forget your last opened page/file, you also need to do this:
7. Go to the ~/Library/ Saved Application State folder.
8. Select all the contents inside and send them to Trash.
9. Right-click on the Saved Application State folder’s icon and choose ‘Get Info’ (or press cmd-i).
10. Click the ‘Locked’ option. If it’s greyed out, go down to the padlock at the bottom, click on that and enter your password. You should now be able to check the ‘Locked’ option.
And finally, after those ten (phew…) steps…no more Resume!
turn off Resume – updated
NOTE: this post has been superceded. See the definitive guide to turning of Resume for good>>here!<<
This is going to be a major pain for a lot of people, including me!
One of the main reasons I do Cmd-Q (Quit command) is precisely because I want the app to open in a default mode and not to re-open what I was just doing. This is particularly the case if an app goes a bit squiffy or is just not doing what I want it to do.
One way to avoid Resume is to use the option key when you quit. Use the hotkey combination
‘Opt + Cmd + Q‘
or chose Quit from the application menu while holding down the option key. That will both quit the program and discard all current windows. However, if you want to turn off Resume completely, here’s how to do it:
1. Go to the Apple icon in the top left and choose ‘System Preferences’.
2. The first icon at the top is ‘General’. Choose that, then look down the bottom for an option that says ‘Restore windows when quitting and re-opening apps’. You need to UN-check that box to turn of Resume.
However, that’s not the end of Resume, as epbernstein kindly pointed out in the Commments below. Lion will still re-open all your un-quitted apps if you do a restart. In order to avoid this, you need to make sure you un-check the dialogue box in the close-down/restart menu:
By default, this will always be checked, so you’ll have to remember to un-check it every time. Alternatively, you can install and run a script to make this dialog box ineffective (it’ll still show it’s checked, but it won’t work). This is not an ideal solution since it means that if you forget (or someone else using your machine doesn’t know), there’s no indication that the feature is ‘off’. However, if you’re desperate to make sure this feature is off, this looks like the best option so far.
In case you didn’t see the note at the top of the page:😉
NOTE: this post has been superceded. See the definitive guide to turning of Resume for good>>here!<<