Ubuntu – Can’t open desktop folders in Ubuntu 18.04

file associationfilemanagernautilus

I have a quite fresh installation of Ubuntu 18.04, When I create a directory on Desktop, I can't open it by double clicking on it. I have to right click → Open with other applicationFiles and then it works (it also works when I open Files manager and then go to "Desktop" and select that directory). How do I fix this?

Best Answer

The solution I found here by @Aashutosh Taikar worked for me in ubuntu 18.10:

sudo rm -f /usr/share/dbus-1/services/org.mate.freedesktop.FileManager1.service

After restarting my PC I was once more able to open desktop folders and the Rubbish Bin by double-clicking on their icons.

Before doing this nothing would happen when I clicked on them, and I'd just see error messages like this in my /var/log/syslog:

nautilus-deskto[1854]: cannot open folder on desktop, freedesktop bus not ready