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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s