Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

A while back, I set my default file manager to Nemo. I like it a lot, but it constantly crashes. I remember editing a text file to set it as default, but I forgot which file it was. How do I switch back to the Nautilus file manager?

share|improve this question

5 Answers 5

up vote 9 down vote accepted

This did it for me, after I google for a while:

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

I also typed:

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

share|improve this answer

The file manager choice is handled by a file in ~/.local/share/applications. I don't remember if it is mimeapps.list or mimeapps.cache, but deleting both of those files will reset your file manager to the default, which is Nautilus.

share|improve this answer
1  
I'm afraid that solution didn't work. –  nick Jan 4 '13 at 14:12

After trying several solutions, I found an easy way to change my default file manager to Nemo (it seems to work for any file manager): How to set up Dolphin as default file manager?

share|improve this answer
1  
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Eliah Kagan Jan 17 '13 at 9:47
  1. sudo mv /usr/bin/nemo /usr/bin/nemo.backup
  2. Open any folder. You could use xdg-open /path/to/folder/ while in the command line, for example. Or you could use a X application that requests a file.
  3. A dialog should appear to you requesting a default application to be your file manager. Type /usr/bin/nautilus there and confirm.

After that, as long as you don't rename nemo to its original name/location, nautilus will be your default file manager again.

share|improve this answer

Official documentation for changing and restoring file manager:

Ubuntu documentation for Default File Manager

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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