Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to show icon of Trash on Desktop? The Trash is displayed on Dock. I have tried to create an alias to ~/.Trash on my Desktop, but it is just an alias and does not have the same behavior like the one on Doc with "Empty Trash" or "Secure Empty Trash" context menu.

I would like to see the Trash on Desktop or top menu bar so that 1st I can see its status (empty or not) and access to its context menu.

share|improve this question
    
I've been looking for a solution to this too –  at. Jan 30 '10 at 23:50
    
I tried to goole the result with no luck. I hate to use mouse to Trash on Dock since my Dock is in auto-hide mode. A quick way to do it is by using Finder short-cut key: Cmd+shift+delete with confirmation and Cmd+shift+opt+delete without confirmation, and no action if nothing in Trash. –  David.Chu.ca Jan 31 '10 at 1:30

2 Answers 2

You can use iCan. It's better than most of the DIY solutions I've seen, which involve symbolic links or aliases or other 3rd party software. iCan basically replicates the good old trash icon from OS 9.

share|improve this answer

I've been doing like this:

  • Open workflow and choose to create a new application
  • In the first step use Get Specified Finder Items
  • In the second step use Run AppleScript

Put this code inside:

on run {input, parameters}
if (input as string) ends with ":" then
    if (list disks) contains (((input as string)'s characters 1 thru -2) as string) then
        try
            tell application "Finder"
                eject input
            end tell
        end try
    else
        try
            tell application "Finder"
                move input to the trash
            end tell
        end try
    end if
else
    try
        tell application "Finder"
            move input to the trash
        end tell
    end try
end if
return 1
end run

And that's it! Save as an application in your desktop. You can change the icon to resemble the trash.

It is not perfect, though. The icon will not change when the bin is full or empty and there are no context menu options as well. But it is free and works fine for deleting files and unmounting disks. I am thinking about researching a way of doing this fully operational, but maybe in the near future...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.