You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mac Dock separator

How do I add more separator to the dock? I have one between the trash bin and the rest, but maybe to add one or two more, where can I do that?

MacBook Pro 13″, macOS 13.1

Posted on Oct 30, 2022 4:19 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 30, 2022 10:13 PM

To add a space on the left side of the dock, open terminal and copy:


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


For the right side of the dock, the command would be:


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



Repeat that for as many spaces as you want to appear. Each time will give you one space. If you want to add two spaces on the left and one on the right for instance:


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


Enter


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


Enter


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


Enter



None of this takes effect until you restart the dock. To do this, while still in terminal, enter


killall Dock


Hit Enter.


That's it. If you want to turn it into a little app to make it easier just use automator. Here's an example.

1 reply
Question marked as Top-ranking reply

Oct 30, 2022 10:13 PM in response to istván32

To add a space on the left side of the dock, open terminal and copy:


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


For the right side of the dock, the command would be:


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



Repeat that for as many spaces as you want to appear. Each time will give you one space. If you want to add two spaces on the left and one on the right for instance:


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


Enter


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


Enter


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


Enter



None of this takes effect until you restart the dock. To do this, while still in terminal, enter


killall Dock


Hit Enter.


That's it. If you want to turn it into a little app to make it easier just use automator. Here's an example.

Mac Dock separator

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.