Since I installed EasyTag on my Arch Linux several other programs use EasyTag instead of Nautilus as filebrowser.

For example, Firefox starts EasyTag if I click on "open containing folder".

Where can I set Nautilus as my "standard file browser"?


4 Answers 4


You can define the default file browser by editing the file ~/.local/share/applications/mimeapps.list. Open this file and change the line inode/directory as follow


If this doesn't work, you should change the filemanager in the file


by adding (or updating) this line

  • 2
    Yeah looks like easytag corrupted the inode/diectoryline in mimeinfo.cache: inode/directory=easytag.desktop;org.gnome.Nautilus.desktop; Was able to fix it, thx!
    – rockZ
    Commented Dec 30, 2016 at 21:35
  • 2
    It depends on factors that I cannot state, but in some cases the file manager only needs to be present (mentioned) after inode/directory=, even on the last position, no matter if others are also listed there and in what order. In case it doesn't work, one should try to put it there first, while keeping others. If this still doesn't work, it may be necessary to remove at least the culprit that takes over if not all other programs mentioned there except the file manager.
    – user32012
    Commented Jan 11, 2017 at 22:34
  • @iBlink - multiple programs listed there shouldn't be a problem, but sometimes is. Have you tried by just putting nautilus first? -- Keeping other programs there (like easytag or media players) may be useful as it adds them to the 'open with' context menu as an option for folders
    – user32012
    Commented Jan 11, 2017 at 23:10
  • @cipricus Ah multiple lines are for the open as context menu? Nice to knew since easytag somehow overwrites my changes all the time. I just add another line with inode/directory. Thanks
    – rockZ
    Commented Jan 12, 2017 at 15:26
  • How to avoid the problem entirely: unix.stackexchange.com/q/336982/32012
    – user32012
    Commented Jan 12, 2017 at 21:40

The following command solved this problem in arch linux:

xdg-mime default nautilus.desktop inode/directory

(Source: Arch Forums)

  • 2
    In my case the cache was the problem so I edited the file /usr/share/applications/mimeinfo.cache "with sudo" Commented Oct 22, 2018 at 4:26

You can find a comprehensive description of setting up default applications here in the according Arch wiki article.

For your specific case, you edit ~/.config/mimeapps.list and add a new line with inode/directory=nautilus.desktop to the section [Default Applications].

The file should look similar to the following one:

[Default Applications]
  • That worked form me I could't find the folder in the accepted answer Commented Sep 8, 2017 at 15:31
  • 2
    The file ~/.local/share/applications/mimeapps.list` is deprecated (I posted a comment about that to the accepted answer).
    – Marcus
    Commented Sep 8, 2017 at 15:38

Use env XDG_UTILS_DEBUG_LEVEL=10 xdg-mime query default inode/directory to get the full list of queried files. You'll get an output like this:

Checking ~/.config/mimeapps.list
Checking ~/.local/share/applications/gnome-defaults.list and ~/.local/share/applications/gnome-mimeinfo.cache
Checking ~/.local/share/applications/defaults.list and ~/.local/applications/mimeinfo.cache

Check each of these files.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .