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, October 8th 2007, 9:21pm

Trash bin "empty trash" option is grayed out.

A while back I installed xfce to play with it, and found that I had 2 trashbins on the xfce desktop, so I deleted the one that didn't work. (DUH.)
Back in KDE, this removed my desktop Trash bin. To restore the KDE trash bin I did this:

create file ~/Desktop/Trash.desktop containing the following:
[Desktop Entry]
Comment=Contains removed files
EmptyIcon=trashcan_empty
Encoding=UTF-8
Icon=trashcan_full
Name=Trash
Type=Link
URL=trash:/
I also tried right clicking on the desktop to create a url which links to trash:/ with some success too.

So I have a trashbin now, but the option to "empty trash bin" is grayed out, and when the trash bin contains files or folders, the icon still appears empty.

ls -l gives this:

Source code

1
-rw-r--r-- 1 misfit138 users  140 2007-10-08 15:52 Trash.desktop

I have also tried refreshing desktop, and reloading the icon theme. I've exhausted my googling and cannot figure out how to restore the empty trash function, nor correct the empty icon, when trash is full. Any help is appreciated. :)

chepioq

Beginner

Posts: 5

Location: Aubagne France

  • Send private message

2

Tuesday, October 9th 2007, 7:06am

RE: Trash bin "empty trash" option is grayed out.

Have you re-start your PC after create trash-desktop?

3

Tuesday, October 9th 2007, 1:25pm

Yes I have, countless times. ;)
This has been an issue for a while now, and I can't seem to correct it.

chepioq

Beginner

Posts: 5

Location: Aubagne France

  • Send private message

4

Tuesday, October 9th 2007, 1:37pm

I am not on my PC , and I have no linux , but try to see in your root directory, /root/home/Desktop ,if the syntaxe off the trash.desktop are the same...
Also copy your root trash.desktop in your user/home/Desktop directory (with the good permission...) and re_boot

5

Wednesday, October 10th 2007, 5:09pm

Thanks for the reply, I will try and report back.

6

Friday, October 12th 2007, 2:11am

Sorry, that doesn't work either.
I am stumped. ?(

chepioq

Beginner

Posts: 5

Location: Aubagne France

  • Send private message

7

Friday, October 12th 2007, 6:39am

my english is so bad...
Try this:
-delete your icon trash
-click right on your destop
-create a new link to url
-name: Trash
- url: trash:/