You are not logged in.

#1 2008-10-08 20:23:20

ikithme
Member
Registered: 2008-10-07
Posts: 28

Computer home and trash on desktop.

How in the world do I get rid of these annoying icons? I have tried grepping their titles as well as looking on desktop in my home folder. I've looked at guides for other distros but have found nothing that will work on arch. Please help I like a clean desktop.

Offline

#2 2008-10-08 20:27:45

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Computer home and trash on desktop.

What window manager or desktop environment are you using?

Offline

#3 2008-10-08 20:27:50

burnside
Member
From: Asheville, NC
Registered: 2008-09-27
Posts: 45

Re: Computer home and trash on desktop.

Gnome, XFCE, or KDE?

Offline

#4 2008-10-08 20:58:17

ikithme
Member
Registered: 2008-10-07
Posts: 28

Re: Computer home and trash on desktop.

Sorry I'm using gnome.

Offline

#5 2008-10-08 21:01:58

testube_babies
Member
From: 127.0.0.1
Registered: 2007-06-26
Posts: 115

Re: Computer home and trash on desktop.

In gconf-editor, uncheck the corresponding boxes in apps/nautilus/desktop

Offline

#6 2008-10-08 21:05:59

ikithme
Member
Registered: 2008-10-07
Posts: 28

Re: Computer home and trash on desktop.

Ah ok thank you :-D!

Offline

#7 2008-10-08 21:09:34

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Computer home and trash on desktop.

I got tired of setting this up on each machine so I wrote a simple bash script that configures my preferences:

$ cat bin/setup-nautilus.sh

#!/bin/sh
# Set some good defaults for nautilus.

gconftool-2 --type boolean --set /apps/nautilus/preferences/always_use_browser true
gconftool-2 --type string --set /apps/nautilus/preferences/default_folder_viewer list_view
gconftool-2 --type boolean --set /apps/nautilus/preferences/desktop_is_home_dir true
gconftool-2 --type boolean --set /apps/nautilus/preferences/enable_delete true
gconftool-2 --type boolean --set /apps/nautilus/preferences/show_desktop false

The last one is what you're trying to accomplish, but the others are handy (and pretty standard) too

Last edited by thayer (2008-10-08 21:10:49)


thayer williams ~ cinderwick.ca

Offline

#8 2008-10-09 11:11:56

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: Computer home and trash on desktop.

Don't forget to put [solved] in this thread's title wink

Offline

#9 2008-10-15 09:49:35

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 99

Re: Computer home and trash on desktop.

Somehow the toggle show_desktop true or false doesn't work anymore. My icons won't display no matter what... Any suggestions?

Update: I initiated an sudo nautilus. Normally this would just bring up an filebrowser with root privaliges. However, this time it changed my desktop background and showed root's desktop icons.

Last edited by HydroDiOxide (2008-10-15 11:31:32)


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#10 2008-10-15 15:41:29

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Computer home and trash on desktop.

HydroDiOxide wrote:

Somehow the toggle show_desktop true or false doesn't work anymore. My icons won't display no matter what... Any suggestions?

It could require a logout/login to take effect (though it shouldn't), but it's more likely that you also set "desktop_is_home_dir" to true.

HydroDiOxide wrote:

Update: I initiated an sudo nautilus. Normally this would just bring up an filebrowser with root privaliges. However, this time it changed my desktop background and showed root's desktop icons.

The gconf tweaks only affect the current user.  When you run sudo, you are technically running the application as the root user, which is why the desktop loads and icons appear, etc.  You can fix this by running the gconf editor with sudo and making the same changes....or running my script with sudo.


thayer williams ~ cinderwick.ca

Offline

#11 2008-10-15 21:05:39

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 99

Re: Computer home and trash on desktop.

thayer wrote:

It could require a logout/login to take effect (though it shouldn't), but it's more likely that you also set "desktop_is_home_dir" to true.

This was not the case. However, looking into it was part of the fix. Setting this option and enabling the desktop showed the contents of my home_dir on the desktop. After that I could remove the tick at "desktop_is_home_dir" and the contents of my Desktop folder were displayed on the desktop. Seems like a bug of some sort to me... Thanks!

Update: after logging out and logging back in, the trick mentioned above doesn't work anymore. No combination of ticks renders desktop icons. I guess something really is broken.

Update2: somehow it works okeh again. Strange things happening with the Gnome...

Last edited by HydroDiOxide (2008-10-16 20:23:18)


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

Board footer

Powered by FluxBB