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 649063 - File Browser does not work correctly when Nautilus draws desktop
File Browser does not work correctly when Nautilus draws desktop
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 649603 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-05-01 05:38 UTC by Jeremy Bicha
Modified: 2011-06-27 20:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2011-05-01 05:38:12 UTC
I originally saw this bug on Ubuntu 11.04 with the Gnome 3 experimental PPA but I've now confirmed on the Fedora 15 Gnome 3 Live CD available from Gnome's website.

Steps to Reproduce
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.
5. Desktop icons show up and you can open any mounted drives from their icons on the desktop, but try to open the Files application from the Applications menu. And nothing happens. It looks like Nautilus now requires a specific path to be passed to it.

What should happen:
Nautilus or whatever draws desktop icons shouldn't affect the ability of the File Manager to open.

This is a high priority for Ubuntu 11.10 as Ubuntu historically draws desktop icons and uses right-click on the desktop to change the background. At this time, I do not believe Ubuntu intends to disable the desktop by default like vanilla Gnome.
Comment 1 Jeremy Bicha 2011-05-02 06:45:25 UTC
As I learned at bug https://bugzilla.gnome.org/show_bug.cgi?id=649074, I was doing this wrong. When I did it right, I no longer have this bug.
Comment 2 Jeremy Bicha 2011-05-02 08:56:28 UTC
Never mind. This is still broken even when I do this correctly.

Revised Steps to Reproduce
1. gsettings set org.gnome.desktop.background show-desktop-icons true
2. Add nautilus.desktop to either /etc/xdg/autostart/ or ~/.config/autostart/
Exec=nautilus -n
As a bonus, add this line:
AutostartCondition=GSettings org.gnome.desktop.background show-desktop-icons
3. Log out and log back in.
Comment 3 Cosimo Cecchi 2011-05-02 13:08:51 UTC
I just tried this myself, and it works fine. Please follow up with more details on how this would be broken for you, but I'll have to mark this bug as a duplicate of bug 649074.

*** This bug has been marked as a duplicate of bug 649074 ***
Comment 4 Jeremy Bicha 2011-05-02 13:33:11 UTC
Continuing on from comment 2,

Step 4. Open the Files application by using the Applications menu. Nautilus does not start. Alternatively try to open nautilus from a Terminal. Nautius does not open; however, if I type nautilus plus a path like "nautilus ." then nautilus opens.

I have confirmed this on Ubuntu 11.04 and the Gnome 3 Fedora Live CD from gnome.org.
Comment 5 Cosimo Cecchi 2011-05-02 14:16:58 UTC
Hi Jeremy, you're right. There was a bug in NautilusApplication that made that not working properly in case Nautilus was started with the session.
This is now fixed in master.
Comment 6 Jeremy Bicha 2011-05-02 14:23:03 UTC
Awesome, thanks!
Comment 7 Cosimo Cecchi 2011-06-27 20:37:36 UTC
*** Bug 649603 has been marked as a duplicate of this bug. ***