Quick Tip: Pin your OS X Dock to the bottom right

In this author’s humble opinion, the best place for the OS X Dock is on the right-side of the screen and pinned to the bottom (instead of floating in the middle).

A Dock pinned to the bottom

It’s a pretty simple trick — you can move the Dock around all you want with a single line of code in the Terminal and a reboot of the dock.

To start, if your Dock isn’t already on the right (or left) side of your Desktop, you can easily move it by Control+Clicking on that little dividing line, and choosing your preferred position on the screen.

Chose your preferred position on the screen

Then, to pin your dock to the bottom, just type this into the Terminal app:

defaults write com.apple.dock pinning -string end

Or if you’d rather pin the dock to the top or back to the center, simply replace the last word of that line (end) with either start or middle respectively.

After typing this, you’ll need to reboot your Dock. Do this by restarting your computer, force quitting the Dock from Activity Montior, or typing this into the terminal:

killall Dock

If fiddling in the Terminal freaks you out, there is the more-than-capable app, Cocktail, that lets you adjust all sorts of settings for your Mac, not just where to pin the Dock.