Linux · June 8, 2016 0

How to change default file association in arch linux

Last day I installed the audacious and it was associated with all of my applications even file open was associated with audacious, I have searched all around the internet but nothing changed.

I changed the file association in multiple files but nothing changed, actual problem was the caching.

So I simply edited the caching file

sudo gedit /usr/share/applications/mimeinfo.cache

and changed the line from

inode/directory=audacious.desktop;org.gnome.Nautilus.desktop;

to

inode/directory=org.gnome.Nautilus.desktop;audacious.desktop;

Saved the file and now files are opening by nautilus.

You can change any file association there.