Posted on 11-26-2018 04:51 AM
I am trying to do a simple task by adding a shortcut by using dockutil
I have the following script
#!/bin/sh
sudo dockutil --add /Applications/random.APP --position beginning
But everytime dockutil set the shortcut at the end of the right side in the doc close to where the trashcan is - also no matter what other positions I try. Is there any trick to get this placed in the middle alongside the existing icons ?
Posted on 11-26-2018 07:04 AM
This works fine for me.
dockutil --add "/Applications/Google Chrome.app/" --position beginning