How to disable Resume feature on specific apps on Mac OS X Lion?

Resume feature has been a very useful feature so far in Lion. But many times, we may want to disable it for various reasons. Here’s how you can do so.

Mac OS X came out with a lot of new user features this July for just $29.99. One of the key feature that Philip introduced at WWDC 2011 was the Resume feature in OS X Lion.

The Resume feature opens the application in the same state you closed the application in. But this feature has got some glitches when you want to completely open the application in a new state.

Here’s how you can disable the Resume feature for particular applications:

How to turn off Resume for particular apps:

Here’s a general template to disable Resume for applications:

defaults write com.<developerName>.<applicationName> NSQuitAlwaysKeepsWindows -bool false

And here are some examples of applications:

Turn Off for Google Chrome
defaults write NSQuitAlwaysKeepsWindows -bool false

Turn Off Resume for Safari
defaults write NSQuitAlwaysKeepsWindows -bool false

[alert_box] Tip: The -bool false is what sets the Resume flag. When it’s false, Resume is disabled. Make it true to re-enable Resume for that application.[/alert_box]

Where to find application’s system name?

You can find the applications’ names in the following directory:

~/Library/Saved Application State/

This is a very simple technique to disable Resume feature for your applications. Let me know if you have got some queries regarding this.

Subscribe to 4CAST

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 23 other subscribers