Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Possible to specify things in Users' Home Directories in a Template dock.plist?

Possible to specify things in Users' Home Directories in a Template dock.plist?
Thread Tools
Professional Poster
Join Date: May 2000
Location: Urbandale, IA
Status: Offline
Reply With Quote
Jul 24, 2003, 10:55 PM
 
I'm setting up a Dock plist file for distribution to the home directories of some 3000 users. I need to put things on the right-hand side of the Dock that are in their Home Directories.

We're using Workgroup Manager and managed prefs, but unfortunately there's no way to do that with that app, so I've had to resort to hacking the com.apple.dock.plist file.

Even this, though, has been less-than-successful. Does anyone know of a way to reference things in "~" in the Dock and have them work for more than one user, so I can just distribute one pref file and have everything be happy?

Thanks!
"Yields a falsehood when preceded by its quotation" yields a falsehood when preceded by its quotation.
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Jul 24, 2003, 11:07 PM
 
It's not much help now, but Panther Server solves that problem.
Vandelay Industries
     
Oneota  (op)
Professional Poster
Join Date: May 2000
Location: Urbandale, IA
Status: Offline
Reply With Quote
Jul 25, 2003, 06:16 AM
 
Originally posted by Art Vandelay:
It's not much help now, but Panther Server solves that problem.
So I'm hearing from our Apple Reps. And indeed, it ain't much help now.

Any ideas, though?
"Yields a falsehood when preceded by its quotation" yields a falsehood when preceded by its quotation.
     
Professional Poster
Join Date: Jul 2001
Location: New York, NY
Status: Offline
Reply With Quote
Jul 25, 2003, 09:34 AM
 
not to state the obvious, but have you tried just using "~"?

just a stab...
cpac
     
Oneota  (op)
Professional Poster
Join Date: May 2000
Location: Urbandale, IA
Status: Offline
Reply With Quote
Jul 25, 2003, 10:05 AM
 
Originally posted by cpac:
not to state the obvious, but have you tried just using "~"?

just a stab...
Yup; the problem isn't the URL portion, it's that strange Alias data that's above the URL in the .plist file. That stuff seems to be messing things up.

If I specify ~/Documents as the URL (changing my template .plist from /Users/<whatever>/Documents to ~/Documents), leaving the Alias data alone, I get a question mark in the Dock when I distribute that .plist file out to the home directories. If I just delete the alias data altogether, the Dock thinks its pref file is corrupt and regenerates a fresh one.
"Yields a falsehood when preceded by its quotation" yields a falsehood when preceded by its quotation.
     
Dedicated MacNNer
Join Date: Jan 2001
Status: Offline
Reply With Quote
Jul 25, 2003, 01:56 PM
 
enable root, log in via the GUI as root, then go to /System/Library/User Template/English.lproj

you'll see a home directory in english (you can go to other languages too, of course). i believe you can then mess around with those folders (including the dock .plist in the Preferences folder) then create a new user.
     
Oneota  (op)
Professional Poster
Join Date: May 2000
Location: Urbandale, IA
Status: Offline
Reply With Quote
Jul 25, 2003, 07:26 PM
 
We're actually using Network users, and Home directories have already been generated.

In truth, I'd be facing the same problem even if I were modifying the user template (I've done it before, for another OS X master under different circumstances).

The Dock is a very inflexible beast when it comes to specifying things within Home Directories -- quite the pain in the butt.
"Yields a falsehood when preceded by its quotation" yields a falsehood when preceded by its quotation.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:23 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2