Sunday, 14 August 2011

10.7: Disable Resume on a per-application basis

Lion's new Resume feature is great, but sometimes, you don't want it to happen, or maybe just for some applications.


First: To disable Resume for one time only in any application, Quit the app while holding the Option Key. This works from the menu or with Command+Option+Q.

Now, what if there's an app you never want to restore to its previous state, but you still want resume turned on? You can easily accomplish this with Terminal.

Open Terminal in /Applications/Utilities and type:

defaults write com.[vendor].[AppName] ApplePersistenceIgnoreState YES

For example with Safari you'd type this:

defaults write com.apple.Safari ApplePersistenceIgnoreState YES

It's not guaranteed to work on apps that aren't updated for Lion (though they're not guaranteed to work with Resume either). Sometimes it's tricky to find how the vendor spells their name in this format so you can locate the preferences file for ...

Add to digg Add to Reddit Add to Slashdot Email this Article Add to StumbleUpon

Source: http://feeds.macosxhints.com/click.phdo?i=6e6afdd6b8a793610883706e1bea0d14

mac world macworld 2009 apple tablet news macintosh news

No comments:

Post a Comment