Saturday, November 26, 2011

Lion defaults tweaks

Many tweaks exist through the Terminal command defaults. Some of those specific to Mac OS X 10.7 have been included in Lion Tweaks, a standalone app. Also, there is a wonderful prefpane called Secrets, but while many of the tweaks available there still work on Lion, it has not yet been updated with new "secrets", so listed below are some of the tweaks I've found:

Disable resume for most Apple applications (replace appName with desired program, i.e. QuickTime, Preview, TextEdit...):
defaults write com.apple.appName NSQuitAlwaysKeepsWindows -bool false
Disable new window animation:
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
Disable Mail reply animation:
defaults write com.apple.Mail DisableReplyAnimations -bool true
Disable Mail send animation:
defaults write com.apple.Mail DisableSendAnimations -bool true
Disable character picker:
defaults write -g ApplePressAndHoldEnabled -bool false
Use Snow Leopard-style Save dialog shortcuts (i.e. Cmd-D selects "Don't Save"):
defaults write NSGlobalDomain NSSavePanelStandardDesktopShortcutOnly -bool true
Disable iOS-style spelling corrections:
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
Show system info at login screen:
defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName

3 comments:

Samuel Bradshaw said...

Does disabling "resume" work with non-Apple apps (such as Microsoft Word, for example)? I know you can also hold shift while opening an app to disable it temporarily...
Also, do you know of a way to have an app not open a new document when no documents are open (for example, when you click on TextEdit in the dock it creates a new document when nothing is open)? This is especially annoying for programs that use a lot of memory...

Araignée said...

I'm not sure on either of those. Any program that uses a lot of memory shouldn't be affected by a blank window, though...if it does, there's a bigger problem.

Samuel Bradshaw said...

Mainly Microsoft Office :)

Post a Comment