Skip to content

Instantly share code, notes, and snippets.

@koenbok
Last active April 23, 2022 22:37
Show Gist options
  • Save koenbok/60aaf06ae0428603896ea0d872dcdf16 to your computer and use it in GitHub Desktop.
Save koenbok/60aaf06ae0428603896ea0d872dcdf16 to your computer and use it in GitHub Desktop.
My Favorite Mac Tweaks

Skip verifying disk images

defaults write com.apple.frameworks.diskimages skip-verify true

Always hide the Desktop

defaults write com.apple.finder CreateDesktop false; killall Finder

Make terminal logins fast

touch ~/.hushlogin

Disable most animations

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

defaults write -g QLPanelAnimationDuration -float 0

defaults write NSGlobalDomain NSWindowResizeTime -float 0.001

defaults write com.apple.finder DisableAllAnimations -bool true

Increase the key repeat rate

defaults write NSGlobalDomain KeyRepeat -int 1

Disable save to iCloud by default

defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false

@mrenty
Copy link

mrenty commented Dec 17, 2016

Prevent your MacBook from booting after opening the lid

sudo nvram AutoBoot=%00

To restore it to factory setting

sudo nvram AutoBoot=%03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment