Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

On Lion, if I quit Safari using ⌘ Command+Q and then restart it, it reopens all tabs from last time.

In Preferences, I have set that new Windows open with an Empty Page, a setting that worked fine in Snow Leopard.

Is there a way to disable that nonsense? I can't seem to find a setting for this :(

share|improve this question
add comment

4 Answers 4

up vote 14 down vote accepted

This is a new feature in Mac OS X Lion. See here (Resume).

You can disable this in System Preferences > General and untick the "Restore windows when quitting and re-opening apps, but will be system wide.

Another solution is to hold ⌥ Option+⌘ Command+Q when quitting, the app will then not save the state.

share|improve this answer
2  
The setting in can be overridden for individual apps with something like defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool false. –  Lri Nov 1 '11 at 13:19
add comment

In case you didn't have the foresight to shut down with a special command, you can always hold down Shift when starting Safari (or any other Resume-able app) to prevent it from restoring the previous state.

share|improve this answer
add comment

In addition to the great ⌥ Option+⌘ Command+Q tip, another way to think about it: If you always close all your tabs (⌘ Command+W) before you quit, there won't be any state to save. Then when you restart Safari, you'll get your preference of a blank page, home page, etc.

share|improve this answer
add comment

Note that as per this other answer to a similar question, is is actually possible to disable resume on a per-app basis, forcing Safari to start with a new window and as such take your 'empty page' preference into account.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.