osx-defaults.org 1.83 KB

OSX Sensible Defaults

This file is strictly for setting up my OSX environment the way I like it, but it’s documented to the point that you can cherry pick what you’d like!

Preflight

There are a few things we need to do that we’ll use later, such as creating a directory for screenshots

mkdir -p ~/Documents/screenshots

OSX Defaults

Screenshots

I hate for my desktop to be cluttered by screenshots (I take a lot of them), so I want to put them in ~/Documents/screenshots:

defaults write com.apple.screencapture location ~/Documents/screenshots;

I’m not a fan of the shadow around screenshots, so I like to disable it:

defaults write com.apple.screencapture disable-shadow -bool TRUE;

change the screenshot type to png:

defaults write com.apple.screencapture type png

Desktop

I like for my desktop to always look clean, even if I happened to accidentally put junk on it:

defaults write com.apple.finder CreateDesktop false

Finder

Show the status bar at the bottom of the Finder window

defaults write com.apple.finder ShowStatusBar -bool true

Enable tap to click on the trackpad for both current user and for the login screen

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

Autohide the Dock

defaults write com.apple.dock autohide -bool true

Kill all the OSX services that run this stuff so we can have it all take effect:

killall SystemUIServer
killall Finder