Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How setup Clean Start

Under Resume on the Apple web page at http://www.apple.com/macosx/whats-new/features.htmlit talks about a Clean start. Lion lets you choose a clean start, so you return to a fresh desktop after you restart.



I have not been able to figure out how to set up the Clean start. I went to System Preferences/General and uncheck the box to Restore windows when quitting and re-opening apps. Unchecking the box does not give you a clean start

What I would like to see is when you Shut down or do Restart all open apps are closed and the only items that load as part of the restart that are those specified under System Preferences/Users & Groups/Login Items.


I coud use some help setting up OS X 10.7 Lion for a Clean start

Posted on Jul 24, 2011 7:48 PM

Reply
25 replies

Jul 25, 2011 4:41 AM in response to jmacbookpro

This is the most unOS X thing I have ever seen that unchecking the box has no memory. This means if you really want the Clean start you have to manually uncheck the box for each Restart or Shut Down.


The lack of memory for the checkbox has to be a bug in OS X 10.7. A better userinterface solution would be to add the box to the System Preferences/General settings or at least have link it to be unchecked when the user unchecks the Restore opton


Thanks to all that resonded. Nothing we can do until the OS X Design Team takes action.

Jul 25, 2011 5:06 AM in response to aRKay

The box in the General System Preferences should work for what you want. It appears it is not being set.


I played around with it and it seemed to not set the preference every time, which may be what you are seeing.

First, open up your ~/Library/Preferencese/ByHost folder and delete the com.apple.loginwindow.<long alpha-numeric string>

Then, copy and paste this command into Terminal:

defaults write com.apple.loginwindow TALLogoutSavesState 0

The file you deleted is the one that stores which apps and windows are open.

The command directly writes the preference for saving the logout state.


You can read the setting by using this command, although it should reflect the setting in the General System Prefs, now.

defaults read com.apple.loginwindow

Look for the line with TALLogoutSavesState. It should be 0, now.


The checkbox in the shutdown dialog will remain checked, but you won't need to change it. It should ignore that since the main preference is set to not save state.

Jul 25, 2011 6:20 AM in response to Barney-15E

> The checkbox in the shutdown dialog will remain checked, but

> you won't need to change it. It should ignore that since the main

> preference is set to not save state.


I tried the suggested termial statements and they were accetpted but they did not work. After delegting the .plist and adding the new statement, I did a Restart and OS X came up with all the stuff opened just where I left it.


I still do not know how to setup 10.7 for a Clean start without having to manually unCheck the box in hte Restart and Shut Down boxes. Maybe the default setting should be to have the box unchecked?


Again, putting the Clean start option in the Restart and Shut Down boxes is a design mistake. It should have beern a user selection under System Prefernces/General


Until it is addessed by Apple we have to manually uncheck the box for each Shut Down or Restart

Jul 26, 2011 8:13 PM in response to aRKay

By using a simple AppleScript application, you can achieve this in a consistent way.


I've compiled an application that after clicking its icon, it will shut down your Mac with "save state" disabled. You can use this app on a daily basis instead of turning the Mac off in the traditional way.


A good idea could be putting it on your Dock so you always have it handy.


You can download the app from here


Regards,


Victor Andreoni

Jul 27, 2011 6:15 AM in response to Vic07

Victor,


Thanks for the nice CleanShutDown applicaiton. It will be used until Apple gets around to fixing hte glitch in the user interface in OS X 10.7.


Hopefully, they will ditch the check box in the Restart and Shut Down boxes and add a normal Macintosh option in the System Preferenxces/General panel


Your app is now on the dock!

How setup Clean Start

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.