Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know there's a system wide preference to disable 'Restore windows when quitting and re-opening apps', but is there any way to have it restore only specific apps?. I would like to have Safari open in full screen every time I launch it.

share|improve this question

defaults write NSQuitAlwaysKeepsWindows -bool YES will enable it just for Safari.

Note that you can also temporarily toggle the behavior by holding ⌥ and choosing SafariQuit And Keep Windows (or ⌘-⌥-Q).

share|improve this answer

If you want to DISABLE restore for a particular application, it appears you can close all open documents for a program, quit the program, then go to ~/Library/Saved Application State/«app name», Get Info, and lock the folder.

This could work to preserve the state of "no windows open", or to preserve any other window state that you always want to launch into.

share|improve this answer

Your Answer


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.