Error-freeIT / Dock-Master

An Extensive OS X Dock Profile/Package Tool
http://errorfreeit.com.au/blog/2015/4/28/dock-master
Apache License 2.0
90 stars 8 forks source link

Initial User Works Great: New user has my dock + Apple dock icons #6

Closed dannyhanes closed 7 years ago

dannyhanes commented 7 years ago

When I create and deploy a package, the dock is configured perfectly for the currently signed in user.

However when I create a new user and log in, I get the dock I configured along with other Apple dock icons. Is there anyway to prevent this? Did I miss a step?

Error-freeIT commented 7 years ago

The additional Apple apps (Maps, Photos, iBooks) are likely due to "add-app" and "add-doc" sections in "/System/Library/CoreServices/Dock.app/Contents/Resources/com.apple.dockfixup.plist". Before the introduction of System Integrity Protection (SIP) in 10.11, Dock Master packages would remove those entries, unfortunately this is no longer an option. Either use a profile (no removable dock items) or run the Dock Master package after the user has logged in.

dannyhanes commented 7 years ago

@Error-freeIT Do you happen to have a pro-tip for running the pkg after the user logs in?

Error-freeIT commented 7 years ago

Outset should do the job.

dannyhanes commented 7 years ago

@Error-freeIT That is a fantastic tip. I had heard of Outset, but never found a need to look into it... until now. Thanks for the quick replies!