Added a few know suffixes to avoid unnecessary xdg-mime execs
This commit is contained in:
parent
3a9d7f7cb6
commit
d883500c17
@ -15,6 +15,8 @@
|
|||||||
.rst = text/plain
|
.rst = text/plain
|
||||||
.md = text/plain
|
.md = text/plain
|
||||||
.gv = text/plain
|
.gv = text/plain
|
||||||
|
.desktop = text/plain
|
||||||
|
.json = text/plain
|
||||||
|
|
||||||
# .log is in the default noContentSuffixes, so this will also need a recoll.conf setting to do
|
# .log is in the default noContentSuffixes, so this will also need a recoll.conf setting to do
|
||||||
# anything
|
# anything
|
||||||
@ -58,6 +60,7 @@
|
|||||||
.ipynb = application/x-ipynb+json
|
.ipynb = application/x-ipynb+json
|
||||||
|
|
||||||
.xml = text/xml
|
.xml = text/xml
|
||||||
|
.opf = text/xml
|
||||||
|
|
||||||
.note = application/x-gnote
|
.note = application/x-gnote
|
||||||
|
|
||||||
@ -90,16 +93,20 @@
|
|||||||
.svg = image/svg+xml
|
.svg = image/svg+xml
|
||||||
.dia = application/x-dia-diagram
|
.dia = application/x-dia-diagram
|
||||||
|
|
||||||
|
# Compressed files
|
||||||
.gz = application/x-gzip
|
.gz = application/x-gzip
|
||||||
.Z = application/x-gzip
|
.Z = application/x-gzip
|
||||||
.bz2 = application/x-bzip2
|
.bz2 = application/x-bzip2
|
||||||
.rar = application/x-rar
|
.lzma = application/x-lzma
|
||||||
#.Z = application/x-compress
|
.xz = application/x-xz
|
||||||
.zip = application/zip
|
|
||||||
.7z = application/x-7z-compressed
|
|
||||||
.maff = application/zip
|
|
||||||
.zst = application/x-zstd
|
.zst = application/x-zstd
|
||||||
|
|
||||||
|
# Archives
|
||||||
|
.rar = application/x-rar
|
||||||
|
.zip = application/zip
|
||||||
|
.maff = application/zip
|
||||||
|
.7z = application/x-7z-compressed
|
||||||
|
|
||||||
# The rcltar module can handle compressed tar formats internally so we
|
# The rcltar module can handle compressed tar formats internally so we
|
||||||
# use application/x-tar for all tar files compressed or not. Note that tar
|
# use application/x-tar for all tar files compressed or not. Note that tar
|
||||||
# file indexing is disabled by default, you'll need to copy and uncomment
|
# file indexing is disabled by default, you'll need to copy and uncomment
|
||||||
@ -123,7 +130,9 @@
|
|||||||
.chm = application/x-chm
|
.chm = application/x-chm
|
||||||
|
|
||||||
.epub = application/epub+zip
|
.epub = application/epub+zip
|
||||||
|
.kepub = application/epub+zip
|
||||||
.mobi = application/x-mobipocket-ebook
|
.mobi = application/x-mobipocket-ebook
|
||||||
|
.lit = application/x-ms-reader
|
||||||
|
|
||||||
# OpenOffice / opendocument. We handle opendocument as old openoffice files
|
# OpenOffice / opendocument. We handle opendocument as old openoffice files
|
||||||
# for now
|
# for now
|
||||||
@ -200,6 +209,7 @@
|
|||||||
.ogg = application/ogg
|
.ogg = application/ogg
|
||||||
.ogx = audio/ogg
|
.ogx = audio/ogg
|
||||||
.opus = audio/ogg
|
.opus = audio/ogg
|
||||||
|
.wav = audio/x-wav
|
||||||
.wv = audio/x-wavpack
|
.wv = audio/x-wavpack
|
||||||
|
|
||||||
.mkv = video/x-matroska
|
.mkv = video/x-matroska
|
||||||
|
|||||||
@ -88,8 +88,8 @@ onlyNames =
|
|||||||
# can be redefined for subdirectories.</descr></var>
|
# can be redefined for subdirectories.</descr></var>
|
||||||
noContentSuffixes = .md5 .map \
|
noContentSuffixes = .md5 .map \
|
||||||
.o .lib .dll .a .sys .exe .com \
|
.o .lib .dll .a .sys .exe .com \
|
||||||
.mpp .mpt .vsd \
|
.mpp .mpt .vsd .sqlite \
|
||||||
.img .img.gz .img.bz2 .img.xz .image .image.gz .image.bz2 .image.xz \
|
.img .img.gz .img.bz2 .img.xz .image .image.gz .image.bz2 .image.xz .ttf \
|
||||||
.dat .bak .rdf .log.gz .log .db .msf .pid \
|
.dat .bak .rdf .log.gz .log .db .msf .pid \
|
||||||
,v ~ #
|
,v ~ #
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user