Skip to Content

TUAW Tip: The best way to add the Trash to your Finder sidebar

Update: Alas, it looks like I'm going to have to withdraw this one. Do not use this tip, particularly on PPC Macs. Although it worked fine in my initial testing on an Intel Mac, it's becoming clear that this doesn't work for everyone, nor does it persist after a restart. So while I don't think it's dangerous (if you tried this and it didn't work properly, just force-restart the Finder to return things to normal), it is not actually a good solution. See our earlier Ask TUAW post for other, more permanent ways of doing this.

On an older Ask TUAW we were asked how to add the Trash to the Finder sidebar. I pointed to several different solutions to this, but just recently reader DG left a comment on that post with far and away the most elegant solution. Basically, show the Trash folder in the Finder by clicking on the Trash can in the Dock. Next hit ?-i to reveal the "Trash Info" window (right). Click on the triangle to reveal the Preview if it's not already visible and then drag the preview icon onto the Finder sidebar and drop it.

This will place the Trash in the sidebar with the proper icon and you can now drag and drop files to the Trash from the Finder. Not only that, the icon will even animate to show whether the trash is empty or not (though it may take a few moments to refresh your Finder window so you can see it).

Thanks, DG!


Update: Alas, it looks like I'm going to have to withdraw this one. Do not use this tip, particularly on PPC Macs. Although it worked fine...
 

Add a Comment

*0 / 3000 Character Maximum

29 Comments

Filter by:
DG

I think we've established that this tip consistently crashes on PPC?

I'm curious if anyone had issues on Intel though it's moot given that the tip is not permanent even when it does work.

May 04 2007 at 6:41 PM Report abuse rate up rate down Reply
drg

SideTrash and the dot-Trash alias don't reflect the state of a Full Trash. And SideTrash will delete an original file instead of their alias.

I'd rather the drag-preview version over the dot-trash version just for the simple reason of seeing the Full Trash icon when full -- otherwise, big deal.

May 04 2007 at 6:17 PM Report abuse rate up rate down Reply
Drarok Ithaqua

Oh dear oh dear!
2007-05-04 18:38:17 +0100

EXC_BAD_ACCESS (0x0001)
KERN_INVALID_ADDRESS (0x0001) at 0x80000197

Thread 0 Crashed:
0 CopyNodeRef + 24
1 0x1000 + 2424588
2 0x1000 + 1526804
3 0x1000 + 1522048
4 0x1000 + 1510752
5 0x1000 + 1647656
6 0x1000 + 58540
7 0x1000 + 56492
8 0x1000 + 56232
9 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 692

It doesn't like that at all! Running a PowerBook here, latest OS.

May 04 2007 at 1:40 PM Report abuse rate up rate down Reply
stephen

This is a great way to restart the finder, everytime, without fail.
forget this, i just want a trash can on my desktop

May 04 2007 at 12:37 PM Report abuse rate up rate down Reply
Carlos Chee

I didnt have a chance to read every comment, so this may have already been told. I found out that the best way to use my trashcan in the sidebar is via an applescript application, I dont remember if I saw it here or at another webpage, but it is simple, since it is an actual app, you can drag it in or out when youre tired of it. I dont have my ibook with, so I cant check out the actual code (apologies for that).

May 04 2007 at 10:54 AM Report abuse rate up rate down Reply
Joe

Here's how I did it on mine (involves command prompt)

I have a ~/Scripts/ folder I put my handy dandy scripts and sometimes aliases in. I made one for the Trash.

cd Scripts/
ln -sf ~/.Trash/ Trash

(this creates a symlink from your Trash folder (.Trash) and creates a symlink to it called Trash in the Scripts folder

Using the finder, navigate to the Scripts folder, and drag the new Trash symlink to the sidebar.

Huzzah!

May 04 2007 at 8:43 AM Report abuse rate up rate down Reply
Stu

Erm, just use SideTrash?

http://www.macupdate.com/info.php/id/17686


Or am I missing something here?

May 04 2007 at 6:17 AM Report abuse rate up rate down Reply
TimmyDax

I fourth the Cardwell/Macskeeball/laurahelde/Amott problem; crashes finder, leaves a blank placeholder whilst crashing... 10.4.9 PowerPC iBook G4 (latest)

May 04 2007 at 3:16 AM Report abuse rate up rate down Reply
mxdxcxnx

another crash on 10.4.9 pbook g4

May 04 2007 at 2:01 AM Report abuse rate up rate down Reply
Jeffrey Bergier

my finder crashes when i do it that way.
but if i do cmd+shift+g and type in ~/.trash and then drag the icon from the title bar into the sidebar it works. then it only has the folder icon. But if you do a cmd+i on the .trash folder and cmd+i after clicking on the trash icon you can copy the icon from the trash folder to the generic icon and it works.

May 04 2007 at 1:20 AM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.