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 580793 - Always register to the session in auto restart mode
Always register to the session in auto restart mode
Status: RESOLVED DUPLICATE of bug 571417
Product: nautilus
Classification: Core
Component: general
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-29 18:48 UTC by Josselin Mouette
Modified: 2009-05-31 15:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Register a different .desktop when not managing the desktop (1.36 KB, patch)
2009-04-29 18:49 UTC, Josselin Mouette
none Details | Review

Description Josselin Mouette 2009-04-29 18:48:38 UTC
Nautilus registers to the session manager using the nautilus.desktop file, which says X-GNOME-AutoRestart = True. While this is desirable in the general case, it is not when nautilus is not managing the desktop (when started with --no-desktop or when show_desktop is set to false).

In this case, when you close all nautilus windows, the nautilus process exits, and the session manager brings it back to life immediately.
Comment 1 Josselin Mouette 2009-04-29 18:49:46 UTC
Created attachment 133598 [details] [review]
Register a different .desktop when not managing the desktop
Comment 2 Gilles Dartiguelongue 2009-05-01 09:16:56 UTC
The change is probably trivial but could you attach the diff with the new .desktop file ?
Comment 3 Josselin Mouette 2009-05-02 07:05:45 UTC
(In reply to comment #2)
> The change is probably trivial but could you attach the diff with the new
> .desktop file ?

The nautilus-home.desktop file is already shipped, so there is no other change than the patch I attached.
Comment 4 Josselin Mouette 2009-05-31 15:41:40 UTC
In the meantime, I have spotted a better way to fix this, together with bug#571417. I’ll follow up in this bug.
Comment 5 Josselin Mouette 2009-05-31 15:42:08 UTC

*** This bug has been marked as a duplicate of 571417 ***