Dockutil & Outset

tdenton
Contributor II

Hi

I have seen a number of post on here around people woes with customising docks using dockutil and the reliablitiy off it.

I have been trying to use outset https://github.com/macadmins/outset to help with getting it lauch better. I have got my dockutil script into the login once folder but nothing happens.

Has anyone doing something smiliar and shed any light where I might be going wrong.

Thanks

3 REPLIES 3

mpermann
Valued Contributor II

I think your issue may have to do with Apple's decision to limit the launchctl kickstart option on certain system services. I noticed an issue with my deployment workflow that also utilizes Dockutil. I haven't looked at the Dockutil code to verify whether it's utilizing kickstart option or not. But it's a reasonable guess that it may be. You may need to open an issue on the Dockutil GitHub page. 

mpermann
Valued Contributor II

I looked at the code, and there is a function defined in the Dock.swift module called kickstart that does use the launchctl kickstart option to restart the dock. That function will need to be changed to utilize the kill command as Apple suggests rather than the launchctl kickstart option. 

tdenton
Contributor II

does appear that its been updated in a recent release https://github.com/kcrawford/dockutil/issues/162

Will do some testing with 3.1.3