If you’re scratching your head wondering why your launchers for folders and drives are opening with something other than the default file manager, Nautilus, then hopefully the answer you’re looking for is here.
If you’re experiencing this, you might find your desktop launchers to be fine, but those you’ve custom made for your panel, and even those in the Places menu, will be opening with the wrong program.
In my case, I had right-clicked a DVD’s VIDEO_TS folder and used Open With to open the title with SMPlayer (since the folder was on my hard drive), and all was well – until I clicked a location launcher on my panel. I had done this before without issue, but suddenly all my location launchers started opening SMPlayer, which then tried to find anything to play in the folder Nautilus was supposed to open. It might be a coincidence, but I saw others complaining of this strangeness occurring with another media player – the popular VLC.
If something similar is happening to you, you don’t need me to tell you that something has changed the default app for the task. And while you may have done similar to me in opening a folder with a program like a media player, there is no way you could have accidentally set it to be the default task. But there is a way to fix this, and you don’t even need root privileges for it.
Simply run the following command in a terminal or via Alt+F2:
When the file opens, look for the line starting with inode/directory= and you should see the offending app listed at the beginning, ahead of Nautilus. All you have to do is either remove it or put it on the end of the line, making sure that nautilus-folder-handler.desktop is directly after inode/directory=.
Once you save and exit the file, your location launchers should be back to normal.
Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!