Skip to content

Instantly share code, notes, and snippets.

@carlcalderon
Last active March 27, 2021 14:15
Show Gist options
  • Save carlcalderon/22601fe40946f660e473874a39ef4930 to your computer and use it in GitHub Desktop.
Save carlcalderon/22601fe40946f660e473874a39ef4930 to your computer and use it in GitHub Desktop.
# Disable press and hold (i.e. Enables key repetition)
defaults write -g ApplePressAndHoldEnabled -bool false
# Disable mouse scaling (i.e. Removes mouse acceleration)
defaults write .GlobalPreferences com.apple.mouse.scaling -1
# Disable creation of metadata (no more .DS_Store)
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
# Disable "Downloaded from the Internet" dialog
defaults write com.apple.LaunchServices LSQuarantine -bool NO
# Disable Spotlight indexing
sudo mdutil -a -i off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment