6 Replies Latest reply: Jul 18, 2006 5:27 AM by Steve Herman1
Tim Semic Level 1 Level 1 (130 points)
Howdy,
can anyone tell me the path/name of the file that provides the default dock that is created the first time a new user is logged in?

I assumed a .plist in the User Templates folder but no luck so far on finding it.

Thanks in advance for any help.

Tim

G5, Mac OS X (10.4.7)
  • ali brown Level 7 Level 7 (26,465 points)
    Hi Tim!

    I can't tell you were the actual Default Dock is, but if you just want your present Dock, to revert to the Default, navigate to:

    HD > Users > Your Account > Library > Preferences.

    Pull com.apple.dock.plist out to the Desktop.

    A new Default Dock will be created.
    You may need to restart, for the change to take affect.

    You can either trash the old .plist file, or keep it, if you want to reinstate your customized Dock.

    ali b
  • LittleSaint Level 4 Level 4 (2,900 points)
    Create a default dock using your account and copy ~/Library/Preferences/com.apple.dock.plist to /System/Library/User\ Template/English.lproj/Library/Preferences/com.apple.dock.plist.

    You'll need to have root privileges to do this.

    Make sure ownership and permissions are set correctly.

    Also, this assumes an English language setup.

    PowerBook G4 Mac OS X (10.4.7)
  • Tim Semic Level 1 Level 1 (130 points)
    The pathway LittleSaint suggests works for local users only. I was trying to get this to work for network users (ldap). This may work for AD as well. I found the answer, see below...

    In order to provide a custom dock for first time ldap logins replace the default.plist file in the pathway I list below with one you build. You can use your own com.apple.dock.plist file, just rename it to default.plist and put it in the path below. I did this as root.

    All rules apply such as; at your own risk, back up your data first, pray, etc.

    /System/Library/CoreServices/Dock.app/Contents/Resources/English.lproj/default.p list
  • jamierlynch Level 1 Level 1 (0 points)
    Hi,

    I have been looking for something like this for a while now and I am unable to follow your folder location to place the default dock plist file into. You specify that a dock.app folder exists, but I am unable to locate that particular file on my computer at all. Can you please tell me where this is?

    Really desperate Active directory tecky!!

    thanks

    J
  • Tim Semic Level 1 Level 1 (130 points)
    jamierlynch,
    I will verify the path when I get back to work in the morning. There may be another reason you can't get there if indeed it is valad, which would be if you are navigating the finder to get there.

    Try this instead, use your Go menu > Go to folder Type in this line: /System/Library/CoreServices/Dock.app/Contents/Resources/English.lproj/ hit return and see if it takes you there, a window should be open and you should see the file default.plist. Hold down the Apple key and click/hold on the window title. There you are from bottom up!

    Or use terminal with the command cd <path> hit a return.

    Otherwise I just doofed the path and I will look at it when I get in.

    The Finder doesn't give you free rain to the real unix paths. You need to use one of those other tools to get yourself there. It actually does make some sense when you get more used to the system. Just a way to keep out undesirables. Your not one of them types, are you? <Kidding> Let me know if you get stuck and I'll try and keep ya going. Try that stuff I suggested. I'll get you there.

    Tim
  • Steve Herman1 Level 4 Level 4 (2,545 points)
    The path that Tim Semic specified exists on my machine. But note that it's "Dock.app" (with a capital "D") not "dock.app"

    Steve