0

How do you fix the file extension associations with LibreOffice Calc? I have a CSV-like file with a *.dsv file extension. Ubuntu has that file type set as a CSV document. When I explicitly try to open it with LibreOffice Calc, LibreOffice insists on opening it in Writer. E.g., I can run the command:

soffice --calc ./mydata.dsv

and LibreOffice will force it to open in Writer rather than Calc. How do I fix this?

1 Answer 1

0

If that doesn't work, then you can create a new MIME type, or create a .desktop file to set file association.

N.B. This question pretty much duplicates one in Ask Ubuntu.

3
  • I already tried that. I assigned *.dsv to the text/csv MIME type.
    – ohmu
    Commented Nov 11, 2020 at 18:50
  • The command tries launching the file with Calc but LibreOffice is opening it in Writer instead. *.csv files open fine.
    – ohmu
    Commented Nov 11, 2020 at 18:52
  • "I tried that": which one of the three suggestions did you try? Why did you not try the other two methods? Commented Nov 11, 2020 at 18:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .