Created
July 9, 2012 20:21
-
-
Save drteeth/3078664 to your computer and use it in GitHub Desktop.
OS X defaults.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Show remaining battery time; hide percentage | |
| defaults write com.apple.menuextra.battery ShowPercent -string "NO" | |
| defaults write com.apple.menuextra.battery ShowTime -string "YES" | |
| # Expand save panel by default | |
| defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true | |
| # Expand print panel by default | |
| defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true | |
| # Disable opening and closing window animations | |
| defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false | |
| # Increase window resize speed for Cocoa applications | |
| defaults write NSGlobalDomain NSWindowResizeTime -float 0.001 | |
| # Disable Resume system-wide | |
| defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false | |
| # Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs) | |
| defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 | |
| # Enable subpixel font rendering on non-Apple LCDs | |
| defaults write NSGlobalDomain AppleFontSmoothing -int 2 | |
| # Enable tap to click (Trackpad) for this user and for the login screen | |
| defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true | |
| defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 | |
| defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 | |
| # Require password immediately after sleep or screen saver begins | |
| defaults write com.apple.screensaver askForPassword -int 1 | |
| defaults write com.apple.screensaver askForPasswordDelay -int 0 | |
| # Show all filename extensions in Finder | |
| defaults write NSGlobalDomain AppleShowAllExtensions -bool true | |
| # Avoid creating .DS_Store files on network volumes | |
| defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true | |
| # Empty Trash securely by default | |
| defaults write com.apple.finder EmptyTrashSecurely -bool true | |
| # Enable AirDrop over Ethernet and on unsupported Macs running Lion | |
| defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true | |
| # Show the ~/Library folder | |
| chflags nohidden ~/Library | |
| # Automatically hide and show the Dock | |
| defaults write com.apple.dock autohide -bool true | |
| # Only use UTF-8 in Terminal.app | |
| defaults write com.apple.terminal StringEncodings -array 4 | |
| # Disable the Ping sidebar in iTunes | |
| defaults write com.apple.iTunes disablePingSidebar -bool true | |
| # Disable all the other Ping stuff in iTunes | |
| defaults write com.apple.iTunes disablePing -bool true | |
| # Make ⌘ + F focus the search input in iTunes | |
| defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F" | |
| # Disable send and reply animations in Mail.app | |
| defaults write com.apple.Mail DisableReplyAnimations -bool true | |
| defaults write com.apple.Mail DisableSendAnimations -bool true | |
| # Reset Launchpad | |
| [ -e ~/Library/Application\ Support/Dock/*.db ] && rm ~/Library/Application\ Support/Dock/*.db | |
| # Prevent Time Machine from prompting to use new hard drives as backup volume | |
| defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true | |
| # Disable local Time Machine backups | |
| hash tmutil &> /dev/null && sudo tmutil disablelocal | |
| # Kill affected applications | |
| for app in Finder Dock Mail Safari iTunes iCal Address\ Book SystemUIServer; do killall "$app" > /dev/null 2>&1; done | |
| echo "Done. Note that some of these changes require a logout/restart to take effect." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment