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


Click here to return to the '10.3: Add a trash can to the desktop' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Add a trash can to the desktop
Authored by: zeusr on Jan 14, '04 12:45:29PM
The trashes for the user's own home directory trash is stored in '~/.Trash', but for every item that originates on a different volume, the item is moved to '/Volumes/VolumeName/.Trashes/UserID#/'.

This hint will only show the items in the '~/.Trash' directory, and no, I haven't figured out how to get a desktop Trashcan that access all Volumes' trash files for that user, without using a special program for that purpose...

[ Reply to This | # ]

10.3: Add a trash can to the desktop
Authored by: googoo on Jan 14, '04 02:29:36PM

I have not done it (I like <cmd><delete>), but you could write an AppleScript application that would trash any file dropped upon it instead using of a symlink or alias. You could even give the script a custom icon! I do not know how to change the icon when the trash is not empty (although I bet it can be done)!

-Mark



[ Reply to This | # ]
10.3: Add a trash can to the desktop
Authored by: googoo on Jan 14, '04 02:43:40PM

OK. Here is the AppleScript.


on open these_items
  tell application "Finder" to delete these_items
end open
Save it as an AppleScript Application and put it where you want (i.e., on the Desktop). I will leave the custom icon as an exercise for the reader!

-Mark

[ Reply to This | # ]

10.3: Add a trash can to the desktop
Authored by: tyip on Jan 14, '04 05:36:02PM

What I've done is use one of the dock control utilities to position the dock on the bottom right of the screen so that the trash can is always at the bottom right, no matter what else is in the dock. (You need a utility to put the dock at anything other than center position.)

While this doesn't allow you to move the trash can around, it does put it in the traditional position at the bottom right, which is where I want it.



[ Reply to This | # ]