Dock Spaces On MacA guide for adding empty dock spacers on Mac OS X.

In this guide, we’re going to cover how you can add empty dock spaces on your Mac. This guide has been tested and confirmed to be working with Mac OS X Mavericks.


Getting Started

There’s 2 sides of the dock; the left, and the right. Items contained on the left side of the dock are referred to as persistent-apps where only applications can be added. Items contained on the right side of the dock are referred to as persistent-others where only files and folders can be added.


Adding New Dock Spaces

Open up the Terminal application Applications > Utilities > Terminal.

From the CLI prompt enter the following command to add a space to the left side of the dock:

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

From the CLI prompt enter the following command to add a space to the right side of the dock:

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

When using either of the commands above, you’ll have effectively added an empty dock spacer to the your Mac. Simply repeat the command to add as many spaces as you wish.

After you’ve finished adding your spaces, we need to restart the Dock application in order for them to show up. To restart the Dock application, from the CLI prompt, enter the following command:

killall Dock;

Your dock should now have spaces that look somewhat similar to this screenshot:


Removing Spaces

To remove a space that you’ve added to the Dock, MOUSE DOWN on the space you want to remove until the following menu pops up:

Then click Remove from Dock and the space will be removed.


Organizing Your Dock

Personally, I find the dock spaces extremely useful for organizing my dock. Rather than having all of my icons bunched together, I tend to segregate them in sets of 2-4 icons.

Here’s a screenshot of my desktop:

A few things to notice from that screenshot. I purposely added a dock space to the end of the left side, and beginning of the right side of the dock. I do this so that I can segregate what’s actually pinned to the Dock and what’s not. For example, if I launch a new application it will show up in the dock, but I don’t want it to be grouped with my other pinned icon set. The same goes for if I minimize a window, I don’t want it to be grouped with my pinned set of files/folders.


Looking Back

We’ve successfully added dock spaces to our Mac on both the left and rights sides.

If you had any problems with this guide, or have a suggestion, please leave a comment.

About Salvatore Garbesi