You are not logged in.

#1 2011-07-31 02:54:09

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

[Solved] Make Nautilus stop creating a Desktop folder in ~/

I can't seem to figure this out. Nautilus v3.0.2-1

On the wiki there is a section called "Stop Nautilus drawing the desktop" and it says to go to gconf editor and untick "desktop->gnome->background->draw_background" but that didn't do anything.

Last edited by Dethredic (2011-07-31 22:30:43)

Offline

#2 2011-07-31 04:30:52

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

nautilus --no-desktop

Offline

#3 2011-07-31 13:00:27

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

swanson wrote:

nautilus --no-desktop

I tried that, but it doesn't help / work

Offline

#4 2011-07-31 13:07:05

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

How about "/org/gnome/nautilus/preferences/desktop-is-home-dir" in dconf?

Offline

#5 2011-07-31 13:36:26

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

Wey wrote:

How about "/org/gnome/nautilus/preferences/desktop-is-home-dir" in dconf?

I'm not 100% sure I'm doing it right, but I tried "dconf read /org/gnome/nautilus/preferences/desktop-is-home-dir" but that didn't display anything.
I then tried "dconf write /org/gnome/nautilus/preferences/desktop-is-home-dir false" but that didn't do anything either.

I have a feeling that those commands aren't right tho

Offline

#6 2011-07-31 13:47:35

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

Works for me:

$ dconf read /org/gnome/nautilus/preferences/desktop-is-home-dir
false
$ dconf write /org/gnome/nautilus/preferences/desktop-is-home-dir true
$ dconf read /org/gnome/nautilus/preferences/desktop-is-home-dir 
true

Also try the gsettings front end:

$ gsettings get org.gnome.nautilus.preferences desktop-is-home-dir
true
$ gsettings set org.gnome.nautilus.preferences desktop-is-home-dir false
$ gsettings get org.gnome.nautilus.preferences desktop-is-home-dir
false

Or just dconf-editor.

Offline

#7 2011-07-31 14:10:54

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

Wey wrote:

Works for me:

$ dconf read /org/gnome/nautilus/preferences/desktop-is-home-dir
false
$ dconf write /org/gnome/nautilus/preferences/desktop-is-home-dir true
$ dconf read /org/gnome/nautilus/preferences/desktop-is-home-dir 
true

Also try the gsettings front end:

$ gsettings get org.gnome.nautilus.preferences desktop-is-home-dir
true
$ gsettings set org.gnome.nautilus.preferences desktop-is-home-dir false
$ gsettings get org.gnome.nautilus.preferences desktop-is-home-dir
false

Or just dconf-editor.

Okay, I got the value changed to false, but the desktop keeps coming back

Offline

#8 2011-07-31 14:13:50

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

have you checked 'gnome-session-properties' (startup applications) to see if / how nautilus is being executed on startup?

and...

gnome-tweak-tool --> file-manager --> 'have file manager handle the desktop' --> OFF

Last edited by triplesquarednine (2011-07-31 14:16:45)

Offline

#9 2011-07-31 16:26:02

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

triplesquarednine wrote:

have you checked 'gnome-session-properties' (startup applications) to see if / how nautilus is being executed on startup?

and...

gnome-tweak-tool --> file-manager --> 'have file manager handle the desktop' --> OFF

nautilus is being executed with the -n flag in my start up applications.

second setting was already off

Offline

#10 2011-07-31 17:24:49

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

Dethredic wrote:

nautilus is being executed with the -n flag in my start up applications.
second setting was already off

this might be grasping at straws, but try replacing the -n flag with ' nautilus %U ' instead. see if that makes a difference. you will need to re-login after the change. if not, disable nautilus in autostart/gnome-session-properties and see if that makes a difference. (same goes logout, login).

if the latter works, then you might just have to change nautilus' menu entry (alacarte), with the --no-desktop flag. so that when nautilus launches, it doesn't automatically use the desktop.

i guess we will see what happens.

over here, i can disable nautilus from managing the desktop, so i can't actually reproduce your problem :\

Offline

#11 2011-07-31 17:40:45

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

triplesquarednine wrote:
Dethredic wrote:

nautilus is being executed with the -n flag in my start up applications.
second setting was already off

this might be grasping at straws, but try replacing the -n flag with ' nautilus %U ' instead. see if that makes a difference. you will need to re-login after the change. if not, disable nautilus in autostart/gnome-session-properties and see if that makes a difference. (same goes logout, login).

if the latter works, then you might just have to change nautilus' menu entry (alacarte), with the --no-desktop flag. so that when nautilus launches, it doesn't automatically use the desktop.

i guess we will see what happens.

over here, i can disable nautilus from managing the desktop, so i can't actually reproduce your problem :\

No luck, I completely removed it from the start applications and no effect. The %U didn't change it either. Also the -n flag seems to include the --no-desktop.

Offline

#12 2011-07-31 18:17:00

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

Dethredic wrote:

No luck, I completely removed it from the start applications and no effect. The %U didn't change it either. Also the -n flag seems to include the --no-desktop.

weird, im not sure what is going on then. it shouldn't even have launched if you have it disabled from managing the desktop and also disabled in gnome-session-properties...unless there is some setting in either dconf / gconf editors, but then that kind of defeats the purpose of having autostart to begin with.

sorry, i can't be of more help. i've never had this particular issue with nautlius (although i have had others in the past).

Offline

#13 2011-07-31 18:33:50

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

You need a file like this

% cat .config/user-dirs.dirs
XDG_DESKTOP_DIR="/home/army/"
XDG_DOWNLOAD_DIR="/home/army/Downloads"
XDG_TEMPLATES_DIR="/home/army/"
XDG_PUBLICSHARE_DIR="/home/army/"
XDG_DOCUMENTS_DIR="/home/army/Dokumente"
XDG_MUSIC_DIR="/home/army/Musik"
XDG_PICTURES_DIR="/home/army/Bilder"
XDG_VIDEOS_DIR="/home/army/Videos"

Offline

#14 2011-07-31 18:46:24

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

Army wrote:

You need a file like this

% cat .config/user-dirs.dirs
XDG_DESKTOP_DIR="/home/army/"
XDG_DOWNLOAD_DIR="/home/army/Downloads"
XDG_TEMPLATES_DIR="/home/army/"
XDG_PUBLICSHARE_DIR="/home/army/"
XDG_DOCUMENTS_DIR="/home/army/Dokumente"
XDG_MUSIC_DIR="/home/army/Musik"
XDG_PICTURES_DIR="/home/army/Bilder"
XDG_VIDEOS_DIR="/home/army/Videos"

Thanks. I had the desktop line commented out. Changing it to $HOME  worked.

Offline

#15 2011-07-31 19:11:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

Please mark as solved.

Offline

#16 2012-03-29 11:26:09

av
Member
Registered: 2012-03-17
Posts: 32

Re: [Solved] Make Nautilus stop creating a Desktop folder in ~/

Worked for me too. Thank you.

Offline

Board footer

Powered by FluxBB