Nautilus does not open folders on desktop
Steps to reproduce
Double click on a folder on desktop does nothing. I can open the folder only using the "Open with" menu.
Reproducible in: Ubuntu 18.04
I tried all the possible solutions that I found around, with no success. If I kill nautilus-desktop and restart it I get the following message:
(nautilus-desktop:2256): Gtk-WARNING **: 12:02:46.328: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client ** (nautilus-desktop:2256): WARNING **: 12:02:46.337: Unable to create File Manager freedesktop proxy: Error calling StartServiceByName for org.freedesktop.FileManager1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.FileManager1: No such file or directory Nautilus-Share-Message: 12:02:46.615: Called "net usershare info" but it failed: 'net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.lock: Permission denied net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory Please ask your system administrator to enable user sharing.
And if I try to open the folder:
** (nautilus-desktop:2256): WARNING **: 12:02:59.636: cannot open folder on desktop, freedesktop bus not ready