LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   remove trash icon on Gnome 2.4 desktop (https://www.linuxquestions.org/questions/linux-general-1/remove-trash-icon-on-gnome-2-4-desktop-104417/)

dfuse 10-15-2003 06:02 PM

remove trash icon on Gnome 2.4 desktop
 
Hey, I use Gnome 2.4 and I think it's really beautiful. Only the 2 icons the desktop, trash and home folder are making me crazy, I don't want them there but I can't remove them by right clicking them (reminds me of my computer and recycle bin on some os I once used to use). Is there a way to remove these?

TheRealDeal 10-15-2003 07:41 PM

Hi,

The way I did it (on earlier version of Gnome, but should be the same), is by deleting it....
'rm -rf /home/username/.gnome-desktop/Trash'

Good luck.
>Craig :)

dfuse 10-16-2003 02:12 AM

Haha, stupid of me not to check that, thanks a lot!

dfuse 10-16-2003 02:23 PM

Unfortenately, that doesn't work, there isn't a gnome-desktop dir :( I checked the other gnome dirs in my homedir but I don't see the files that could be the icons

TheRealDeal 10-16-2003 07:28 PM

Hi,

The directory is .gnome-desktop there is a full stop, or period before .

The . makes it hidden that's why you can't see it :)

>Craig :)

dfuse 10-17-2003 02:16 AM

Lol, I know what the dot means, but that dir just isn't there

blixel 10-18-2003 03:58 PM

Deleting the Trash and Home files won't work anyway. I've tried it. As soon as you restart X they come. I've found that setting ~/.gnome-desktop to read-only (i.e. chmod 400 ~/.gnome-desktop) will stop the icons from appearing. But then you get a warning message every time you start X which is just as irritating.

speter 10-18-2003 04:42 PM

You can also disable or remove Nautilus, since that is what's drawing the icons to the desktop.

Steve

dfuse 10-19-2003 05:52 AM

I solved it. I just selected them on my desktop and pressed delete on my keyboard:D I always right-clicked and the delete option was greyed out. I also found out that icons you put on the desktop reside in ~/Desktop in Gnome 2.4 to conform with the xfree desktop standards, although this conflicts with the manual which says they are in .gnome-desktop. The trash and home folder icon are not in that directory though but anyways they are gone now, and don't reappear when restarting X. You can also disable all icons on your background by typing: gconftool2 --type bool --set /apps/preferences/nautilus/show_desktop false

petr.pisoft 05-21-2004 10:18 AM

remove trash icon - gnome 2.4.1
 
There is no conf file for the icons like Trash or Home etc. in gnome 2.4.2. (e.g. gentoo distribution) and there are two ways how to remove them. First, you can by 'gnome-session-properties' change nautilus feature 'restart' to 'normal' and then just type killall nautilus. Well, you prabably meet some problems with background etc. next time you login. The other way is very simple and it works!! - type 'gconf-editor' (or Applications - System tools - Configuration editor) and then try to find Apllication - nautilus - preferences and uncheck the 'show_desktop' box. That's all folks!

Petr

Silverwing 06-06-2009 09:29 AM

at last, I know the fix :D
 
After trying around, I found out that setting show_desktop false stops nautilus from drawing the desktop wallpaper as you change it. You better enable show_desktop and change these values in gconf editor:

apps -> nautilus -> desktop:
computer_icon_visible unchecked
home_icon_visible unchecked
trash_icon_visible unchecked

Works better for me :D

sergani 08-01-2011 06:46 PM

Thanks a lot!!!!
 
Quote:

Originally Posted by Silverwing (Post 3565201)
After trying around, I found out that setting show_desktop false stops nautilus from drawing the desktop wallpaper as you change it. You better enable show_desktop and change these values in gconf editor:

apps -> nautilus -> desktop:
computer_icon_visible unchecked
home_icon_visible unchecked
trash_icon_visible unchecked

Works better for me :D

You're the man!!!
Thanks a lot man!!!

I've been working on changing my Fedora 14 to have a Mac look -cause I have one and got used to the UI-, and this you described, along with Avant Window Navigator -along with some additions- just did the job :-)

This is my current desktop...
http://www.imagehosting.com/photo/sc...2?context=user


All times are GMT -5. The time now is 03:21 PM.