Lion: failure to honor un-setting of "Restore windows when quitting and re-opening apps" ?

I have noticed an annoying "feature" of Lion, and I'm hoping that someone might have found a workaround.
If I uncheck Preferences->General->Restore windows when quitting and re-opening apps, some of my apps still seem to ignore that setting after a restart.
Here's a scenario which illustrates the problem:
Uncheck the Preferences setting mentioned above.
Open up a few Finder windows.
Open up a few Terminal windows.
In the Terminal Preferences, disable everything related to Window Groups.
Do a Logout or a Restart. Uncheck Reopen windows when logging back in.
Relog in.
Open one Terminal window.
After step 6, all of the Finder windows which were previously open before Logout or Restart will also reopen.
After step 7, all of the Terminal windows which were previously open before Logout or Restart will reopen, in addition to the single Terminal window which is manually opened after login.
The only way I can prevent this from happening to Terminal is to add the following two lines right before the final </dict> tag in /Applications/Utilities/Terminal.app/Contents/Info.plist:
<key>LSUIElement</key>
<string>1</string>
However, this has the undesirable side-effect of not showing anything about Terminal in the menu bar or the dock.
None of this used to happen in Snow Leopard, Leopard, or Tiger. Does anyone know how I can disable this unwanted window-opening-after-relogin behavior in Lion?
Thanks in advance.

Try the Lion community, there are others with same and similar questions;
And, this is not the MacBook Pro forum, so might want to bookmark and find that as well.
http://www.apple.com/support/macbookpro
http://www.apple.com/support/lion

