Closed muellerto closed 1 year ago
Hi @muellerto. Two things come to my mind:
46
really a spreadsheet file, despite what the extension says?Lira
config file is not wide enough to recognize this specific MIME type.So, please tell me these two things:
46
: mm info 46
(or using file(1): file --mime-type 46
)Lira
config file (mm edit
). By default it looks like this: X:^application/.*(open|office)document.*=libreoffice;soffice;ooffice
Ah, I just learned that the extension is not the only criterion for determining a MIME type. I just copied another file into an xlsx
file but this has then no MIME type, says mm info
.
OK, maybe I was jumping the gun. Currently I make some experiments creating such files by C++ code. Maybe the file I checked was indeed not an ordinary xlsx
file. I'll have an eye on this during the next days and then I'll close the case. At the moment all my files work properly, that's why I can't detect any difference using mm info
.
Great! Please keep me informed.
BTW, you can use file extensions instead of MIME types in Lira
too, but it's not that reliable. There are a few examples in the configuration file.
Seems to be a problem with a corrupt file created by myself. Never had that again since then. (But it was cool to blame someone else ...)
Describe the bug I have two files with the same extension
.xlsx
which means Microsoft Excel files. One starts the right MIME application correctly, the other one does not. Look at the situation:First I tried number 25, everything correct, Excel has been started, I closed it. Then I tried number 46, an error message occurs. This happens also when I write the entire filename on the command line. Why?
Expected behavior The configured MIME application should always be started.
Desktop (please complete the following information):