Ticket #32294: patch-sampleconf-mimeview.diff
File patch-sampleconf-mimeview.diff, 4.2 KB (added by medoc92 (Jean-Francois Dockes), 13 years ago) |
---|
-
sampleconf/mimeview
old new 2 2 3 3 ## ########################################## 4 4 # External viewers, launched by the recoll GUI when you click on a result 5 # 'edit' link 5 # 'Open' link - MAC version 6 # On the MAC, we basically use "open" for everything... 6 7 7 8 # Mime types which we should not uncompress if they are found gzipped or 8 9 # bzipped because the native viewer knows how to handle. These would be … … 11 12 12 13 [view] 13 14 # Pseudo entry used if the 'use desktop' preference is set in the GUI 14 application/x-all = xdg-open %f15 application/x-all = open %f 15 16 16 17 application/x-kword = kword %f 17 18 application/x-abiword = abiword %f 18 19 19 application/pdf = o kular%f20 application/postscript = o kular%f21 application/x-dvi = o kular%f20 application/pdf = open %f 21 application/postscript = open %f 22 application/x-dvi = open %f 22 23 23 24 application/x-lyx = lyx %f 24 25 application/x-scribus = scribus %f 25 26 26 application/msword = libreoffice%f27 application/vnd.ms-excel = libreoffice%f28 application/vnd.ms-powerpoint = libreoffice%f27 application/msword = open %f 28 application/vnd.ms-excel = open %f 29 application/vnd.ms-powerpoint = open %f 29 30 30 31 application/vnd.openxmlformats-officedocument.wordprocessingml.document = \ 31 libreoffice%f32 open %f 32 33 application/vnd.openxmlformats-officedocument.wordprocessingml.template = \ 33 libreoffice%f34 open %f 34 35 application/vnd.openxmlformats-officedocument.presentationml.template = \ 35 libreoffice%f36 open %f 36 37 application/vnd.openxmlformats-officedocument.presentationml.presentation = \ 37 libreoffice%f38 open %f 38 39 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = \ 39 libreoffice%f40 open %f 40 41 application/vnd.openxmlformats-officedocument.spreadsheetml.template =\ 41 libreoffice%f42 application/vnd.sun.xml.calc = libreoffice%f43 application/vnd.sun.xml.calc.template = libreoffice%f44 application/vnd.sun.xml.draw = libreoffice%f45 application/vnd.sun.xml.draw.template = libreoffice%f46 application/vnd.sun.xml.impress = libreoffice%f47 application/vnd.sun.xml.impress.template = libreoffice%f48 application/vnd.sun.xml.math = libreoffice%f49 application/vnd.sun.xml.writer = libreoffice%f50 application/vnd.sun.xml.writer.global = libreoffice%f51 application/vnd.sun.xml.writer.template = libreoffice%f52 application/vnd.wordperfect = libreoffice%f42 open %f 43 application/vnd.sun.xml.calc = open %f 44 application/vnd.sun.xml.calc.template = open %f 45 application/vnd.sun.xml.draw = open %f 46 application/vnd.sun.xml.draw.template = open %f 47 application/vnd.sun.xml.impress = open %f 48 application/vnd.sun.xml.impress.template = open %f 49 application/vnd.sun.xml.math = open %f 50 application/vnd.sun.xml.writer = open %f 51 application/vnd.sun.xml.writer.global = open %f 52 application/vnd.sun.xml.writer.template = open %f 53 application/vnd.wordperfect = open %f 53 54 54 55 application/x-chm = kchmviewer %f 55 application/x-fsdirectory = dolphin %f56 application/x-fsdirectory = open %f 56 57 application/x-gnuinfo = xterm -e "info -f %f" 57 58 58 application/x-flac = rhythmbox %f 59 audio/mpeg = rhythmbox %f 60 application/ogg = rhythmbox %f 61 62 image/jpeg = gwenview %f 63 image/png = gwenview %f 64 image/tiff = gwenview %f 65 image/gif = gwenview %f 66 image/svg+xml = inkview %f 67 image/vnd.djvu = djview %f 68 image/x-xcf = gimp %f 69 image/bmp = gwenview %f 70 image/x-ms-bmp = gwenview %f 71 image/x-xpmi = gwenview %f 72 73 # Or firefox -remote "openFile(%u)" 74 application/x-tex = emacsclient %f 75 text/x-tex = emacsclient %f 76 text/html = firefox %u 59 application/x-flac = open %f 60 audio/mpeg = open %f 61 application/ogg = open %f 62 63 image/jpeg = open %f 64 image/png = open %f 65 image/tiff = open %f 66 image/gif = open %f 67 image/svg+xml = open %f 68 image/vnd.djvu = open %f 69 image/x-xcf = open %f 70 image/bmp = open %f 71 image/x-ms-bmp = open %f 72 image/x-xpmi = open %f 73 74 application/x-tex = open %f 75 text/x-tex = open %f 76 text/html = open %u 77 77 text/html|gnuinfo = rclshowinfo %F %(title) 78 text/plain = emacsclient %f 79 text/x-c = emacsclient %f 80 text/x-c+ = emacsclient %f 81 text/x-c++ = emacsclient %f 82 text/x-html-sidux-man = konqueror %f 83 text/x-html-aptosid-man = iceweasel %f 78 text/plain = open %f 79 text/x-c = open %f 80 text/x-c+ = open %f 81 text/x-c++ = open %f 84 82 text/x-python = idle %f