8
  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
malisokan
  • 1,017

3 Answers3

4

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.

#inode/directory=nautilus-folder-handler.desktop
inode/directory=nemo.desktop

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

Antonio
  • 1,656
3

This does the trick

sudo mv /usr/bin/nautilus /usr/bin/natilus.back && sudo ln -s /usr/bin/nemo /usr/bin/nautilus
malisokan
  • 1,017
-1

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
BDRSuite
  • 3,196
  • 1
  • 13
  • 11