Skip to content

Instantly share code, notes, and snippets.

@ActionScripted
Created December 4, 2013 13:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ActionScripted/7787397 to your computer and use it in GitHub Desktop.
Save ActionScripted/7787397 to your computer and use it in GitHub Desktop.
How to inspect, disable and revert manual overrides for App Nap in Mavericks
# to find registered app domains:
defaults domains
# to check current setting or test if key exists
defaults read com.apple.Terminal NSAppSleepDisabled
# to disable app nap
defaults write com.apple.Terminal NSAppSleepDisabled -bool YES
# to flip the boolean (turn App Nap back on)
defaults write com.apple.Terminal NSAppSleepDisabled -bool NO
# to delete the app nap entry (turn App Nap back on)
defaults delete com.apple.Terminal NSAppSleepDisabled
@ActionScripted
Copy link
Author

I think you need to relaunch apps once you've changed things. And you can see the change in Activity Monitor under the Energy tab by sending an app to the back or changing spaces. Check it prior and see if "App Nap" says "Yes" for an app, then change the settings and check again to see the change ("No").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment