Last active
October 17, 2018 19:42
-
-
Save phaberest/871945c77b7b73f6c05bfeff2129cd29 to your computer and use it in GitHub Desktop.
Mac defaults hacks
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
# Reduce dock show/hide time | |
defaults write com.apple.dock autohide-delay -int 0 | |
defaults write com.apple.dock autohide-time-modifier -float 0.4 | |
killall Dock | |
# Set a blazingly fast keyboard repeat rate | |
defaults write NSGlobalDomain KeyRepeat -int 2 | |
defaults write NSGlobalDomain InitialKeyRepeat -int 10 | |
# Screeshots in jpg | |
defaults write com.apple.screencapture type -string "jpg" | |
# Disable shadows | |
defaults write com.apple.screencapture disable-shadow -bool true | |
# Expand save and print panels by default | |
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true | |
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true | |
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true | |
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint2 -bool true | |
# Font submixel smooth on all LCD | |
defaults write NSGlobalDomain AppleFontSmoothing -int 1 | |
# Safari Privacy: don’t send search queries to Apple | |
defaults write com.apple.Safari UniversalSearchEnabled -bool false | |
defaults write com.apple.Safari SuppressSearchSuggestions -bool true | |
# Set Safari’s home page to `about:blank` for faster loading | |
defaults write com.apple.Safari HomePage -string "about:blank" | |
# Enable “Do Not Track” | |
defaults write com.apple.Safari SendDoNotTrackHTTPHeader -bool true | |
# Update extensions automatically | |
defaults write com.apple.Safari InstallExtensionUpdatesAutomatically -bool true | |
############################################################################### | |
# Time Machine # | |
############################################################################### | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment