BrT

Musings about technology and other neat stuff

BrT random header image

Real separators for the Mac OS X Leopard dock (howto)

November 21st, 2007 · Comments

Dock separator

In examining the strings inside the Dock binary in Leopard, I found a way to add real separators to the dock, instead of adding dummy applications with empty or decorative icons, as commonly done.

This works only in Leopard (OSX 10.5):

  1. Run the following commands from the Terminal:
    defaults write com.apple.dock persistent-apps -array-add '{ "tile-type" = "spacer-tile"; }'
    killall Dock
    

  2. Once the dock restarts, you should see a blank space after the last application that is permanently in the Dock (before the icons for applications that are currently running but not always in the Dock).
  3. You can now drag the empty spaces to where you want them, or right-click on them and select
    “Remove from Dock” if you no longer need them.

Note: you can run the “defaults” command several times in sequence before the “killall” command, to add multiple separators in one go and then just rearrange them as needed.

Tags: ·