Mac OSX Tweaks


Dheepak Krishnamurthy


March 22, 2015

Update: I’ve decided to maintain a repo here instead.

General UI

# Disable Dashboard
defaults write mcx-disabled -bool true

# Don’t show Dashboard as a Space
defaults write dashboard-in-overlay -bool true

# disable automatic spell checking
defaults write -g NSAllowContinuousSpellChecking -bool false

# don't treat period or colon as part of words
# en_US_POSIX corresponds to the "United States (Computer)" setting that was shown in System Preferences in 10.8 and earlier
defaults write -g AppleTextBreakLocale en_US_POSIX

# Disable the sound effects on boot
sudo nvram SystemAudioVolume=" "


# Disks: disable Time Machine prompts
defaults write DoNotOfferNewDisksForBackup -bool true

# Disks: disable local Time Machine backups
hash tmutil &> /dev/null && sudo tmutil disablelocal

# Disks: disable disk image verification
# defaults write skip-verify -bool true
# defaults write skip-verify-locked -bool true
# defaults write skip-verify-remote -bool true

# don't save .DS_Store files on network volumes
defaults write DSDontWriteNetworkStores -bool true

# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true

# Don’t automatically rearrange Spaces based on most recent use
defaults write mru-spaces -bool false


# Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0


# Disable automatic termination of inactive apps
defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true

# Finder: disable window animations and Get Info animations
defaults write DisableAllAnimations -bool true

# Finder: show all filename extensions
defaults write NSGlobalDomain AppleShowAllExtensions -bool true

# Disable the warning when changing a file extension
defaults write FXEnableExtensionChangeWarning -bool false

# Save to disk (not to iCloud) by default
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false

# Finder: disable window and Get Info animations
defaults write DisableAllAnimations -bool true

# Finder: show the ~/Library folder (in OS X Lion)
chflags nohidden ~/Library

# Finder: empty Trash securely by default
defaults write EmptyTrashSecurely -bool true

Dock & hot corners

# Autohide the Dock
defaults write autohide -bool true

# Magnify Dock icons on hover
defaults write magnification -bool false


# Panels: expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true

# Panels: expand print panel by default
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true

# Panels: disable the “Are you sure you want to open this application?” dialog
defaults write LSQuarantine -bool false

# Panels: enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3


# Screen: save screenshots to the desktop
defaults write location -string "$HOME/Desktop"

# Screen: disable shadow in screenshots
defaults write disable-shadow -bool true


# Misc: only use UTF-8 in
defaults write StringEncodings -array 4

# Misc: disable Dictionary results
defaults write DictionaryLookupEnabled -bool false

# Misc: disable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false



BibTeX citation:
  author = {Krishnamurthy, Dheepak},
  title = {Mac {OSX} {Tweaks}},
  date = {2015-03-22},
  url = {},
  langid = {en}
For attribution, please cite this work as:
D. Krishnamurthy, “Mac OSX Tweaks,” Mar. 22, 2015.