128 lines
4.0 KiB
Diff
128 lines
4.0 KiB
Diff
--- sampleconf/mimeview 2011-06-06 10:13:07.000000000 +0200
|
|
+++ sampleconf/mimeview.mac 2011-06-06 10:13:17.000000000 +0200
|
|
@@ -2,7 +2,8 @@
|
|
|
|
## ##########################################
|
|
# External viewers, launched by the recoll GUI when you click on a result
|
|
-# 'edit' link
|
|
+# 'Open' link - MAC version
|
|
+# On the MAC, we basically use "open" for everything...
|
|
|
|
# Mime types which we should not uncompress if they are found gzipped or
|
|
# bzipped because the native viewer knows how to handle. These would be
|
|
@@ -11,63 +12,70 @@
|
|
|
|
[view]
|
|
# Pseudo entry used if the 'use desktop' preference is set in the GUI
|
|
-application/x-all = xdg-open %f
|
|
+application/x-all = open %f
|
|
+
|
|
+[view]
|
|
|
|
application/x-kword = kword %f
|
|
application/x-abiword = abiword %f
|
|
|
|
-application/msword = openoffice %f
|
|
-application/ogg = xmms %f
|
|
-application/pdf = xpdf %f
|
|
-application/postscript = gv %f
|
|
-application/vnd.ms-excel = openoffice %f
|
|
-application/vnd.ms-powerpoint = openoffice %f
|
|
+application/pdf = open %f
|
|
+application/postscript = open %f
|
|
+application/x-dvi = open %f
|
|
+
|
|
+application/x-lyx = lyx %f
|
|
+application/x-scribus = scribus %f
|
|
+
|
|
+application/msword = open %f
|
|
+application/vnd.ms-excel = open %f
|
|
+application/vnd.ms-powerpoint = open %f
|
|
+
|
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document = \
|
|
- openoffice %f
|
|
+ open %f
|
|
application/vnd.openxmlformats-officedocument.wordprocessingml.template = \
|
|
- openoffice %f
|
|
+ open %f
|
|
application/vnd.openxmlformats-officedocument.presentationml.template = \
|
|
- openoffice %f
|
|
+ open %f
|
|
application/vnd.openxmlformats-officedocument.presentationml.presentation = \
|
|
- openoffice %f
|
|
+ open %f
|
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = \
|
|
- openoffice %f
|
|
+ open %f
|
|
application/vnd.openxmlformats-officedocument.spreadsheetml.template =\
|
|
- openoffice %f
|
|
-application/vnd.sun.xml.calc = openoffice %f
|
|
-application/vnd.sun.xml.calc.template = openoffice %f
|
|
-application/vnd.sun.xml.draw = openoffice %f
|
|
-application/vnd.sun.xml.draw.template = openoffice %f
|
|
-application/vnd.sun.xml.impress = openoffice %f
|
|
-application/vnd.sun.xml.impress.template = openoffice %f
|
|
-application/vnd.sun.xml.math = openoffice %f
|
|
-application/vnd.sun.xml.writer = openoffice %f
|
|
-application/vnd.sun.xml.writer.global = openoffice %f
|
|
-application/vnd.sun.xml.writer.template = openoffice %f
|
|
-application/vnd.wordperfect = openoffice %f
|
|
+ open %f
|
|
+application/vnd.sun.xml.calc = open %f
|
|
+application/vnd.sun.xml.calc.template = open %f
|
|
+application/vnd.sun.xml.draw = open %f
|
|
+application/vnd.sun.xml.draw.template = open %f
|
|
+application/vnd.sun.xml.impress = open %f
|
|
+application/vnd.sun.xml.impress.template = open %f
|
|
+application/vnd.sun.xml.math = open %f
|
|
+application/vnd.sun.xml.writer = open %f
|
|
+application/vnd.sun.xml.writer.global = open %f
|
|
+application/vnd.sun.xml.writer.template = open %f
|
|
+application/vnd.wordperfect = open %f
|
|
+
|
|
application/x-chm = kchmviewer %f
|
|
-application/x-dvi = xdvi %f
|
|
-application/x-fsdirectory = rox %f
|
|
-application/x-flac = xmms %f
|
|
+application/x-fsdirectory = open %f
|
|
application/x-gnuinfo = xterm -e "info -f %f"
|
|
-application/x-lyx = lyx %f
|
|
-application/x-scribus = scribus %f
|
|
-application/x-tex = gnuclient -q %f
|
|
-text/x-tex = gnuclient -q %f
|
|
-audio/mpeg = xmms %f
|
|
-image/jpeg = xv %f
|
|
-image/png = xv %f
|
|
-image/tiff = xv %f
|
|
-image/gif = xv %f
|
|
+
|
|
+application/x-flac = open %f
|
|
+audio/mpeg = open %f
|
|
+application/ogg = open %f
|
|
+
|
|
+image/jpeg = open %f
|
|
+image/png = open %f
|
|
+image/tiff = open %f
|
|
+image/gif = open %f
|
|
+
|
|
image/svg+xml = inkview %f
|
|
image/vnd.djvu = djview %f
|
|
-# Or firefox -remote "openFile(%u)"
|
|
-text/html = firefox %u
|
|
+
|
|
+application/x-tex = open %f
|
|
+text/x-tex = open %f
|
|
+text/html = open %u
|
|
text/html|gnuinfo = rclshowinfo %F %(title)
|
|
-text/plain = gnuclient -q %f
|
|
-text/x-c = gnuclient -q %f
|
|
-text/x-c+ = gnuclient -q %f
|
|
-text/x-c++ = gnuclient -q %f
|
|
-text/x-html-sidux-man = konqueror %f
|
|
-text/x-html-aptosid-man = iceweasel %f
|
|
+text/plain = open %f
|
|
+text/x-c = open %f
|
|
+text/x-c+ = open %f
|
|
+text/x-c++ = open %f
|
|
text/x-python = idle %f
|