Red Hat Bugzilla – Bug 117135
double trashes in desktop
Last modified: 2007-11-30 17:10:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
kde use a real folder in Desktop directory of user's home for
trash.It cause two problem:
1,when you login into gnome,there are two trash in desktop,one is
gnome's,the other is kde's,and the files you deleted in kde can't be
found in gnome's trash.it's really confusing.
2,kde use localized charactor for its trash folder's name.I'm not
sure if I change my locale what will happen
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install both gnome and kde,set default locale to zh_CN or something
else(except en_US) before firstboot.
2.login into kde,delete some files to trash,logout.
3.login into gnome.
Actual Results: 1,when you login into gnome,there are two trash in
desktop,one is gnome's,the other is kde's,and the files you deleted
in kde can't be found in gnome's trash.it's really confusing
Expected Results: 1,there should be only one trash in desktop in
both gnome and kde even if you install both gnome and kde.
2,kde and gnome should use same folder for trash.
3,kde should not use localized charactor for its trash folder's name.
alex, i think it's a bug in nautilus. It should use trash desktop file
Nautilus never creates *any* files in ~/Desktop. The trash icon shown
on the desktop in gnome is a virtual file which is never on the disk.
The real trash-directory in gnome is more complicated than a single
directory. We use directories on all mounts that are merged into the
There is some hacked code in gnome to try to hide the kde trash
though... Maybe something changed to make it not work anymore.
Nautilus looks in ~/.kde/share/config/kdeglobals for the Paths/Trash
key, and makes that hidden. Did that change in kde?
no, there's is no change in kde. The kdeglobals file has still the
correct entry there. It looks like the hacked code in nautilus does
not do correctly if the directory name is translated.
For Example on machine with LANG=de, you will see following entry:
I bet there is an encoding issue. If you change that to not contain
the Ã¼, does this still happen?
yes, it's a encoding issue. it works fine if i remove Ã¼ or rename it
by the way, it's not correct in the hacked code to look only in
~/.kde/share/config/kdeglobals. It has to look in
~/.kde/share/config/kdeglobals first and if there's no Paths/Trash
key found here, it should look in /usr/share/config/kdeglobals further.
There's a same issue in Home.desktop, nautilus should hide the
Of course, i still think KDE is wrong in creating files in
user-visible directories. The desktop should be owned by the user.
*** Bug 103181 has been marked as a duplicate of this bug. ***
I tried this, but it seems kde changed behaviour. The directory was
called "Trash", but had a .directory file in it with the translated
names. Then there was not Trash line in kdeglobals.
Alex, i think the better way to handle this issue is that nautilus
should support Tag OnlyShowIn and NoDisplay in desktop files
than: You mean in the .directory files? It would work for the desktop
files, but we disable .directory reading in general due to it slowing
down directory loads a lot. I guess we could enable it just for the
*** Bug 119646 has been marked as a duplicate of this bug. ***
nautilus 2.6.0-4 should fix this.
OK, I have nautilus 2.6.0-4 installed (along with the rest of the
updates in development as of 15 Apr.
This problem (kde icons on gnome/metacity/nautilus desktop is still
With a frshly defined user -- login with gnome, logout, login with
kde, start terminal, logout, login with gnome ... desktop has kde icons.
Specifically, do you get the KDE trash icon?
If so, whats the name of the trash subdirectory (as showed by ls), and
whats the Trash setting in ~/.kde/share/config/kdeglobals and/or
nautilus 2.6.0-4 fixed this problem with KDE trash icon for me here.
1. No Trash setting in ~/.kde/share/config/kdeglobals
2. Trash=$HOME/Desktop/Trash in /usr/share/config/kdeglobals
But the Trash icon is not really my problem it is haveing kde's home,
CD/DVD, and floppy
closed as a dup of this report but it really is not.
I am going to close this report and open 119646 since it appears to me
that it is not a dup.