GNOME Bugzilla – Bug 649063
File Browser does not work correctly when Nautilus draws desktop
Last modified: 2011-06-27 20:37:36 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.
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.
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.
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 ***
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.
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.
Awesome, thanks!
*** Bug 649603 has been marked as a duplicate of this bug. ***