Disabling resuming of apps in OSX Lion

The new application resume feature of OSX Lion annoys me big time. To disable it, you need to do the following steps:

1) Disable the `Restore windows when quitting and re-opening apps` checkbox in the General Preference window.

General

2) Clean out and write-protect the Resume database for the command line:

rm -rf ~/Library/Saved\ Application\ State/*
chmod -w ~/Library/Saved\ Application\ State/

Thanks to @andrzejsliwa for the tip!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string gAvPmB to the field below: