Mobile menu toggle

Disable Restoration Of Previously Open Windows In The Lion Preview App [OS X Tips]

By

previewicon

You’ll either love or hate Mac OS X Lion’s Restore feature. If you didn’t know it the Restore feature kicks in when you relaunch an app. All the windows that were open the last time you used that app are open again and restored when the app launches again.

Although Restore works great for some apps like Safari I don’t really like how it works for the Preview app. Lucky for us we can permanently turn Restore off for Preview.

Locate the Terminal app in Applications –> Utilities and launch it. Enter the following command and press enter to permanently turn Restore off for Preview:

defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool false

if you change your mind later change false in the line above to true instead.

  • Subscribe to the Newsletter

    Our daily roundup of Apple news, reviews and how-tos. Plus the best Apple tweets, fun polls and inspiring Steve Jobs bons mots. Our readers say: "Love what you do" -- Christi Cardenas. "Absolutely love the content!" -- Harshita Arora. "Genuinely one of the highlights of my inbox" -- Lee Barnett.

15 responses to “Disable Restoration Of Previously Open Windows In The Lion Preview App [OS X Tips]”

  1. Rob Bartel says:

    Thank you. I’ve been waiting for this to come across the wires. I like the “Resume” feature or whatever it’s called quite a bit, but as you noted in Preview it’s more of a pain than a help. Recent Files works fine.

  2. Goober says:

    I absolutely despise resume. Conceptually its a nice idea, but its implementation is horrible. Each application should have a common and simple way of turning it off. For now its far more annoying to me than any perceived benefit. 

  3. Benabik says:

    Hidden settings like this is why I use the Secrets prefpane: http://secrets.blacktree.com/  Saw this article, pulled up secrets and there it was already.

  4. Solafide87 says:

    Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! I can finally get rid of that annoyance!

  5. Bblevins89 says:

    Or you could just turn it off within “General” in the System Preferences?

  6. dale2000 says:

    Use System Prefs and you’ll override the global function.  I think the purpose of this tip is to simply shut the function off for Preview.  Which is exactly what I’d like, actually.  Just Preview.

  7. JD says:

    Oh, man. Thank you so much. I couldn’t find the solution anywhere else!

  8. Olly Cassidy says:

    Somehow my version of Lion pays absolutely no attention to this Sys Pref setting. Weird huh! It wouldn’t dare ignore a terminal command though.

Leave a Reply