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!
Share
Categories
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
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.
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.
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.
This is a great way to restart the finder, everytime, without fail.
forget this, i just want a trash can on my desktop
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 Permalink rate up rate down ReplyHere'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!
Erm, just use SideTrash?
http://www.macupdate.com/info.php/id/17686
Or am I missing something here?
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 Permalink rate up rate down Replyanother crash on 10.4.9 pbook g4
May 04 2007 at 2:01 AM Report abuse Permalink rate up rate down Replymy 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.
Hot Apps on TUAW
Deals of the Day
more deals- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



29 Comments