Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

@bomberstudios
Copy link

bomberstudios commented Dec 14, 2016

Stop Finder from writing .DS_Store files on network volumes

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

Disable character substitution for dashes (i.e: -- replaced by —) even when character substitution is enabled

defaults write -g NSAutomaticDashSubstitutionEnabled 0

Disable the horrible character chooser popup, and get proper key repeat

defaults write -g ApplePressAndHoldEnabled -bool false

Show user Library

chflags nohidden ~/Library

Make Help use a regular window

defaults write com.apple.helpviewer DevMode -bool true

Disable Dashboard

defaults write com.apple.dashboard mcx-disabled -bool true

@thisisniels
Copy link

thisisniels commented Dec 14, 2016

Set an Ultra-Fast Dock Hide & Display Animation

defaults write com.apple.dock autohide-time-modifier -float 0.12;killall Dock

@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