Ask Your Question
0

How to fix file association in Ubuntu?

asked 2015-08-12 17:24:44 +0100

yorro gravatar image

updated 2016-03-18 12:17:44 +0100

Alex Kemp gravatar image

I've just recently installed Libreoffice 4.4.5 in my laptop (running Ubuntu 14.04.2).

The application is running well. However, it does not automatically open related files (.odt, .doc, .xls, etc.). Manual fix is to open the file with the appropriate Libreoffice application, right? That works.

However, now I notice that everytime I open a document of the same file extension (e.g. .odt), it will open first the first file I manually opened through the said method. It seems like the file extension has been associated to that first document, not the actual application used to open documents of that type.

Ex: I found that essay.odt does not open with LO Writer. So I did the manual method. It opened. I wanted to open essay2.odt. After double-clicking the file, essay.odt opens first, then essay2.odt.

Also, I don't want to do this to all document file types. So how do I properly fix the file associations?

EDIT:

So I did a purge, then removal of a file in ~/.local/share/applications, and the first problem doesn't seem to come up anymore.

However, I still have a problem with the file type association, i.e. I still have to manually assign each file type to the appropriate LO program. The question still stands: how do I fix this? (Or is there a way to fix the all related associations automatically?)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2015-10-07 00:25:22 +0100

Alex Kemp gravatar image

Hi yorro

AFAIK this is OS-specific rather than LO-specific.

Here is a link that should help:
http://libre-software.net/change-the-default-application-linux-mint-ubuntu/

If this helps then please tick the answer (✔)
...and/or show you like it with an uptick ()

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-08-12 16:51:30 +0100

Seen: 2,064 times

Last updated: Oct 07 '15