Add Spacers to the Right-Side of the Dock in Mac OS X

Dec 16, 2011 - 5 Comments

Spacers on the Right Side of the Dock in Mac OS X

Just like you can add spacers between app icons in the OS X Dock (the left side), we can also add these same spacers to the right-side of the Dock, where the Applications, Documents, Downloads, and Trash icons live.

Launch the Terminal and paste the following defaults write string into the command line:

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

If you want multiple spacers added, just hit the up arrow and return to initiate the command again. Each execution of the defaults write command will create one additional spacer in the Dock.

After a spacer has been added, you can click and drag it around the Dock to fit between icons. If you want to remove it, drag it out of the Dock like any other Dock item.

As previously mentioned, if you’re wanting to put spaces in the left side of the Dock instead, use the following command:

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

Notice the two commands are different, and the spacers can not be dragged from the left side of the Dock to the right, or vice versa.

Both of these commands work with Mac OS X Lion and prior releases.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in Customize, Mac OS X, Tips & Tricks

5 Comments

» Comments RSS Feed

  1. Matt says:

    Is there a way to do this without the kill all dock command at the end. Last time I did a kill all dock, all my folders and arrangement in launchpad disappeared. Can anyone confirm if that feature “Kill all dock” doesn’t effect launchpad arrangement anymore? I’d test it again but I don’t want to have to reorganize everything again.

  2. leer0cks says:

    or just install Onyx or Deeper which is both a free softwares a few clicks, and there you go instant spaces in between dock icons either left or right.

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates