Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Up to 1527MB/s sustained performance

Restore Windows When Quitting and Re-opening Apps

Last updated 2011-12-22 - Send Feedback
Related: mac OS, OSX

Status: workflow efficiency and computing is preserved by disabling this feature on a system wide basis. However, reboots are frustratingly slow, as the system refused to open the desktop until all prior applications are relaunched (too easy to forget to uncheck the "reopen" checkbox when rebooting, system does not respect the choice permanently).

Yet another ill-conceived feature with OS X Lion: re-opening windows that were previously open.

This sounds useful, and it is for selected programs, but it generates extra work to avoid a rapidly escalating visual mess and performance hit with some programs.

For example, double-click a JPEG file to see it in Preview. Quit Preview, then do it again— now you have two windows open. Now do it again and you have three windows open. This forces one to constantly close windows, not to mention rapidly declining performance as more and more files have to be read from the disk and displayed. If multiple files happen to be on a slow network drive (such as iDisk), watch out— it could take minutes to complete, even though the desire is for some local file.

As another example, I arrange my Safari tabs and bookmarks so I can hit a button and get just what I want. I do not want whatever random pages were open the last time I was in Safari!

Up to 1527MB/s sustained performance

Disabling resume system-wide

One viable solution to this problem seems to be disable the feature entirely; in typical Apple fashion there is no per-application choice, just a system wide on/off setting. This lack of flexibility makes the feature worthless to me.

How to disable the Mac OS X Lion system-wide “restore windows” feature

Disabling on a per-application basis

For this, you’ll need to find the name of the application’s state file, which is in the folder ~/Library/Saved Application State — in the Finder, use the Go => Go To Folder command to type in that file path.

The folder that opens contains the state for various applications; you’ll need to dig around to find the file name for the one of concern.

Use cmd-shift-G (Go To Folder) to open the Saved Application State folder

Open Terminal, then issue the following command, replacing com.apple.Safari with the appropriate file name:

defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool false

To re-enable, simply specify true instead of false.

Deals Updated Daily at B&H Photo
View BEST Deals Right Now
B&H Deal ZoneDeals by Brand/Category/Savings
Deals expire in 18 hours unless noted. Certain deals may last longer.
$1199 SAVE $500 = 29.0% $19 FREE ITEMS Canon 18x50 IS Image Stabilized Binocular in All Other Categories
$1049 SAVE $450 = 30.0% $20 FREE ITEMS Canon EOS 77D DSLR with 18-135mm USM in Cameras: DSLR
$1697 SAVE $300 = 15.0% Nikon D750 DSLR in Cameras: DSLR
$2797 SAVE $200 = 6.0% Nikon D810 DSLR in Cameras: DSLR
$898 SAVE $100 = 10.0% Sony DSC-RX100 V in Cameras: Point and Shoot
$300 SAVE $160 = 34.0% $9 FREE ITEMS Steiner 8x32 XC Binocular in All Other Categories
$1099 SAVE $200 = 15.0% ZEISS 25mm f/2 Batis in Lenses: Mirrorless
$1299 SAVE $200 = 13.0% ZEISS 21mm f/2.8 Loxia in Lenses: Mirrorless
$1999 SAVE $300 = 13.0% ZEISS 18mm f/2.8 Milvus ZF.2 in Lenses: DSLR

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2008-2017 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__