44

I installed Ubuntu 12.10, then installed Nemo. Now I would like to make Nemo the default file manager. I've searched the web for a solution but every time I restart my computer Nautilus come back.

Does anyone know an effective solution?

wjandrea
  • 14,504
BAD_SEED
  • 565

3 Answers3

54

There is a much better way to do this without moving files and setting links. Just open a terminal with CTRL+ALT+T and perform this command:

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

Then set up Nemo to handle your desktop:

gsettings set org.gnome.desktop.background show-desktop-icons false
gsettings set org.nemo.desktop show-desktop-icons true

Revert this changes:

gsettings set org.gnome.desktop.background show-desktop-icons true
gsettings set org.nemo.desktop show-desktop-icons false
xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search
user5950
  • 6,406
24

Open your terminal with CTRL+ALT+T and then paste this:

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

then try again, hope that helps.

Note that this will effectively make Nautilus inaccessible on your system unless you modify shortcuts to point to nautilus.back.

Raja G
  • 105,327
  • 107
  • 262
  • 331
0

Here's what worked for me on 18.04 (source here):

If you have Nemo installed on your system and want to set Nemo as the default file manager, run this command in a terminal:

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

To revert this, enter

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

Nemo (the nemo.desktop app launcher to be exact) should now be the default file manager. To test the result, run this command:

xdg-open $HOME

That command should launch Nemo showing your home directory.