Thank you for buying via links and ads on this site,
which earn me advertising fees or commissions.
As an Amazon Associate I earn from qualifying purchases.

Other World Computing...
B&H Photo...
Amazon
As an Amazon Associate I earn from qualifying purchases.
Upgrade the memory of your 2018 Mac mini up to 64GB
877-865-7002
Today’s Deal Zone Items... Handpicked deals...
$900 $260
SAVE $640

$1798 $1298
SAVE $500

$148 $138
SAVE $10

$2998 $2898
SAVE $100

$1858 $1358
SAVE $500

$1858 $1358
SAVE $500

$3049 $2399
SAVE $650

$3664 $3154
SAVE $510

$998 $848
SAVE $150

$4087 $3088
SAVE $1000

$1597 $1297
SAVE $300

$80 $33
SAVE $46

$1898 $1498
SAVE $400

$600 $400
SAVE $200

$240 $175
SAVE $65

$699 $499
SAVE $200

$400 $180
SAVE $220

$1598 $1398
SAVE $200

$2027 $1397
SAVE $630

$1699 $999
SAVE $700

$180 $100
SAVE $80

$1199 $1099
SAVE $100

$1199 $1099
SAVE $100

$999 $949
SAVE $50

$400 $180
SAVE $220

$1699 $999
SAVE $700

Restore Windows When Quitting and Re-opening Apps

2011-08-08 updated 2011-12-22 - Send Feedback
Related: Apple macOS

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!

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.

View all handpicked deals...

Sony Alpha a7R II Mirrorless Digital Camera (Body Only)
$1798 $1298
SAVE $500

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