Skip to content

Instantly share code, notes, and snippets.

Last active December 14, 2021 19:45
Show Gist options
  • Save beardcoder/d509fa70c96505925f0d9f894d5765bd to your computer and use it in GitHub Desktop.
Save beardcoder/d509fa70c96505925f0d9f894d5765bd to your computer and use it in GitHub Desktop.
Mac Install
# Screenshots
mkdir ~/Pictures/Screenshots/
defaults write location ~/Pictures/Screenshots/
# Disable cloude Save
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
#Use current directory as default search scope in Finder
defaults write FXDefaultSearchScope -string "SCcf"
#Enable Safari’s debug menu
defaults write IncludeInternalDebugMenu -bool true
#Do not create .DS_Store files on network volumes
defaults write DSDontWriteNetworkStores -bool true
# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
# Disable the “Are you sure you want to open this application?” dialog
defaults write LSQuarantine -bool false
# Enable subpixel font rendering on non-Apple LCDs
defaults write NSGlobalDomain AppleFontSmoothing -int 2
# Disable disk image verification
defaults write skip-verify -bool true
defaults write skip-verify-locked -bool true
defaults write skip-verify-remote -bool true
# Disable the warning before emptying the Trash
defaults write WarnOnEmptyTrash -bool false
# Empty Trash securely by default
defaults write EmptyTrashSecurely -bool true
# Hot corners
# Top left screen corner → Mission Control
defaults write wvous-tl-corner -int 2
defaults write wvous-tl-modifier -int 0
# Top right screen corner → Desktop
defaults write wvous-tr-corner -int 4
defaults write wvous-tr-modifier -int 0
# Bottom left screen corner → Start screen saver
defaults write wvous-bl-corner -int 5
defaults write wvous-bl-modifier -int 0
# Add a spacer to the left side of the Dock (where the applications are)
#defaults write persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
# Add a spacer to the right side of the Dock (where the Trash is)
#defaults write persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'
# Remove useless icons from Safari’s bookmarks bar
defaults write ProxiesInBookmarksBar "()"
# Make all animations faster that are used by Mission Control.
defaults write expose-animation-duration -float 0.1
Disable the standard delay in rendering a Web page.
defaults write WebKitInitialTimedLayoutDelay 0.25
# The keyboard react faster to keystrokes (not equally useful for everyone
defaults write -g InitialKeyRepeat -int 20
defaults write -g KeyRepeat -int 2
# Enable all settings
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