source: trunk/dports/textproc/recoll/files/patch-sampleconf-mimeview.diff @ 140222

Last change on this file since 140222 was 111989, checked in by ryandesign@…, 7 years ago

recoll: maintainer update to 1.19.7 (#40701)

File size: 5.0 KB
RevLine 
[111989]1--- sampleconf/mimeview 2013-09-30 18:45:06.000000000 +0200
2+++ sampleconf/mimeview.mac     2013-09-30 18:45:06.000000000 +0200
[79261]3@@ -2,7 +2,8 @@
4 
5 ## ##########################################
6 # External viewers, launched by the recoll GUI when you click on a result
7-# 'edit' link
[87596]8+# 'Open' link - MAC version
[111989]9+# On the MAC, we use "open" for everything...
[79261]10 
11 # Mime types which we should not uncompress if they are found gzipped or
12 # bzipped because the native viewer knows how to handle. These would be
[111989]13@@ -16,20 +17,17 @@
14 #    search string
15 #  - For pages of CHM and EPUB documents where we can choose to open the
16 #    parent document instead of a temporary html file.
17-xallexcepts = application/pdf application/postscript application/x-dvi \
18- text/html|gnuinfo text/html|chm text/html|epub \
19- application/x-fsdirectory|parentopen inode/directory|parentopen
20+#xallexcepts = application/pdf application/postscript application/x-dvi \
21+#            text/html|gnuinfo text/html|chm text/html|epub
[79261]22 
23 [view]
24 # Pseudo entry used if the 'use desktop' preference is set in the GUI
[111989]25-application/x-all = xdg-open %u
[79261]26+application/x-all = open %f
27 
[111989]28 application/epub+zip = ebook-viewer %f
29-# Open the parent epub document for epub parts instead of opening them as
30-# html documents. This is almost always what we want.
31-text/html|epub = ebook-viewer %F;ignoreipath=1
32-
33-application/x-gnote = gnote %f
34+# If you want to open the parent epub document for epub parts instead of
35+# opening them as html documents:
36+#text/html|epub = ebook-viewer %F;ignoreipath=1
[79261]37 
[111989]38 application/x-mobipocket-ebook = ebook-viewer %f
[87596]39 
[111989]40@@ -76,13 +74,9 @@
41 application/vnd.wordperfect = libreoffice %f
42 text/rtf = libreoffice %f
[87596]43 
[111989]44+application/x-chm = kchmviewer %f
[93324]45 application/x-dia-diagram = dia %f
[111989]46-
47 application/x-fsdirectory = dolphin %f
48-inode/directory = dolphin %f
49-application/x-fsdirectory|parentopen = dolphin --select %(childurl) %f
50-inode/directory|parentopen = dolphin --select %(childurl) %f
51-
[79261]52 application/x-gnuinfo = xterm -e "info -f %f"
[93324]53 application/x-gnumeric = gnumeric %f
[87596]54 
[111989]55@@ -102,11 +96,6 @@
56 image/x-ms-bmp = gwenview %f
57 image/x-xpmi = gwenview %f
[93324]58 
[111989]59-# Opening mail messages not always works.
60-#  - Thunderbird will only open a single-message file if it has an .emf
61-#    extension
62-#  - "sylpheed %f" seems to work ok as of version 3.3
63-#  - "kmail --view %u" works
[93324]64 message/rfc822 = thunderbird -file %f
65 text/x-mail = thunderbird -file %f
[111989]66 application/x-mimehtml = thunderbird -file %f
67@@ -119,11 +108,11 @@
68 application/x-tar = ark %f
69 application/zip = ark %f
[93324]70 
[111989]71-application/x-awk = emacsclient --no-wait %f
72-application/x-perl = emacsclient --no-wait %f
73-text/x-perl = emacsclient --no-wait %f
74-application/x-shellscript = emacsclient --no-wait %f
75-text/x-shellscript = emacsclient --no-wait %f
76+application/x-awk = emacsclient  %f
77+application/x-perl = emacsclient  %f
78+text/x-perl = emacsclient  %f
79+application/x-shellscript = emacsclient  %f
80+text/x-shellscript = emacsclient  %f
81 
82 # Or firefox -remote "openFile(%u)"
83 text/html = firefox %u
84@@ -135,41 +124,39 @@
85 
86 application/x-webarchive = konqueror %f
87 text/x-fictionbook = ebook-viewer %f
88-application/x-tex = emacsclient --no-wait  %f
89-application/xml = emacsclient --no-wait  %f
90-text/xml = emacsclient --no-wait  %f
91-text/x-tex = emacsclient --no-wait  %f
92-text/plain = emacsclient --no-wait  %f
93-text/x-awk = emacsclient --no-wait  %f
94-text/x-c = emacsclient --no-wait  %f
95-text/x-c+ = emacsclient --no-wait  %f
96-text/x-c++ = emacsclient --no-wait  %f
97+application/x-tex = emacsclient  %f
98+application/xml = emacsclient  %f
99+text/xml = emacsclient  %f
100+text/x-tex = emacsclient  %f
101+text/plain = emacsclient  %f
102+text/x-awk = emacsclient  %f
103+text/x-c = emacsclient  %f
104+text/x-c+ = emacsclient  %f
105+text/x-c++ = emacsclient  %f
106 text/x-csv = libreoffice %f
107 text/x-html-sidux-man = konqueror %f
108 text/x-html-aptosid-man = iceweasel %f
109 
110-application/x-chm = kchmviewer %f
111 # Html pages inside a chm have a chm rclaptg set by the filter. Kchmviewer
112 # knows how to use the ipath (which is the internal chm path) to open the
113 # file at the right place
114 text/html|chm = kchmviewer --url %i %F
115 
116-text/x-ini = emacsclient --no-wait %f
117+text/x-ini = emacsclient %f
118 text/x-man = xterm -u8 -e "groff -T ascii -man %f | more"
[79261]119 text/x-python = idle %f
[111989]120-text/x-gaim-log = emacsclient --no-wait  %f
121-text/x-purple-html-log = emacsclient --no-wait  %f
122-text/x-purple-log = emacsclient --no-wait  %f
123+text/x-gaim-log = emacsclient  %f
124+text/x-purple-html-log = emacsclient  %f
125+text/x-purple-log = emacsclient  %f
126 
127 # The video types will usually be handled by the desktop default, but they
128 # need entries here to get an "Open" link
129-video/3gpp = vlc %f
130-video/mp2p = vlc %f
131-video/mp2t = vlc %f
132-video/mp4 = vlc %f
133-video/mpeg = vlc %f
134-video/quicktime = vlc %f
135-video/x-matroska = vlc %f
136-video/x-ms-asf = vlc %f
137-video/x-msvideo = vlc %f
138-
139+video/3gpp = open %f
140+video/mp2p = open %f
141+video/mp2t = open %f
142+video/mp4 = open %f
143+video/mpeg = open %f
144+video/quicktime = open %f
145+video/x-matroska = open %f
146+video/x-ms-asf = open %f
147+video/x-msvideo = open %f
Note: See TracBrowser for help on using the repository browser.