After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139470 - Desktop/ directory is created although using --no-desktop
Desktop/ directory is created although using --no-desktop
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Desktop
0.x.x [obsolete]
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 302875 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-04-08 12:41 UTC by Rene van Bevern
Modified: 2008-03-19 14:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Fixes the problem (4.73 KB, patch)
2006-11-10 12:47 UTC, palfrey
none Details | Review
dont_create_Desktop.patch (2.43 KB, patch)
2008-03-19 12:48 UTC, Sebastian Dröge (slomo)
rejected Details | Review

Description Rene van Bevern 2004-04-08 12:41:05 UTC
- Switch of the option to use the home directory as desktop folder
- Delete ~/Desktop/
- start nautilus --no-desktop
- Desktop/ directory is back again

I think it should not create Desktop/ when the --no-desktop Option is in use.
Comment 1 Christian Neumair 2004-07-24 10:45:38 UTC
Thanks for your bug report.
Comment 2 Sebastien Bacher 2005-05-05 16:32:51 UTC
*** Bug 302875 has been marked as a duplicate of this bug. ***
Comment 3 Sebastien Bacher 2005-05-05 16:33:33 UTC
from #302875 it should not be created when using ~/ as Desktop neither
Comment 4 palfrey 2006-11-10 12:47:01 UTC
Created attachment 76321 [details] [review]
Fixes the problem

Problem was already fixed in CVS for the case where the home directory is the desktop. This patch fixes the other case.
Comment 5 Sebastian Dröge (slomo) 2008-03-19 12:48:36 UTC
Created attachment 107602 [details] [review]
dont_create_Desktop.patch

Updated patch for nautilus 2.22
Comment 6 Sebastian Dröge (slomo) 2008-03-19 14:39:17 UTC
Ok, this will break all "Desktop" links in nautilus.

--no-desktop is meant as "don't show icons on the desktop" according to Alex and as nautilus needs some desktop directory for working properly it has to be created if not existing yet.

Current nautilus uses xdg-user-dirs to get the desktop directory so if you're using nautilus from another desktop environment and don't want it to create another Desktop directory you should update your xdg-user-dirs settings instead.

Closing this bug as fixed, as the real bug (creates ~/Desktop if ~ is selected as Desktop) is fixed since some time already.