1 2 3 4 Previous Next 45 Replies Latest reply: Jan 19, 2013 5:53 PM by FastEddy760 Go to original post
  • 30. Re: Disable app auto quitting
    Lemmy Caution Level 1 Level 1 (10 points)

    Hi. The following Terminal command will disable Automatic Termination:

     

    defaults write -g NSDisableAutomaticTermination -bool yes

     

    To make sure the command takes effect, I recommend logging  out and in again afterwards.

  • 31. Re: Disable app auto quitting
    Alex Zavatone Level 1 Level 1 (0 points)

    HA HAAA!

     

    Rocking Lemmy.  You're the man!

     

    Verified in the most aggregious offender, TextEdit.

     

    WIth the disabling of scroll bouncing and this, OMG, I can actually start using Lion now without throwing an absolute fit!

  • 32. Re: Disable app auto quitting
    Paul Sch. Level 1 Level 1 (0 points)

    Genius! Thanks a lot!

  • 33. Re: Disable app auto quitting
    Király Level 6 Level 6 (9,475 points)

    How did you discover that command, Lemmy? Any tricks for discovering other commands to revert other irritating Lion behaviour?

  • 34. Re: Disable app auto quitting
    Alex Zavatone Level 1 Level 1 (0 points)

    I think I've almost got it now Király.

     

    "defaults write -g " is the first part.  Do a "man defaults" in the terminal.  -g means apply this globally.

     

    The NSDisableAutomaticTermination is an actual class method of NSProcessInfo and the variable type is a boolean, so we declare the type of variable and give it a value. Therefore, the " -bool yes".

     

    I'm looking through the dev docs and I see disableAutomaticTermination, but no NSDisableAutomaticTermination.

     

    In NSProcessInfo:

     

  • 35. Re: Disable app auto quitting
    Lemmy Caution Level 1 Level 1 (10 points)

    I basically used a trick by Lri over at StackExchange (who, I believe, was the first to find the defaults command for disabling elastic scrolling). See here:

     

    http://apple.stackexchange.com/a/50092

  • 36. Re: Disable app auto quitting
    Lemmy Caution Level 1 Level 1 (10 points)

    Hmm... just found some additional strings when running the following command:

     

    strings /System/Library/Frameworks/*.framework/Versions/*/* 2> /dev/null | grep -iE automatictermination | grep -v ' ' | sort | uniq
    

     

    Wonder what NSDisableAutomaticTerminationAfterAccessibilityRequest means...

  • 37. Re: Disable app auto quitting
    Alex Zavatone Level 1 Level 1 (0 points)

    Awesome.  I'll use this to disable the bouncy scrolling in Safari, which is the last area I need fixed before I can actually this mess we call Lion.

     

    It's great that we have you, TClement and Lri (and one more I think), because Lion iscompletely unusable to me without turning off all the darty animations, douncing scrolling, auto quitting and other useless counterproductive fluff.

     

    They even broke ascending/descending sort order in the Finder with command control 1, 2, 3.  Just insane.

     

    Ahaha.  Look Lemmy.  I've got a comment on that same page at April 28th.  Sadly, I didn't solve it though.

  • 38. Re: Disable app auto quitting
    Alex Zavatone Level 1 Level 1 (0 points)

    Ahh, that's in the docs if you search the Apple developer docs for automatic termination.  It's a little late now and my brain is failing me.

     

    https://developer.apple.com/search/index.php?q=DisableAutomaticTermination

  • 39. Re: Disable app auto quitting
    ipad01 Level 1 Level 1 (0 points)

    Thanks for the command line hacks on this issue - I will give them a try.

     

    I posted this complaint in another thread on the issue, trying to explain to some ignorant fools why this feature is a bad idea:

     

    "The main reason I hate this feature, apart from the fact I am used the need to user-quit, is efficiency.  Why, you ask?  Because I use various apps from time to time during my computer usage, and I want the apps to respond instantly (or almost) - why else have quad-core processors, 4 GB of RAM and SS drives?  When apps auto-quit (e.g. Preview), I then later double-click an image or PDF and the icon sits there bouncing 4-5 times until the file opens.  That is utter BS - when apps don't quit, they respond immediately when a user needs them.

     

    This is why the Auto-Quit feature from Apple $uck$ big-time, and why it better get removed or as a minimum have a global user-selected preferens or command-line on/off hack (like forcing the /User/Library folder to reappear - I bet the same genius that came up with that "feature" also siggested auto-quitting apps!)."

  • 40. Re: Disable app auto quitting
    tKunsch Level 1 Level 1 (10 points)

    Great!!!

     

    My problem was with Message app. This app was supposed to work in background, right?

     

    It quits as soon as I move to another app :-(

     

    Horrible behaviour.

  • 41. Re: Disable app auto quitting
    Chronology Level 1 Level 1 (0 points)

    Thank´s to Lemmy for the solution! Perfect fit for all Mac users that get so bored by this autoquit "function" - haha, indeed it is no function for me...

    I just wanted to add a few comments why it is important to have the user quit the app and not the system.

    In general it is a "how to use a computer efficient" problem.

    First of all if you work a lot with your Mac you have a lot of apps for all different kind of tasks. Most of the people don´t want to have all of them inside the dock as the icons than get smaller and smaller.

    Thinking about a few workflows or daily tasks to do you will find autoquit a no feature.

    It is a Windows like behaviour. I have to work with Windows at the office and find this totally strange and stupid.

    Although I have used Excel and Word during the day I have to reopen it to create new documents if I have closed the last window. The more apps you use the more complicated it gets. You have to search for the app to reopen it instead of just going to it by Cmd-Tab. With autoquit off work is much easier. Have TextEdit opened without a document and need a new one? Just click on it in the Dock - done. Or go to it with Apple-Tab and press Apple-n. Klicked on it by accident? No problem: Close the new window. No question like "Do you want to save?" because there is nothing to save. Compare it to the Office stuff from MS... It will ask you any time althought you haven´t done any changes to the document. Why ask when I only want to look up something in a Excel sheet or Word doc?

     

    The best thing to sort out this would be, in my point of opinion, an additional switch in applications for the autoquit function. And - no surprise - only where it makes sense.

    I.e. it is totally useless for things like Skype, FaceTime, Mail, any kind of Webbrowser and a bunch of other apps.

    What is it good for?

    SystemPrefs i.e.

     

    Hopefully Apple will think about why people like Macs and how they use them. Increasing the market share is not only a matter of marketing. It has also to do with the quality of the system, the integration in existing environments and it´s easy use and support. Why buy a Mac when it is as stupid as a Windows PC?

  • 42. Re: Disable app auto quitting
    Alex Zavatone Level 1 Level 1 (0 points)

    Um, it's a "how to use a computer efficiently" problem.  You can't "use a computer efficient".

     

    One thing that is terrible about this auto quit is in Safari.  Let's say you have a lot of windows open, you close them and then switch to another app and intend to switch back to Safari.  You can't, since Safari has been quit by the OS.  So, you launch Safari again and what happens is that when Safari relaunches, it opens all the windows you just closed and spends the time loading them again.

     

    This is Apple overthinking a problem that does not need to be solved and it creates more problems, wastes more time, and Apple does not expose an off switch for this annoying property of the OS.

     

    The fact that certain people at Apple think this is a good idea is a bad thing.  We have to uncover our own off switch for this feature that is counter to 26+ years of precedent, it creates a creates a confusing user experience and shows that in many cases, the wrong people are making important decisions at Apple and are they are making very poor ones.

  • 43. Re: Disable app auto quitting
    Chronology Level 1 Level 1 (0 points)

    Hi Alex,

    maybe my description or general statement was not that clear or missinterpreted.

    I ment that on a Mac it´s much easier to learn and use new apps. Each has it´s app menu, file menu, edit menu, the same save and print dialog. That´s what I ment with using computers efficient (or is efficiently correct?).

    If I have to find out how the hack things work for each app because all of the apps work different than it is an inefficient system for me.

    I work with Mac´s since 1994 and never bought a Win PC simply because I hate the way they work - or better not work. For me the best system is still Snow Leo what runs perfect on my MBP.

  • 44. Re: Disable app auto quitting
    Alex Zavatone Level 1 Level 1 (0 points)

    I think I misinterpreted it.

     

    For clarification (English can be a real pain), something can be efficient.  Efficient is an adjective that can apply to a noun or a thing.  A thing can be efficient or ineffecient.   Now, how you use a thing or how a thing operates ("use" and "operates" being verbs) needs an adverb.  These are just adjectives that end in ly and only aply to verbs. So, you can use a computer efficiently and the computer can operate efficiently, but by itself, the computer is either efficient or not. 

     

    Efficlent = adjective and applies to a noun or a thing

     

    Efficiently = adverb and applies to the verb that doing the action.

     

    OK.

     

    Yeah, what really ****** me off is that we have to find these hacks to be able to use the computer efficiently since Apple does not expose them through the GUI.

     

    I've been working with Macs since 1985 (like you, a long time) and I use the Mac for the same reasons you do.  Because I love(d) the way the worked and I hated the way Windows did.

     

    This is has changed with the iOS-ification of the Mac OS in Lion and Mountain Lion and it's simply terrible. so many things in the OS are simply broken.  The GUI is dumbed down and much less useful.  Apple should fire the people who OK these decisions because the soul of the Mac is lost and using the Mac certainly isn't what it used to be.