Add Spacer to OSX Dock

2010 February 2
tags: , , ,
by Paul Hargrave

If you haven’t guessed already, I’m really into computers. I love having the latest, greatest product, but I LOVE my MacBook Pro (BTW, I will NEVER own an iPad). Not only is Snow Leopard infinitely better than Windows, but the hardware is incredible, too.

One thing I’ve noticed, however, is that the OSX dock doesn’t give you an option to add a spacer to organize your program. After scouring the internet (and not willing to install another program [though this is as simple as dragging it into the Applications folder]), I found a snippet of code that will allow you to do just what I wanted.

Step 1: Fire up Terminal.
Step 2: Paste the following code and press [ENTER].

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

Step 3: Run a killall Dock" to restart the dock.

Now you should see a space at the end of the last permanently visible program. You can drag this to whatever space in the dock you would like. To add more spacers, just repeat steps 2 and 3! You can see an example of my dock on the left side of the screen. I have my dock permanently visible on the left, expanded to full height (which automatically adjusts as new programs are run), and with a transparent background.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • PDF
  • StumbleUpon
  • Tumblr
  • Twitter
  • Add to favorites
  • email
  • Print
2 Responses leave one →
  1. 2010 February 2

    I will NEVER own an iPad. Many a man has eaten their own words. The Impossible is much more likely then you think.

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS