RonL

Q: Speed up your OS... turn Autosave & Versions off globally

If you're experiencing slow opening apps or windows since upgrading to Mountain Lion... as I have... and you don't want your OS to automatically save your TextEdit files, etc. then simply disable Autosave and Versions via Terminal.

 

Open Terminal and enter this command which will turn off Autosave & Versions globally:

 

defaults write -g ApplePersistence -bool no

 

Now reboot.

 

Voila!

 

I experienced a very noticeable speed increase when opening apps and even opening some previously slow opening Dock folders after doing the above.

 

If for some reason in the future you want to turn Autosave and Versions back on just change 'no' to 'yes'

 

Feel the speed!

iMac, OS X Mountain Lion, 27" iMac 32" secondary monitor

Posted on Jul 30, 2012 8:17 AM

Close

Q: Speed up your OS... turn Autosave & Versions off globally

  • All replies
  • Helpful answers

first Previous Page 5 of 5
  • by RonL,

    RonL RonL Aug 3, 2012 11:38 PM in response to Apple 1976-2011
    Level 1 (45 points)
    Aug 3, 2012 11:38 PM in response to Apple 1976-2011

    I am deeply chagrined, but it's more important that I correct my mistake than attempt to 'save face.'

     

    The developer of TinkerTool System, Marcel Bresink, whom I greatly respect... has replied to my question by stating that currrently "...disabling this feature can cause subtle problems both with program logic and program behavior. In the worst case, this can lead to serious data loss. For this reason, it is out of the question to disable the autosave-in-place function."

     

    My apoligies for posting this thread. It was done because I saw that my system performed noticeably better and others had done it with _apparently_ no major downside.

     

    It was after Kurt's posting of the missing Save As and/or Duplicate in the Preview File menu that I began having concerns and so I contacted Marcel.

     

    If he says don't do it... then I would agree... since he is a very knowledgeable developer when it comes to tweaking OS X.

  • by softwater,

    softwater softwater Aug 4, 2012 12:59 AM in response to RonL
    Level 5 (5,392 points)
    Mac OS X
    Aug 4, 2012 12:59 AM in response to RonL

    I went through a similar experience last year, Ron, when I thought I'd found a way to defeat Versions (the now well-known 'delete/lock the DocumentRevisions-V100 folder' idea, which I think I was one of the first to discover or at least post about on here), only to realise that Lion was not so easily tamed, and indeed doing so only causes OS X to recreate the folder and mark the old folder as bad if you try to lock it or change it in anyway.

     

    I think you've done us all a service by following this through. We've all learned a bit more about this - if only not to do it.

  • by Kurt Lang,

    Kurt Lang Kurt Lang Aug 4, 2012 8:11 AM in response to RonL
    Level 8 (38,049 points)
    Mac OS X
    Aug 4, 2012 8:11 AM in response to RonL

    What really stinks is that the restored Save As doesn't actually work with TextEdit, when used without the Terminal command.

     

    1) Create a new document, add any text as a test and save the file.

     

    2) Open the document again and add some text, then do a Save As to a new name and close both documents.

     

    Now, the way Save As is supposed to work, only the new document should contain the changes. But no! Autosave saves the original document with those changes, too. Even with the option on in the System Preferences to ask to save changes.

     

    I have to believe that's a bug, but you can't be sure with Apple's heel digging stance of "Like it or, well, like it.", on this function.

  • by capaho,

    capaho capaho Aug 4, 2012 8:16 AM in response to softwater
    Level 4 (3,655 points)
    Aug 4, 2012 8:16 AM in response to softwater

    softwater wrote:

     

    I suspect this command just stops apps from writing to the required folder. You're going to get a lot of error messages saying something like 'you don't have permissions to write to the folder that xxx is in' if you do that.

     

    Not recommended.

     

    The terminal command posted by the OP sets a boolean switch that disables the autosave feature.  It has nothing to do with file or folder permissions.

  • by capaho,

    capaho capaho Aug 4, 2012 8:21 AM in response to RonL
    Level 4 (3,655 points)
    Aug 4, 2012 8:21 AM in response to RonL

    RonL wrote:

     

    The developer of TinkerTool System, Marcel Bresink, whom I greatly respect... has replied to my question by stating that currrently "...disabling this feature can cause subtle problems both with program logic and program behavior. In the worst case, this can lead to serious data loss. For this reason, it is out of the question to disable the autosave-in-place function."

     

    That may also be true for other apps that were written specifically to use the autosave feature, but I would consider that a design issue with the apps in that there is no error handling to guard against the possiblity of data loss in the event that a user disables it in order to improve OS performance as you did.

  • by softwater,

    softwater softwater Aug 4, 2012 9:37 AM in response to capaho
    Level 5 (5,392 points)
    Mac OS X
    Aug 4, 2012 9:37 AM in response to capaho

    capaho wrote:

     

    The terminal command posted by the OP sets a boolean switch that disables the autosave feature.  It has nothing to do with file or folder permissions.

     

    No, it doesn't. It may be a boolean switch, but it doesn't disable Autosave. There is no such command.

     

    And you're the second person to misinterpret my earlier post.

     

    Look at the screenshot that I posted showing the error message.

  • by Kurt Lang,

    Kurt Lang Kurt Lang Aug 4, 2012 10:01 AM in response to RonL
    Level 8 (38,049 points)
    Mac OS X
    Aug 4, 2012 10:01 AM in response to RonL

    Here's a very nice alternative to Preview:

     

    http://www.macupdate.com/app/mac/19978/xee

     

    I've been testing a bunch of image viewers and I liked this one the best. By far the easiest and most intuitive to use. Of the file formats I tested, it can open .tif, .jpg, and .psd. It even opened a Nikon RAW image from a D800. CMYK, RGB or Grayscale supported. No .eps or .pdf support, but then, neither does Preview.

     

    Here's some of the others I looked at if you want to try them.

     

    http://www.macupdate.com/app/mac/10355/viewit

     

    http://www.macupdate.com/app/mac/18735/phoenix-slides/

     

    http://www.macupdate.com/app/mac/15142/ffview/

     

    http://www.macupdate.com/app/mac/15142/ffview/

     

    http://www.macupdate.com/app/mac/24966/sequential/

     

    File Viewer in the App Store.

     

    No help here to those who do use Preview to edit images, but if you want strictly a viewer with no worries that it will save a file against your wishes, one of these will do. As far as I'm concerned, Preview can, and will, go in the Trash.

  • by Gnarlodious,

    Gnarlodious Gnarlodious Aug 4, 2012 12:41 PM in response to RonL
    Level 4 (3,243 points)
    Mac OS X
    Aug 4, 2012 12:41 PM in response to RonL

    RonL:

    Congratulations, you are one of a long list who thinks they discover a cool tweak to the OS but end up opening a proverbial can of worms Now just imagine programming these blasted machines...

     

    One thing you do learn after a while is that the consumers demand a perfectly functioning OS and get pretty irate when they're disappointed. Programmers on the other hand can't possibly test all scenarios, so there are always gonna be bugs (oh the joy). But just try to explain that necessity to consumers, they don't get it.

     

    So what you have stumbled into is the classic programmer's dilemma, and welcome to it.

  • by Kurt Lang,

    Kurt Lang Kurt Lang Aug 4, 2012 2:04 PM in response to Gnarlodious
    Level 8 (38,049 points)
    Mac OS X
    Aug 4, 2012 2:04 PM in response to Gnarlodious

    So what you have stumbled into is the classic programmer's dilemma

    Except there is no dilemma, other than Apple's staunch refusal to give users the option to turn Autosave on or off in their apps. Every programmer has that choice. Look at Open Office, Graphic Converter and many others where it's a simple option choice. Adobe flat out refused to incorporate it even in CS6.

     

    Neither Lion or Mountain Lion causes any app to suddenly use Autosave/Versions. It has to be written to use those routines. The exception of course is anything from Apple you apply the latest updates to, or were written to only work that way (can you say FCP X?). But again, that's not the OS itself forcing those changes, it's Apple refusing to give you a choice.

  • by RonL,

    RonL RonL Aug 5, 2012 2:46 AM in response to Kurt Lang
    Level 1 (45 points)
    Aug 5, 2012 2:46 AM in response to Kurt Lang

    Another anomaly I noticed after disabling Autosave was that my contextual menu > "Open With" displayed duplicate and even triplicates of apps.

     

    I then rebuilt LaunchServices and they were gone... but after rebooting they began to increase in number again.

     

    Nothing I tried corrected the problem until I reactivated Autosave. Then the "Open With" list returned to normal with only one listing per app.

     

    So it appears Apple has integrated the Autosave in such a way that it's a veritable Gordian knot and effects numerous aspects of the system.

  • by Kurt Lang,

    Kurt Lang Kurt Lang Aug 5, 2012 11:34 AM in response to RonL
    Level 8 (38,049 points)
    Mac OS X
    Aug 5, 2012 11:34 AM in response to RonL

    Yes, it unfortunately creates more problems than it solves. But I've fixed my two issues; TexEdit and Preview. Both of them get deleted and replaced by an older version, and a free alternative.

first Previous Page 5 of 5