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
  • sampleconf/mimeview

    old new  
    22
    33## ##########################################
    44# 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...
    67
    78# Mime types which we should not uncompress if they are found gzipped or
    89# bzipped because the native viewer knows how to handle. These would be
     
    1112
    1213[view]
    1314# Pseudo entry used if the 'use desktop' preference is set in the GUI
    14 application/x-all = xdg-open %f
     15application/x-all = open %f
    1516
    1617application/x-kword = kword %f
    1718application/x-abiword = abiword %f
    1819
    19 application/pdf  = okular %f
    20 application/postscript = okular %f
    21 application/x-dvi = okular %f
     20application/pdf  = open %f
     21application/postscript = open %f
     22application/x-dvi = open %f
    2223
    2324application/x-lyx = lyx %f
    2425application/x-scribus = scribus %f
    2526
    26 application/msword = libreoffice %f
    27 application/vnd.ms-excel = libreoffice %f
    28 application/vnd.ms-powerpoint = libreoffice %f
     27application/msword = open %f
     28application/vnd.ms-excel = open %f
     29application/vnd.ms-powerpoint = open %f
    2930
    3031application/vnd.openxmlformats-officedocument.wordprocessingml.document = \
    31  libreoffice %f
     32 open %f
    3233application/vnd.openxmlformats-officedocument.wordprocessingml.template = \
    33  libreoffice %f
     34 open %f
    3435application/vnd.openxmlformats-officedocument.presentationml.template = \
    35  libreoffice %f
     36 open %f
    3637application/vnd.openxmlformats-officedocument.presentationml.presentation = \
    37  libreoffice %f
     38 open %f
    3839application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = \
    39  libreoffice %f
     40 open %f
    4041application/vnd.openxmlformats-officedocument.spreadsheetml.template =\
    41  libreoffice %f
    42 application/vnd.sun.xml.calc = libreoffice %f
    43 application/vnd.sun.xml.calc.template = libreoffice %f
    44 application/vnd.sun.xml.draw = libreoffice %f
    45 application/vnd.sun.xml.draw.template = libreoffice %f
    46 application/vnd.sun.xml.impress = libreoffice %f
    47 application/vnd.sun.xml.impress.template = libreoffice %f
    48 application/vnd.sun.xml.math = libreoffice %f
    49 application/vnd.sun.xml.writer = libreoffice %f
    50 application/vnd.sun.xml.writer.global = libreoffice %f
    51 application/vnd.sun.xml.writer.template = libreoffice %f
    52 application/vnd.wordperfect = libreoffice %f
     42 open %f
     43application/vnd.sun.xml.calc = open %f
     44application/vnd.sun.xml.calc.template = open %f
     45application/vnd.sun.xml.draw = open %f
     46application/vnd.sun.xml.draw.template = open %f
     47application/vnd.sun.xml.impress = open %f
     48application/vnd.sun.xml.impress.template = open %f
     49application/vnd.sun.xml.math = open %f
     50application/vnd.sun.xml.writer = open %f
     51application/vnd.sun.xml.writer.global = open %f
     52application/vnd.sun.xml.writer.template = open %f
     53application/vnd.wordperfect = open %f
    5354
    5455application/x-chm = kchmviewer %f
    55 application/x-fsdirectory = dolphin %f
     56application/x-fsdirectory = open %f
    5657application/x-gnuinfo = xterm -e "info -f %f"
    5758
    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
     59application/x-flac = open %f
     60audio/mpeg = open %f
     61application/ogg = open %f
     62
     63image/jpeg = open %f
     64image/png = open %f
     65image/tiff = open %f
     66image/gif  = open %f
     67image/svg+xml = open %f
     68image/vnd.djvu = open %f
     69image/x-xcf = open %f
     70image/bmp = open %f
     71image/x-ms-bmp = open %f
     72image/x-xpmi = open %f
     73
     74application/x-tex = open %f
     75text/x-tex = open %f
     76text/html = open %u
    7777text/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
     78text/plain = open %f
     79text/x-c = open %f
     80text/x-c+ = open %f
     81text/x-c++ = open %f
    8482text/x-python = idle %f
Note: See TracBrowser for help on using the repository browser.