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?
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?
This did it for me, after I google for a while:
I also typed:
I spent AGES trying to find a method that would work. Eventually I found this advice, which is incredibly easy, and worked for me:
Install
exo-utils
(this package contains the Xfce settings plugin and the utility files for libexo-2-0). Open a terminal and type:Then run:
then switch to Utilities tab and select File Manager you prefer.
The file manager choice is handled by a file in
~/.local/share/applications
. They aremimeapps.list
andmimeinfo.cache
, deleting both of those files will reset your file manager to the default, which is Nautilus.sudo mv /usr/bin/nemo /usr/bin/nemo.backup
xdg-open /path/to/folder/
while in the command line, for example. Or you could use a X application that requests a file./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.
The answers here didn't work for me on Debian Bookworm - so after figuring it out myself:
Premise
Every time I attempt to leverage
xdg-open
on a directory (typically through an application; like Keybase's "open in file explorer" option, or something similar in Steam), what opens is Visual Studio Code.What doesnt work
Attempting to "Open with other application" a directory via the context menu in "Files" [Nautilus] (file explorer when using Gnome on Debian) and then "Forget association" on Visual Studio Code (right click on it in the list of applications), subsequently choosing "Files" to open the directory with - does not fix what is used for directories when
xdg-open
is invoked; it only changes what opens a directory from within "Files" [Nautilus].What does work
Run the following:
The standard, as explained, is as follows:
xdg-mime default
org.gnome.Nautilus.desktop
org.gnome.Nautilus.desktop
.inode/directory
inode/directory
(found usingxdg-mime query filetype /path/to/target
, with target in my case being a directory.)The accepted answer results in
Nautilus.desktop
andapplication/x-gnome-saved-search
becoming the default application(s); which is not correct, it must needs beorg.gnome.Nautilus.desktop
.Also, setting desktop icons to be shown won't set the default application when opening directories via
xdg-open
.Alternatively, you can also set it as follows:
Scroll down to
inode/directory
under[Added Associations]
, as well under[Default Applications]
, and ensure that the line(s) read:You can additionally add, under
[Removed Associations]
:This is just the manual, longer, way of doing what I suggested first - together with the "Forget association" bit I portrayed I had attempted