Asinine Monkey

The ramblings of a systems administrator

Add spacers to the Leopard Dock

The dock in Mac OS X Leopard is generally functional but once populated with a lot of applications can become quite cluttered.

One way of solving this is by using an undocumented method of adding a spacer to the dock. To do this fire up Terminal and enter the following two lines:

$ defaults write com.apple.dock persistent-apps -array-add '{"tile-type" = "spacer-tile";}'
$ killall Dock

You can then drag the spacer to its desired location. To add more spacers just repeat the above commands as many times as necessary.