Add Spacers to the Leopard Dock

Posted in Dock, Mac OSX, Terminal Tricks |

If you find your Leopard dock a little messy, Here’s a tip that’ll allow you to add spacers to the dock to seperate your apps/documents into groups on the dock.If you’d like a space on the left or application side of the dock, Open terminal (~/applications/utlities/terminal.app) and enter the following command:

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

If you’d like to add one to the right or document side of the dock enter this command:

defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'

To see your changes you’ll also need to restart the dock by entering the command:

Killall Dock

Afteryou’ve done this once, you can drag the spacers where ever you’d like and even create more by simple entering the same commands into terminal over again.To remove the space, simply click and drag the space out of the dock like you would any other application or document and ” poof ” it’s gone.

spaceoutthedock.jpg 

Apparently

wordpress was playing a few games on me in this post .. It should be fixed now, Sorry for the confusion folks.


2 Responses to “Add Spacers to the Leopard Dock”

  1. RightOn Says:

    What do you do if you get this error?

    defaults[89047:10b] Could not parse: ‘{tile-data={}. Try single-quoting it.
    -bash: tile-type=”spacer-tile”: command not found
    -bash: }’: command not found

    Do you need XTools installed?

  2. RightOn Says:

    Actually it appears that the error I was getting from your tip was caused by copying and pasting your text. You have smart quotations in there. When I pasted the EXACT SAME text from macosxhints.com it worked. When I compared the two yours were “curly” quotes and theirs were the “straight” kind.

Leave A Comment on This OSX leopard Hint

You must be logged in to post a comment.


« Using Tabs in OS X Terminal Spotlight as a Calculator »


 



Apple Store Online