GNOME Bugzilla – Bug 649074
Nautilus needs X-Gnome-Provides=filemanager
Last modified: 2011-05-02 13:08:51 UTC
Created attachment 186969 [details] [review] X-Gnome-Provides.patch According to https://live.gnome.org/SessionManagement/RequiredComponents , Nautilus should have a X-Gnome-Provides=filemanager field in its .desktop file. It looks to me like this is required for Nautilus to be able to draw the desktop icons. Even though Nautilus now does not do that by default, it should be possible by editing the gsetting without needing to also edit the .desktop file.
the provides is unrelated to drawing desktop icons
Matthias, please correct me if I'm wrong. I've not been able to find documentation for this yet. The only way I know to get Nautilus to draw the desktop icons is to: 1. gsettings set org.gnome.desktop.background show-desktop-icons true 2. Add this line to nautilus.desktop X-Gnome-Provides=filemanager 3. Edit /usr/share/gnome-session/sessions/gnome.desktop or gnome-fallback.desktop and add this line DefaultProvider-filemanager=nautilus And add filemanager to the end of the RequiredProviders line. 4. Log out and log back in. Step 3 requires step 2. If you have an alternate easier way, let me know. The X-Gnome-Provides is already built into the .desktop's for gnome-shell, gnome-panel, compiz, etc.
(In reply to comment #2) > Matthias, please correct me if I'm wrong. I've not been able to find > documentation for this yet. The only way I know to get Nautilus to draw the > desktop icons is to: Nautilus 3.0 is not a session component anymore so there's no point in it using defining that provide (filemanager is not part of any default session anyway); it seems what you want is just adding a nautilus.desktop file in your ~/.config/autostart directory, which calls into `nautilus --no-default-window`. This is what e.g. gnome-tweak-tool already does if you use it to set this option.
Thank you! As it turns out gnome-tweak-tool does not create the autostart file and it should. But I verified that with that file, nautilus draws the desktop icons.
*** Bug 649063 has been marked as a duplicate of this bug. ***