com.apple.sidebar.plist and User Template:

Jump to First Reply
Posted:
in Genius Bar edited January 2014
I'm building a default user image to use for new Mac deployments using NetBoot and NetRestore. I have my "perfect image" done. It is sweet. Customized printer settings, apps, preferences and desktop pictures. I worked hard on this!



I have one small, but annoying problem:



I want all new user accounts to have a specific config for their com.apple.sidebar.plist. Basically, I want to REMOVE the "Network" and "Movies" links/icons in their sidebar.



When I create the plist in my default prototype user and copy it to /System/Library/User Template/English.lproj/Library/Preferences, I get the proper links as I expect with 1 hitch: Since the original plist came from another (prototype) user account, the "Home" icon is broken (red x). The Home link is trying to path back to the original user's Home and not the newly created user, who doesn't have permissions to see their Home.



How can I customize a sidebar.plist and push it out from the User Template account without killing the "Home" link?



(BTW: This is similar to the UNIX "/skel" directory behavior I think)

Comments

  • Reply 1 of 1
    Some seriously funky bash scripting?



    for i in `ls /Users/`; do echo $i cat some_plist_template.txt; done



    as a really crude, crappy example?



    Post an example plist that works.
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.