Created
March 15, 2017 16:20
-
-
Save mladenp/a767d14722d8ab847657097c4a287500 to your computer and use it in GitHub Desktop.
MacOS Sierra Tweaks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Speed Up Mission Control Animations in MacOS Sierra: | |
defaults write com.apple.dock expose-animation-duration -float 0.1 | |
// and restart Dock with "killall Dock" | |
// Go back to default speed: | |
defaults delete com.apple.dock expose-animation-duration; killall Dock | |
Set Key Repeat: | |
defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms) | |
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms) | |
// login/logoff is neded | |
// Suggested: repeat rates to 40 ms, initial repeat rates to 150 ms | |
Always show scrollbar: | |
defaults write NSGlobalDomain AppleShowScrollBars -string "Always" | |
Save to disk by default (not iCloud): | |
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false | |
Auto restart if system freezes: | |
sudo systemsetup -setrestartfreeze on | |
Never go into sleep: | |
sudo systemsetup -setcomputersleep Off > /dev/null | |
Disable press-and-hold for keys in favor of key repeat: | |
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false | |
Enable AirDrop over Ethernet and on unsupported Macs running Lion: | |
defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true | |
Don’t automatically rearrange Spaces based on most recent use: | |
defaults write com.apple.dock mru-spaces -bool false | |
Enable tap to click for this user and for the login screen for Trackpad: | |
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true | |
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 | |
defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 | |
Show icons for hard drives, servers, and removable media on the desktop: | |
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true | |
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true | |
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true | |
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true | |
Automatically open a new Finder window when a volume is mounted: | |
defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true | |
defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true | |
defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true | |
Show item info near icons on the desktop and in other icon views: | |
/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist | |
/usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist | |
/usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist | |
Remove Dropbox’s green checkmark icons in Finder: | |
file=/Applications/Dropbox.app/Contents/Resources/emblem-dropbox-uptodate.icns | |
[ -e "${file}" ] && mv -f "${file}" "${file}.bak" | |
# Wipe all (default) app icons from the Dock | |
# This is only really useful when setting up a new Mac, or if you don’t use | |
# the Dock to launch apps. | |
# defaults write com.apple.dock persistent-apps -array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment