Changing file associations in GNOME

filesgnomenautilus

This blog post talks about how to change the default application to handle a file type in Nautilus for individual file types (right-click on the file, "open with", and select the new default application), but is there a way to list all current associations and configure them in one go, similar to the Windows "folder options | file types" tab? There seem to be a bunch of default associations that I want to change (all various image files are being opened in IceWeasel instead of the image viewer), and I don't want to have to change them one-by-one in the file manager. If there's no GUI for doing this, then where does Nautilus store its file associations? Can I edit them with a text editor?

Best Answer

On my system (Debian Jessie) I found all the normal methods of specifying a default application wouldn't override the one hiding in ~/.config/mimeapps.list.

Thunar insisted on opening a particular file with gedit even after I told it to make the correct application the default. When I removed the setting from ~/.config/mimeapps.list, it started working properly again.

Related Question