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

Last change on this file since 87596 was 87596, checked in by ryandesign@…, 9 years ago

recoll: maintainer update to 1.16.2; see #32294

File size: 4.2 KB
RevLine 
[87596]1--- sampleconf/mimeview 2011-10-11 08:44:09.000000000 +0200
2+++ sampleconf/mimeview.mac     2011-11-27 17:55:42.000000000 +0100
[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
9+# On the MAC, we basically 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
[87596]13@@ -11,74 +12,71 @@
[79261]14 
15 [view]
16 # Pseudo entry used if the 'use desktop' preference is set in the GUI
17-application/x-all = xdg-open %f
18+application/x-all = open %f
19 
20 application/x-kword = kword %f
21 application/x-abiword = abiword %f
22 
[87596]23-application/pdf  = okular %f
24-application/postscript = okular %f
25-application/x-dvi = okular %f
[79261]26+application/pdf  = open %f
27+application/postscript = open %f
28+application/x-dvi = open %f
[87596]29 
30 application/x-lyx = lyx %f
31 application/x-scribus = scribus %f
32 
33-application/msword = libreoffice %f
34-application/vnd.ms-excel = libreoffice %f
35-application/vnd.ms-powerpoint = libreoffice %f
[79261]36+application/msword = open %f
37+application/vnd.ms-excel = open %f
38+application/vnd.ms-powerpoint = open %f
[87596]39 
[79261]40 application/vnd.openxmlformats-officedocument.wordprocessingml.document = \
[87596]41- libreoffice %f
[79261]42+ open %f
43 application/vnd.openxmlformats-officedocument.wordprocessingml.template = \
[87596]44- libreoffice %f
[79261]45+ open %f
46 application/vnd.openxmlformats-officedocument.presentationml.template = \
[87596]47- libreoffice %f
[79261]48+ open %f
49 application/vnd.openxmlformats-officedocument.presentationml.presentation = \
[87596]50- libreoffice %f
[79261]51+ open %f
52 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = \
[87596]53- libreoffice %f
[79261]54+ open %f
55 application/vnd.openxmlformats-officedocument.spreadsheetml.template =\
[87596]56- libreoffice %f
57-application/vnd.sun.xml.calc = libreoffice %f
58-application/vnd.sun.xml.calc.template = libreoffice %f
59-application/vnd.sun.xml.draw = libreoffice %f
60-application/vnd.sun.xml.draw.template = libreoffice %f
61-application/vnd.sun.xml.impress = libreoffice %f
62-application/vnd.sun.xml.impress.template = libreoffice %f
63-application/vnd.sun.xml.math = libreoffice %f
64-application/vnd.sun.xml.writer = libreoffice %f
65-application/vnd.sun.xml.writer.global = libreoffice %f
66-application/vnd.sun.xml.writer.template = libreoffice %f
67-application/vnd.wordperfect = libreoffice %f
[79261]68+ open %f
69+application/vnd.sun.xml.calc = open %f
70+application/vnd.sun.xml.calc.template = open %f
71+application/vnd.sun.xml.draw = open %f
72+application/vnd.sun.xml.draw.template = open %f
73+application/vnd.sun.xml.impress = open %f
74+application/vnd.sun.xml.impress.template = open %f
75+application/vnd.sun.xml.math = open %f
76+application/vnd.sun.xml.writer = open %f
77+application/vnd.sun.xml.writer.global = open %f
78+application/vnd.sun.xml.writer.template = open %f
79+application/vnd.wordperfect = open %f
[87596]80 
[79261]81 application/x-chm = kchmviewer %f
[87596]82-application/x-fsdirectory = dolphin %f
[79261]83+application/x-fsdirectory = open %f
84 application/x-gnuinfo = xterm -e "info -f %f"
[87596]85 
86-application/x-flac = rhythmbox %f
87-audio/mpeg = rhythmbox %f
88-application/ogg = rhythmbox %f
89-
90-image/jpeg = gwenview %f
91-image/png = gwenview %f
92-image/tiff = gwenview %f
93-image/gif  = gwenview %f
94-image/svg+xml = inkview %f
95-image/vnd.djvu = djview %f
96-image/x-xcf = gimp %f
97-image/bmp = gwenview %f
98-image/x-ms-bmp = gwenview %f
99-image/x-xpmi = gwenview %f
100-
101-# Or firefox -remote "openFile(%u)"
102-application/x-tex = emacsclient  %f
103-text/x-tex = emacsclient  %f
104-text/html = firefox %u
[79261]105+application/x-flac = open %f
106+audio/mpeg = open %f
107+application/ogg = open %f
108+
109+image/jpeg = open %f
110+image/png = open %f
111+image/tiff = open %f
112+image/gif  = open %f
[87596]113+image/svg+xml = open %f
114+image/vnd.djvu = open %f
115+image/x-xcf = open %f
116+image/bmp = open %f
117+image/x-ms-bmp = open %f
118+image/x-xpmi = open %f
[79261]119+
120+application/x-tex = open %f
121+text/x-tex = open %f
122+text/html = open %u
123 text/html|gnuinfo = rclshowinfo %F %(title)
[87596]124-text/plain = emacsclient  %f
125-text/x-c = emacsclient  %f
126-text/x-c+ = emacsclient  %f
127-text/x-c++ = emacsclient  %f
[79261]128-text/x-html-sidux-man = konqueror %f
129-text/x-html-aptosid-man = iceweasel %f
130+text/plain = open %f
131+text/x-c = open %f
132+text/x-c+ = open %f
133+text/x-c++ = open %f
134 text/x-python = idle %f
Note: See TracBrowser for help on using the repository browser.