|
a/src/sampleconf/mimeconf |
|
b/src/sampleconf/mimeconf |
|
... |
|
... |
24 |
#
|
24 |
#
|
25 |
# The %f parameter will be substituted with the input file.
|
25 |
# The %f parameter will be substituted with the input file.
|
26 |
#
|
26 |
#
|
27 |
# The script (ie: rcluncomp) must output the uncompressed file name on
|
27 |
# The script (ie: rcluncomp) must output the uncompressed file name on
|
28 |
# stdout.
|
28 |
# stdout.
|
|
|
29 |
application/gzip = uncompress rcluncomp gunzip %f %t
|
29 |
application/x-gzip = uncompress rcluncomp gunzip %f %t
|
30 |
application/x-gzip = uncompress rcluncomp gunzip %f %t
|
30 |
application/x-compress = uncompress rcluncomp gunzip %f %t
|
31 |
application/x-compress = uncompress rcluncomp gunzip %f %t
|
31 |
application/x-bzip2 = uncompress rcluncomp bunzip2 %f %t
|
32 |
application/x-bzip2 = uncompress rcluncomp bunzip2 %f %t
|
32 |
application/x-xz = uncompress rcluncomp unxz %f %t
|
33 |
application/x-xz = uncompress rcluncomp unxz %f %t
|
33 |
application/x-lzma = uncompress rcluncomp unxz %f %t
|
34 |
application/x-lzma = uncompress rcluncomp unxz %f %t
|
|
... |
|
... |
39 |
# document in simple html format, have a look at the scripts.
|
40 |
# document in simple html format, have a look at the scripts.
|
40 |
# A different format (ie text/plain), and a character set can be defined for
|
41 |
# A different format (ie text/plain), and a character set can be defined for
|
41 |
# each filter, see the exemples below (ie: msword)
|
42 |
# each filter, see the exemples below (ie: msword)
|
42 |
[index]
|
43 |
[index]
|
43 |
application/epub+zip = execm rclepub
|
44 |
application/epub+zip = execm rclepub
|
|
|
45 |
# Returned by xdg-mime for .js. Future-proofing
|
|
|
46 |
application/javascript = internal text/plain
|
44 |
|
47 |
|
45 |
# MSWORD: the rcldoc script handles a number of marginal case that raw
|
48 |
# MSWORD: the rcldoc script handles a number of marginal case that raw
|
46 |
# antiword won't:
|
49 |
# antiword won't:
|
47 |
# - with wvWare: "text stream of this file is too small to handle"
|
50 |
# - with wvWare: "text stream of this file is too small to handle"
|
48 |
# - with unrtf: rtf files disguising as doc files.
|
51 |
# - with unrtf: rtf files disguising as doc files.
|
|
... |
|
... |
104 |
application/x-lyx = exec rcllyx
|
107 |
application/x-lyx = exec rcllyx
|
105 |
application/x-mimehtml = internal message/rfc822
|
108 |
application/x-mimehtml = internal message/rfc822
|
106 |
#application/x-mobipocket-ebook = execm rclmobi
|
109 |
#application/x-mobipocket-ebook = execm rclmobi
|
107 |
application/x-okular-notes = exec rclokulnote
|
110 |
application/x-okular-notes = exec rclokulnote
|
108 |
application/x-perl = internal text/plain
|
111 |
application/x-perl = internal text/plain
|
|
|
112 |
# Returned by xdg-mime for .php. Future-proofing
|
|
|
113 |
application/x-php = internal text/plain
|
109 |
application/x-rar = execm rclrar;charset=default
|
114 |
application/x-rar = execm rclrar;charset=default
|
110 |
application/x-scribus = exec rclscribus
|
115 |
application/x-scribus = exec rclscribus
|
111 |
application/x-shellscript = internal text/plain
|
116 |
application/x-shellscript = internal text/plain
|
112 |
#application/x-tar = execm rcltar
|
117 |
#application/x-tar = execm rcltar
|
113 |
application/x-tex = exec rcltex
|
118 |
application/x-tex = exec rcltex
|
|
... |
|
... |
159 |
|
164 |
|
160 |
## #############################################
|
165 |
## #############################################
|
161 |
# Icons to be used in the result list if required by gui config
|
166 |
# Icons to be used in the result list if required by gui config
|
162 |
[icons]
|
167 |
[icons]
|
163 |
application/epub+zip = book
|
168 |
application/epub+zip = book
|
|
|
169 |
application/javascript = source
|
164 |
application/msword = wordprocessing
|
170 |
application/msword = wordprocessing
|
165 |
application/ogg = sownd
|
171 |
application/ogg = sownd
|
166 |
application/pdf = pdf
|
172 |
application/pdf = pdf
|
167 |
application/postscript = postscript
|
173 |
application/postscript = postscript
|
168 |
application/vnd.ms-excel = spreadsheet
|
174 |
application/vnd.ms-excel = spreadsheet
|
|
... |
|
... |
201 |
application/x-lyx = wordprocessing
|
207 |
application/x-lyx = wordprocessing
|
202 |
application/x-mimehtml = message
|
208 |
application/x-mimehtml = message
|
203 |
application/x-mobipocket-ebook = document
|
209 |
application/x-mobipocket-ebook = document
|
204 |
application/x-okular-notes = document
|
210 |
application/x-okular-notes = document
|
205 |
application/x-perl = source
|
211 |
application/x-perl = source
|
|
|
212 |
application/x-php = source
|
206 |
application/x-rar = archive
|
213 |
application/x-rar = archive
|
207 |
application/x-scribus = document
|
214 |
application/x-scribus = document
|
208 |
application/x-scribus = wordprocessing
|
215 |
application/x-scribus = wordprocessing
|
209 |
application/x-shellscript = source
|
216 |
application/x-shellscript = source
|
210 |
application/x-tar = archive
|
217 |
application/x-tar = archive
|