Mac ventura: add spaces between icons (short)
You can add space between the icons on your Mac’s Dock by following these step
- Launch the Terminal app on your Mac.
- Type in the following command and press the return/enter key:
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
- Finally, you need to refresh the Dock for new changes to show up. To do that, type in the following command and press the return key:
killall Dock
Your Dock will disappear momentarily, and when it comes back, you’ll see an empty blank space on the Dock. You can then drag this empty space to the desired location.
To remove a blank space, simply right-click on the space and click Remove from Dock. You can also drag the space away from the Dock up to the Desktop to remove it.
Please note that these steps involve using the Terminal, which is a powerful tool. Be sure to enter the commands exactly as shown. Misuse of the Terminal can cause issues with your Mac. If you’re not comfortable using the Terminal, you might want to consider other ways to organize your Dock.
Source: Ms copilot