Posted on 11-18-2022 09:43 PM
HI there,
Does anyone know of a command to remove an icon from the macOS dock? We use Google Chrome as our default browser which also works without issue if you try to sign into a Google federated managed Apple ID during Apple ID / iCloud login.
Solved! Go to Solution.
Posted on 11-22-2022 12:52 AM
I've found a perfect solution that I can confirm is currently working
Posted on 11-22-2022 02:29 PM
There is also the Dock Items payload built into Jamf policies. It lets you remove dock items or add them to the beginning or the end of the dock. It's already built into jamf, so you don't need to worry about 3rd party scripts and applications.
To use the dock items payload, you need to set up some dock items first.
Go to Settings > Computer management > Dock items, and you can create dock items that can be Apps, Files, Or Folders. All you need is the file path for the item.
Posted on 11-19-2022 07:14 PM
@_aDiedericks For manipulating items in the Dock I would suggest you take a look at https://github.com/kcrawford/dockutil
Posted on 11-20-2022 05:53 AM
I've been digging into dockutil and found a few articles that have script templates for actioning what I'm looking for. Will give them a test and report back on what I see.
Posted on 11-22-2022 12:52 AM
I've found a perfect solution that I can confirm is currently working
Posted on 11-22-2022 02:29 PM
There is also the Dock Items payload built into Jamf policies. It lets you remove dock items or add them to the beginning or the end of the dock. It's already built into jamf, so you don't need to worry about 3rd party scripts and applications.
To use the dock items payload, you need to set up some dock items first.
Go to Settings > Computer management > Dock items, and you can create dock items that can be Apps, Files, Or Folders. All you need is the file path for the item.
Posted on 11-22-2022 10:01 PM
Thank you, this is a way more elegant solution to customizing the dock