Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Caveat | 7 comments | Create New Account
Click here to return to the 'Caveat' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: Quantum Cowboy on Nov 09, '01 10:14:18AM

I discovered last night that if you make any changes to the Dock (add/remove items, resize, turn on hiding, etc.) that it discovers the fakery and pops your folder back over to the Trash side of the Dock on the next login. Basically anything that causes a change to the (located in the user's Library/Preferences folder) causes the system to "fix" things. (Launching apps, minimizing windows, etc. don't affect the file it seems.)

The workaround is to lock the file. The trickery then sticks, but it also means you lose any other changes you make to the Dock when you logout. So it's obviously only good if your Dock is fairly static.

By directly editing, you can move just about anything from the Trash side ("Persistent Others" in the plist) to the Apps side ("Persistent Apps"). Restart the Dock and presto! But as soon as the system updates the file it puts it back to normal and everything reverts on the next login.

It should be possible to write a simple little program/script that would parse and automatically put specified folders over on the Apps side. The trick is to guarantee the script runs before the Dock starts on login. Hrmmmm...


[ Reply to This | # ]
Wibble... Wobble ?!?
Authored by: SilverSide on Apr 17, '05 07:21:06AM

Perhaps... start the script off with a command to restart the dock, then the same at the end?

like 'Killall Dock' or summat...

[i]A wise person will remind you that there is beauty in everything - even a coarse rock you find by a dirt road. If you find beauty in it, be thankful for it.[

[ Reply to This | # ]