Hidden settings with defaults
Customise Finder, Dock and screenshots.
- Show hidden files in Finder (or ⌘ + Shift + . on the fly):
defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder
- Auto-hide the Dock:
defaults write com.apple.dock autohide -bool true && killall Dock
- Save screenshots as JPG instead of PNG:
defaults write com.apple.screencapture type jpg
- Speed up key repeat:
defaults write NSGlobalDomain KeyRepeat -int 2
- Undo a setting by deleting it:
defaults delete com.apple.dock autohide && killall Dock