Terminal Tip to Anchor Dock
Tip: Pin Your OS X Dock to the Corner
A friend asked me the other day if it was possible to pin the Dock to the corner of the screen without using an app or a hack. It’s actually very simple. In Terminal, use the following:
defaults write com.apple.dock pinning -string startWhere “start” is which side you want the Dock to align with. The values are “start” “end” or “middle”. After you run that command, you need to restart your dock:
killall DockIf you want to return your Dock to its normal position, just use the
defaultscommand with “middle” as the string option. This works with the Dock on the bottom or sides of the screen.