You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, May 22nd 2006, 6:29am

Messed up trash icon

In my complete stupidity, I used the icon browser in the properties menu of the trash can, to try and change the trash's icons (full/empty). I guess it put it in a single state mode, where it only has one icon. Deleting/remaking the icon doesn't work either.

Thanks in advance ?(

2

Monday, February 12th 2007, 6:01pm

Messed up trash icon

I did that once - it is really no problem. But it seems like any help you get on this topic relies on links that don't work or indirect answers that assume too much, so here is what you do, step by step!

Right click on the trash icon on your desktop and select [Open with...]
Choose Kwrite or Kedit (any text editor) and when it opens, look for the EmptyIcon= and the Icon= lines.

The correct entries should read:

EmptyIcon=trashcan_empty
Icon=trashcan_full

You don't have to be in root to do this:
Edit the line that does not look like the above equation so that it DOES look like the above equation and then click [File > Save] and exit.

--

After you finish, get the trashcan empty/full function working by going to the Control Center > Appearance and Themes > Icons section and click to highlight any theme OTHER THAN the one you are using - then click to highlight the original theme back again (this turns on the APPLY button). Click APPLY; wait for the theme to reload and that should get your trashcan icon back to normal working mode.

--
In future, if you want to change the look of your trash icons:

Have your new icons ready (sized at 32x32 pixels and named trash_empty.png and trash_full.png)
For the crystalsvg theme, migrate to /usr/share/icons/crystalsvg/32x32/filesystems
For the nuvola theme, migrate to /usr/share/icons/nuvola/32x32/filesystems
For any other installed themes, migrate to /usr/share/icons/?themename?/32x32/filesystems

Note: You only have to replace the icons in the theme you will be using.

Open the chosen filesystems file (under root) by right clicking in the empty space of the file, then selecting Actions > Open (As Root) and wait for the new filesystems root window to appear. Perform your changes inside it: rename the 2 current trash icons to something like trash_full-orig.png and trash_empty-orig.png and then insert (paste or move) your new icons into the file. Make sure the new icons are named correctly - see above.

You don't have to Save, just exit the window.

Then, as before - go to Control Center > Appearance and Themes > Icons and click to highlight any theme OTHER THAN the one you will be using - then click to highlight the original theme again (this turns on the APPLY button) and click APPLY; wait for the theme to reload and your new icon(s) will appear on your desktop.

-mikie