Description
All files, no matter their type, and no matter what application I associate with the type, open with my default browser (Firefox), which then asks me to choose an application. This is very annoying.
It doesn't matter if I double-click, right-click and explicitly choose with which application to open the file, or even xdg-open file.name
, the file always opens with Firefox.
Context
I believe it happened after I upgraded to Ubuntu 18.04 a few weeks ago. I have now upgraded to 20.04 for this reason, but it did not help.
More information
Consider CSV files for instance... I have this association visible via xdg-mime
:
$ xdg-mime query default text/csv
libreoffice-calc.desktop
I have this association visible in "Files":
I also have this (just in case):
$ cat /usr/share/applications/mimeinfo.cache | grep csv
application/csv=libreoffice-calc.desktop;
text/csv=libreoffice-calc.desktop;
text/x-csv=libreoffice-calc.desktop;
Finally, I searched for all mimeapps.list
and defaults.list
files on my computer, and either they specify nothing, or point to libreoffice-calc.desktop
.
Similar questions
I have seen people report similar problems, but nothing discussed there has helped:
- How to properly and easy configure
xdg-open
without any environment? - `xdg-open` does not open files in the preferred applicaton
Does anyone have any clue?