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.

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
add comment

2 Answers

defaults write com.apple.Safari 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
add comment

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
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.