This page documents the configuration of Mac OS X 10.9 (Mavericks) on various Macs - particularly MacBook Pro with Retina Display and 27" iMac. We've still got a few places that apply to Mac OS X 10.8 (Mountain Lion) as we move over to Mavericks.
NOTE: Enabling "tap and a half" for dragging is under Accessibility.
\033[5~
to applications\033[6~
to applications\033[H
to applications\033[F
to applications
We'll install the dockutil
tool, so we can add and remove dock items from the command line.
curl -k -O https://raw.github.com/kcrawford/dockutil/master/scripts/dockutil sudo mkdir -p /usr/local/bin sudo cp dockutil /usr/local/bin/ sudo chmod +x /usr/local/bin/dockutil
Now we can easily remove items that we don't want in the dock:
dockutil --remove Launchpad dockutil --remove 'Mission Control' dockutil --remove Mail dockutil --remove Contacts dockutil --remove Reminders dockutil --remove Notes dockutil --remove Maps dockutil --remove Messages dockutil --remove FaceTime dockutil --remove 'Photo Booth' dockutil --remove iPhoto dockutil --remove iBooks dockutil --remove 'System Preferences'
We'll add a couple built-in items to the dock:
dockutil --add '/Applications/Utilities/Terminal.app' dockutil --add '/Applications/Utilities/Activity Monitor.app'
We'll add the following items to the dock when we install them:
Start daemon to populate the locate
database, so we can use the locate
command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
The Computer Name is set in the Sharing Preferences pane, but this doesn't affect what the hostname
command returns. To remedy this, issue the following command:
sudo scutil --set HostName hope
We'd like to create some more "standard" directories in our home directory.
cd ~ mkdir -p Work Work/Projects Work/Training Personal
For some reason, after reformatting and reinstalling Mac OS X Mountain Lion, my home directory ended up with 040777 permissions. Bundler and some other programs complained about this being world writable, and it truly is a security issue. So we manually removed the write permissions:
chmod go-w $HOME