1. I installed Ubuntu 14.04.
  2. Then I installed Nemo and configured it to be my new default file manager.

Most things works great, except for the browser Firefox. If I download a file and click in Firefox "Open Containing Folder", the browser will show the file with Nautilus and not with Nemo.

How to fix this?

My configuration to set Nemo to the default file manager:

xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
gsettings set org.gnome.desktop.background show-desktop-icons false
gsettings set org.nemo.desktop show-desktop-icons true

Output of xdg-mime query default inode/directory: nemo.desktop

The command xdg-open $HOME opens my home directory with Nemo.

Update: This command does the trick:

sudo mv /usr/bin/nautilus /usr/bin/natilus.back && sudo ln -s /usr/bin/nemo /usr/bin/nautilus

This is an awkward, quick and dirty solution you advocate. You Can't use Nautilus anymore. If it's your intention then it's better to remove it for good.

$ sudo apt-get remove nautilus

Otherwise I believe the proper solution is to modify the defaults.list file located in /usr/share/applications as suggested here.

In Ubuntu Xenial 16.04 I did comment out the original line and replaced nautilus with nemo e.g.


Then just restart Firefox and you will be OK ...

  • This is of course valid if you previously set Nemo as default modifying the gsettings. Instructions are widely available on webupd8.com, noobslab.com etc ... – Antonio Jun 6 '16 at 22:02

This does the trick

sudo mv /usr/bin/nautilus /usr/bin/natilus.back && sudo ln -s /usr/bin/nemo /usr/bin/nautilus
  • Also helps with Dropbox! – Xan Mar 11 '15 at 9:31
  • That shouldn't be a valid solution. That's just a dirty trick to make nemo as nautilus. – Alexis Apr 19 '20 at 12:15

Run the below command and check in which app the folder belongs too,

xdg-mime query default inode/directory

After doing so inorder to set nemo as your default try the below,

xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search

In order to check whether nemo has set as default use the below,

xdg-open $HOME
  • 2
    Sry, this does not solve the problem. My default file manager is already Nemo. Output of xdg-mime query default inode/directory: nemo.desktop. Firefox still opens the download folder with Nautilus. – malisokan Dec 26 '14 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.