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


Click here to return to the 'Ok, but ...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Ok, but ...
Authored by: Drogoul on Aug 29, '02 10:03:21AM

this hint works ok, but everytime I drop something onto the Trash icon in the toolbar, the Finder complains that ".Trash" is being used by another process (although it correctly trashes the items).

Any idea on what's going on ?

Thx



[ Reply to This | # ]
No error message here...
Authored by: robg on Aug 29, '02 11:36:06AM
I don't get the error message, but the icon is messed up (up higher than it should be), and it lacks a label. So here's a semi workaround (see the note at the end as to why it's a semi workaround).
  1. Find a good trashcan icon somewhere and copy it so it's on the clipboard.

  2. In the Finder, use shift-command-G (Go -> Go to Folder) to open ~/.trash. Select the .trash folder, do a Get Info, and paste your slick trashcan icon into place.

  3. In the Terminal, create a symbolic link from the ~/.trash file to a new file in your Documents folder:
      % ln -s ~/.trash ~/Documents/MyTrash
    Give the new file a non-invisible name, which is the name you'll see in the toolbar.

  4. Switch back to the Finder and navigate to your Documents folder; you should now see your MyTrash folder with its custom icon in place (and the annoying alias arrow, but I'm not sure how to get around that). Drag this folder to your toolbar, and you now have a toolbar trashcan!
NOTE: The trash on your toolbar will function ONLY with items on the hard drive containing your user's home folder. This is because we used the trash item in the user's folder to create the link. If you trash an item from another hard drive or partition, it will actually get copied into this trashcan, leaving the original in place.

I have no idea how to get a system-integrated trashcan on the toolbar, other than as described in the hint that this comment is attached to...

-rob.

[ Reply to This | # ]
Ok, but ...
Authored by: huzzam on Aug 29, '02 01:22:01PM

i had the same problem, because i was pausing over the trash icon for a second, & it was trying to spring open at the same time i was putting the file in the trash. if you're quicker, or if you slow down the spring-loaded folders preference, i suspect it will work right.

peter



[ Reply to This | # ]