Add Spacers to 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, regardless of version, from El Capitan, Yosemite, Mavericks, Lion and prior releases.
[…] via OSX Daily […]
[…] via OSX Daily […]
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.
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.
You could reboot instead