Similar Messages

  • Lion: failure to honor the un-setting of "Restore windows when quitting and re-opening apps" ?

    I have noticed an annoying "feature" of Lion, and I'm hoping that someone might have found a workaround.
    If I uncheck Preferences->General->Restore windows when quitting and re-opening apps, some of my apps still seem to ignore that setting after a restart.
    Here's a scenario which illustrates the problem:
    Uncheck the Preferences setting mentioned above.
    Open up a few Finder windows.
    Open up a few Terminal windows.
    In the Terminal Preferences, disable everything related to Window Groups.
    Do a Logout or a Restart. Uncheck Reopen windows when logging back in.
    Relog in.
    Open one Terminal window.
    After step 6, all of the Finder windows which were previously open before Logout or Restart will also reopen.
    After step 7, all of the Terminal windows which were previously open before Logout or Restart will reopen, in addition to the single Terminal window which is manually opened after login.
    The only way I can prevent this from happening to Terminal is to add the following two lines right before the final </dict> tag in /Applications/Utilities/Terminal.app/Contents/Info.plist:
    <key>LSUIElement</key>
    <string>1</string>
    However, this has the undesirable side-effect of not showing anything about Terminal in the menu bar or the dock.
    None of this used to happen in Snow Leopard, Leopard, or Tiger. Does anyone know how I can disable this unwanted window-opening-after-relogin behavior in Lion?
    Thanks in advance.

    To urabus. Thank you for your reply. Unfortunately, this is does not work for me. Furthermore, even if it did work the way you said, it would not be a viable alternative for me.
    When I hold down the Option key and select the Terminal menu, I see this: Quit and Keep Windows, not Quit and Discard Windows. If I let go of the Option key, this menu entry changes to simply Quit Terminal. Therefore, I don't even have the option to quit and discard my windows.
    As I mentioned, however, even if I had the option you mention, it is not desirable for me. When I restart, I want the OS to properly close all my open windows in the same way that it did in Snow Leopard, Leopard, and Tiger. It is not desirable for me to have to manually close some or all of my apps in a special way before restart, simply to cause them to behave the way that un-checking Restore windows when quitting and re-opening apps is supposed to control.
    Here is one reason (out of several), for why I don't want this auto-reopen-windows-on-restart "feature": some of my Terminal windows run ssh sessions to remote sites. It is a Bad Thing for these ssh sessions to be auto-restored after Restart, without my having to specificially initiate these sessions.
    IMHO, Apple should offer an alternative to this undesirable behavior. For example, during the shutdown procedure which is part of a Restart, we are asked if we want to kill any open Terminal windows. The "Quit and Discard Windows" option could be offered at that point ... but it isn't.
    Furthermore, as I mentioned above, this unwanted behavior also occurs in Finder.
    Is there any option that I can set in my system or in the defaults for com.apple.Terminal and com.apple.Finder which would force an automatic "Quit and Discard Windows" on restart or re-login?
    Updated to add second paragraph which explains how hitting the Option key when selecting the Terminal menu does not work.

  • Where is my "Restore windows when quitting and re-opening apps" option?

    I want to turn off the "Restore windows when quitting and re-opening apps" option but I don't see it in my General pane of the System Preferences, unlike what the on-line posts say. What am I missing?   Running 10.8.4

    Quit all of your apps.
    Navigate to here: ~/Library/Preferences/ByHost/com.apple.loginwindow.*.plist (whereby * is a bunch of characters)
    Click the file, do a File > Get Info and lock it using the Locked checkbox.
    To reverse this setting, simply unlock the file!
    Another helpful hint as well: Lion, by default, hides your ~/Library/ folder. To make it visible again without showing all of your other invisible files, simply open up Terminal and type:
    chflags nohidden ~/Library/

  • Restore windows when quitting and re-opening apps will not stay unchecked

    I upgraded my early 2011 model 15" MBP to Lion and this new feature is resulting in lots of strange behavior when it comes to system start-up and when i launch apps afterwards.  For now, I want to simply shut this feature off, so I go to System Preferences > General and I uncheck the "Restore windows when quitting and re-opening apps" control.  If I then close and reopen system preferences, the check on this control is back!  I have tried various forms of other work-arounds such as locking the folders on an app by app basis in the ~/library/Saved Application State folder for the apps that act wierd and it sort of helped, but nothing seems allow me to just shut this off globally and make it stick.  Any thoughts on why I can't get the preference change to stick?

    The Preferences selection simply stops the applications themselves from relaunching (previous state) windows when you launch them manually.
    The log-out check box is for something entirely different. It stops the applications from relaunching, if they were open when you logged out, or shutdown.
    There is no way to keep that second behaviour from occuring as a default. Apple will have to make a change in Lion to make the change something you can set as a permanent preference.
    I use an automator script application to perform my shut-downs with one click. I have an alias for the script in my dock, right next to the Finder icon. The same script also "uncheck's" the box of which you are speaking.

  • The "Resume"/"Restore Windows When Quitting and Re-opening Apps" feature issues

    The "Resume"/"Restore Windows When Quitting and Re-opening Apps" features have issues with restoring windows of various applications (Safari, Preview etc.) to the corresponding Desktops on which they were before system reboot/shutdown or app restart. E.g. Preview windows appear on random Desktops after the system reboot and on the sane (N1) Desktop after Preview restart. How to fix this?

    Create a new User go to System Preferences > Users & Groups > "+" (make it an admin acct) and test the feature in this new account, if it works the problem is isolated to your User and not systemwide. If it's in your user only, it's probably a Login Item or pref file.
    If it's systemwide, since this feature may not have been tested on multiple Desktops
    file feedback here.

  • "Restore windows when quitting..." check box does not stay unchecked

    For now, I want to simply shut this feature off, so I go to System Preferences > General and I uncheck the "Restore windows when quitting and re-opening apps" control.  If I then close and reopen system preferences, the check on this control is back!
    Can anyone help please?
    Joe

    http://discussions.apple.com/message/16310366

  • I had to reinstall Mountain Lion 10.8.2 on my iMac. Now when I try to open iPhoto i get a pop up saying my photo library was created by a newer version. Did I miss an update or what

    I had to reinstall Mountain Lion 10.8.2 on my iMac. Now when I try to open iPhoto i get a pop up saying my photo library was created by a newer version. Did I miss an update or what

    We have no way of knowing. Maybe you did or maybe you didn't. If you don't tell us what version you have, how could we know?

  • HT2371 my phone is set on english but when i go to my app store it is in german how to i get it back to english

    My phone is set on English but when i go to my app store it is in German?
    My home screen and all other headings are in English.

    settings - app/itunes store - sign in - country/region - usa

  • I have a MacBook Pro (purchased in 2011) with OS X Lion 10.7.4.  I'm using Microsoft Office 2011 and cannot open older PowerPoint Files (non .pptx). It will always open the same .pptx file and then the machine hangs up and just keeps spinning.

    I have a MacBook Pro (purchased in 2011) with OS X Lion 10.7.4.  I'm using Microsoft Office 2011 and cannot open older PowerPoint Files (non .pptx). It will always open the same .pptx file and then the machine hangs up and just keeps spinning.

    Thank you - that all makes sense. It is, indeed, exactly what I did when I upgraded.
    I'm also writing this on the machine that crashed a few minutes ago (I posted the crash in another thread). I got back with a 'safe boot' - as I have done a few times before.
    I've also de-installed little snitch (and then done a safe-boot & then re-boot ) since that seemed involved. I de-installed Adobe flash, since that seemed to be a problem - I then re-installed the later, apparently fixed, flash. The most recent crashes don't seeme to have a problem with flash any more.
    I've posted the various ( generally different ) crashes. I also posted a summary of the similar lines that turn up in most of the crashes.
    Unfortuantely, I'm actually trying to use the machine to meet some urgent deadlines and all this is not making it at all easy.
    I had had great hopes for 10.7.2 - I thought that the crashes must be pretty common, so would have a common aetiology. There do seem to have been some fundamental changes to the file sytem and to the video interface (that seems to cause problems to brand new iMacs as well as to my 2009 iMac).

  • I had to restore my iPad recently and in opening Pages again found that even though I synced my iPad and backed it up my files did not come over to the restored iPad. Is there any way of recouperating them? Thanks!

    I had to restore my iPad recently and in opening Pages again found that even though I synced my iPad and backed it up my files did not come over to the restored iPad. Is there any way of recouperating them? Thanks!

    working files aare not backed up as far as I know. You must either 1)"copy to itunes", then use itunes to save as... to your desktop machine. Or 2) use iCloud to keep the docs.
    I also learned this the hard way. No way i know of to get the working docs back.
    Jason

  • Like Firefox, can Safari restore its tabs when (closed and) re-opened?

    If Firefox contains open / active tabs and is closed, those tabs (and their history) can (via a setting) be restored when Firefox is re-opened.
    Can Safari restore its tabs when it's re-opened as well?

    In my Safari for Windows (5.0.5) I've got a "Reopen all Windows from previous session" command. (In my History Menu.)

  • Set default import format when drag and drop sound file into multitrack view?

    I've looked around the preference panels but cannot find where to set the import settings for dragging and dropping sound files into multitrack view. Some of our computers have correct settings and others do not. Thanks for your help!
    G

    I should have been more specific, sorry... I mean bit depth and bit rate... On some machines this defaults correctly and on other machines it is wrong. Not sure how to set these to downconvert properly by default. Unless it automatically takes the format of the source file, in which case it's just been luck.
    Thanks,
    G

  • Since upgrading to 3.6.13, Firefox no longer saves and restores windows when I quit.

    I am running OS 10.5.8 on MacBook Firefox 3.6.13. Periodically I have a problem with Verizon e-mail in that it wont accept an address when composing. This is fixed by quitting Firefox. (This problem predates 3.6.13.) It is a nuisance to lose all windows when I quit Firefox, but that is the only way I have found to fix the e-mail problem.

    I'll try to make this clear. I USED to be able to left click on a hyper link and the hyper link would open in a NEW tab. Now for some unknown reason the hyper link by default opens in the same tab (window). I have to right click the hyper link in order for it to open in a NEW tab. (Yes, my 'tools'> 'options'> 'tabs' are set to "open new windows in a new tab." (Please no answers telling me to get rid of the Ask toolbar because I don't have one.) Thank you.

  • After internet disconnection, safari doesn't work anymore and i haveO to restore the ipad again and loose my apps, solution?

    After internet disconnection, due to bad weather, safari can't find the server anymore and i have to restore the ipad to the factory settings and loose the apps. This has happened at least 5 times in 9 months. Solutions?

    What Apple wants from his customers?
    1) I've paid my iPhone 4S 900 euros;
    2) I'm used to buy music and apps from iTunes store;
    3) my iCloud space costs 32 euros per year
    and, like me, millions of customers around the world!
    and Apple does not allow me (and many others) to use the internet traffic for which I (we) pay my (our) provider, that's not among those that directly sell iPhone??? Is this your idea of a really unblocked device as you falsely declsre from the pages of Apple online store ?!? Shame on you!
    If I had know that the 7.1 led to this I'd never updated my iPhone. No one (Apple and the sites that live because of her) told about this issue in their enthusiastic comments on the new, updated version, of iOS. Shame on you!
    This would claim a class action against such a behaviour!
    I'm disgusted
    thank you
    Giacomo - ITALY

  • Set up home sharing on iMac and iPhone. iPhone app launches fine, play library but only plays on iMac, not iPhone. Why?

    I set up Home Sharing on both my iMac and iPhone. When I launched the phone app and selected my iTunes library, the music played on iMac but not on the iPhone. That was the whole purpose of turning on Home Sharing. What am I missing?

    Anyone? This is really irritating me because it's so simple and worked just fine, but now it just won't work and I need it.

