Martin Ziegler writes:
 > Package: recoll
 > Version: 1.17.2-1
 > Severity: important
 > 
 > In the new version the gui opens compressed textfiles (like
 > textfile.txt.gz, textfile.txt.bz2, textfile.txt.zip) with gnumeric.
 > 
 > This is because the uncompressed files are saved in  temporary
 > files like /tmp/rcltmpfchWV69.csv, which are then opened with xdg-open.
 > 
 > Regards,
 > 
 > Martin

Hi,

You can apply the attached patch to the central configuration (or the one
in the source), or perform the equivalent modifications to your personal
configuration, it should fix the issue. 

What it does is say that .csv files should be indexed as text/plain, but
processed as a separate type otherwise. This will avoid chosing "csv" when
looking for an appropriate suffix for text/plain...

In ~/.recoll this would become:

-- mimemap:

.csv = text/x-csv

-- mimeview:

[view]
text/x-csv = libreoffice %f

-- mimeconf:

[index]
text/x-csv = internal text/plain

[icons]
text/x-csv = txt

[categories]

# Add text/x-csv to the "text" category list




Cheers,

jf

Attachment: txtcsvopen.diff
Description: Binary data

Reply via email to