How can I customize the Guest user Dock in Yosemite?
Here are a few approaches I've tried but haven't been able to complete:
- In past versions of OS X, you could customize the Guest user Dock by putting a plist with your desired configuration at
/System/Library/User\ Template/English.lproj/Preferences/com.apple.Dock.plist. In Yosemite, it seems this plist is overwritten by the user creation script.
- I've created a Profile Manager configuration profile with my desired Dock layout, but I can't figure out how to add the profile to the Guest user. (Logging in as Guest and enrolling doesn't seem like it would work because the configuration would be erased at logout, and even when I try it, I get the error that the user isn't allowed to add or remove configuration profiles.)
- I've tried modifying my Guest account, then copying the entire home directory to
/System/Library/User\ Template/English.lproj/. This does modify the Dock, but it also results in Keychain permission problems. It also feels like a very heavy-handed solution to modify one configuration.
- I'm currently exploring creating a script that will remove all the Dock icons and add the ones I want when the user logs in. This doesn't feel like a great solution, since it has to run on every log in. I'm struggling right now with how to set the configuration to get the script to run on login.
If anybody else has any ideas, especially if you know or have an idea about how to keep the user creation script from overwriting the Dock plist, I'd be very grateful.