Maybe you are looking for

  • Microsoft wireless Mouse vs Razor Naga

    Hi all and sorry for presenting you with what is probably a very simply remedied problem i am experiencing.Today i purchased a Razor Naga Gaming Mouse - for that reason - gaming.  I got home and could not wait to test it out however after i had tried

  • How can I get me external HD to mount aigain?

    Here we go. First time in almost 20 years of mac-using that I end up here. But I am not at all the experienced user that goes sniffing around in the deep dark secrets of Mac-OS. But this time I need some help. By accident my external drive got unplug

  • Multiple Trigger Level Data Collection

    I'm having some difficulty with a unique data collection problem. I'm using DAQ Assistant to collect and display voltage data on a graph and in numeric indicators. I need to add functionality, so that when the user clicks a control, the incoming data

  • Installation of BI Content cube

    Hi, We are going for a fresh BI implementation. Nothing is installed as of now. When I am trying to install one of the cubes with the grouping option 'in data flow before and after' its giving error for all the infobojects saying that they are not av

  • Running Autodesk Inventor using Fusion or Parallel on Intel Mac

    I need to be able to run Autodesk Inventor and DO NOT want to purchase a PC to do it. If I use VMware Fusion or Parallel on an Intel Mac will it operate without any glitches. Our tech guy said that the keyboard shortcuts are not going to be the same,