Skip to content

Instantly share code, notes, and snippets.

@elfacht
Last active January 5, 2022 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elfacht/bd495e1441e9f1507b16add8acfd5a28 to your computer and use it in GitHub Desktop.
Save elfacht/bd495e1441e9f1507b16add8acfd5a28 to your computer and use it in GitHub Desktop.
macOS Settings
# Show system info on startup
sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName
# Change screen shots file type
defaults write com.apple.screencapture type jpg && killall SystemUIServer
# Change screen shot default file name
defaults write com.apple.screencapture name "Screen shot" && killall SystemUIServer
# Change screen shots location
defaults write com.apple.screencapture location ~/Pictures/Screenshots
# Always show library folder
chflags nohidden ~/Library/
# Enable text selection in Quicklook
defaults write com.apple.finder QLEnableTextSelection -boolean YES; killall Finder
# Add separators in Dock
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'; killall Dock
# Hide desktop icons
defaults write com.apple.finder CreateDesktop -bool false && killall Finder
# Always show hidden files in Finder
defaults write com.apple.finder AppleShowAllFiles -bool YES && killall Finder
# Remove DOCK auto hide delay
defaults write com.apple.Dock autohide-delay -float 0 && killall Dock
# Stop full names copying from email addresses
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
# Make hidden app icons translucent in Dock
defaults write com.apple.Dock showhidden -bool YES && killall Dock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment