Posted on 08-07-2013 11:52 AM
Want to customize the dock for new users on a freshly imaged machine. I've tried creating the .dmg file in composer and loading that with a policy but no luck. Wonder if just replacing the .plist file is the better route but need some direction on that. Can anyone help or suggest a better method?
Posted on 08-07-2013 12:22 PM
We usually blast the *.plist and use dockutil to set up a new one. To be honest, not sure how well this works with 10.8, but we used this with great success on 10.6/7.
http://code.google.com/p/dockutil/
Posted on 08-07-2013 12:30 PM
Hmm been seeing dockutil listed a lot on here, I'll check it out but we are using 10.8. Thought I saw a few posts that said dockutil is buggy with 10.8
Posted on 08-07-2013 01:24 PM
I think you may have seen that from a post I started a while back, I believe it's been updated since then and works better with 10.8, however I have yet to test it. :)
Posted on 08-08-2013 06:45 PM
Problem solved, just copied a new default dock.plist into the User Template, package it up and upload to casper admin as part of my imaging config
Posted on 08-09-2013 06:10 AM
I package the default user profile (this was one of my big steps toward vanilla base images). That's fine for setting the Dock before a user logs in, but that's not appropriate for adding an item to the dock later. You CAN do this with a defaults write command, you just have to include the entire XML dict for the new dock item, flattened out (no CR's/LF's/tabs, etc).