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


Click here to return to the 'Put working folders on the Apps side!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Put working folders on the Apps side!
Authored by: Quantum Cowboy on Nov 08, '01 07:48:03PM

The .app trick is great! But taken one step further, you can put a folder full of aliases over on the Applications side of the Dock and have a hierarchical launcher there with the rest of your apps (where it belongs!)

Just set up your folder of aliases (complete with subfolders if desired), give it a nice custom icon, then use Anonymous's trick. Rename the folder with a .app extension and drag it to the Dock. It'll pop over to the Apps side and you can move it where you like. But for now, it doesn't give the pop-up menu of its contents when clicked. But that's an easy fix...

Do a Show Info on the folder, go to the Name & Extension panel, and *delete* the .app extension. Then either quit the Dock with ProcessViewer or just log out and back in again. Now it behaves like any other folder in the Dock, giving the hierarchical list of its contents when clicked, accepting items dragged onto it, and so forth. Except it's parked over with all the applications! And it *stays* that way, even if you reboot. Cool!

-Robb

P.S. Should this be a separate tip? Just so long as Anonymous (whoever he or she is) gets proper credit...



[ Reply to This | # ]
Caveat
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 com.apple.dock.plist (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 com.apple.dock.plist 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 com.apple.dock.plist, 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 com.apple.dock.plist 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...

-Robb



[ 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 | # ]