|
a |
|
b/src/windows/mimeview |
|
|
1 |
## ##########################################
|
|
|
2 |
# External viewers, launched by the recoll GUI when you click on a result
|
|
|
3 |
# 'edit' link
|
|
|
4 |
#
|
|
|
5 |
# MS WINDOWS VERSION
|
|
|
6 |
#
|
|
|
7 |
# Mime types which we should not uncompress if they are found gzipped or
|
|
|
8 |
# bzipped because the native viewer knows how to handle. These would be
|
|
|
9 |
# exceptions and the list is normally empty
|
|
|
10 |
#nouncompforviewmts =
|
|
|
11 |
|
|
|
12 |
# For releases 1.18 and later: exceptions when using the x-all entry: these
|
|
|
13 |
# types will use their local definition. This is useful, e.g.:
|
|
|
14 |
#
|
|
|
15 |
# - for pdf, where we can pass additional parameters like page to open and
|
|
|
16 |
# search string
|
|
|
17 |
# - For pages of CHM and EPUB documents where we can choose to open the
|
|
|
18 |
# parent document instead of a temporary html file.
|
|
|
19 |
xallexcepts = \
|
|
|
20 |
text/html|gnuinfo text/html|chm text/html|epub \
|
|
|
21 |
application/x-fsdirectory|parentopen inode/directory|parentopen
|
|
|
22 |
|
|
|
23 |
[view]
|
|
|
24 |
# Pseudo entry used if the 'use desktop' preference is set in the GUI
|
|
|
25 |
application/x-all = cmd /c start %u
|
|
|
26 |
|
|
|
27 |
application/epub+zip = ebook-viewer %f
|
|
|
28 |
# Open the parent epub document for epub parts instead of opening them as
|
|
|
29 |
# html documents. This is almost always what we want.
|
|
|
30 |
text/html|epub = cmd /c start %F;ignoreipath=1
|
|
|
31 |
|
|
|
32 |
# directory. Thunar can't afaik. xdg-open cant pass an additional
|
|
|
33 |
# parameters so these are to be xallexcepts.
|
|
|
34 |
application/x-fsdirectory|parentopen = cmd /c start %f
|
|
|
35 |
inode/directory|parentopen = cmd /c start %f
|
|
|
36 |
|