Change the dock's trashcan icon

Sep 05, '02 09:24:56AM

Contributed by: Anonymous

The trash can icon (as well as the URL icon) is located in the dock application bundle itself as a standalone icon. This is a change from 10.1, where it was deeply buried in a .rsrc file. To replace it, simply move a "trashempty.png" and a "trashfull.png" into the resource folder of the dock.app bundle. Back up the original one by adding something like "BACKUP" to the filename; you'll have to be root or change the permissions first.

If you have existing .icns trash icons, you can open them with Preview and export them as *.png files; it's as easy as that.

This works without restarting the dock; emptying the trash is enough.

Comments (2)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020905062456161