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

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

recoll: maintainer update to 1.19.7 (#40701)

File size: 5.0 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 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
     
    1617#    search string
    1718#  - For pages of CHM and EPUB documents where we can choose to open the
    1819#    parent document instead of a temporary html file.
    19 xallexcepts = application/pdf application/postscript application/x-dvi \
    20  text/html|gnuinfo text/html|chm text/html|epub \
    21  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
    2222
    2323[view]
    2424# Pseudo entry used if the 'use desktop' preference is set in the GUI
    25 application/x-all = xdg-open %u
     25application/x-all = open %f
    2626
    2727application/epub+zip = ebook-viewer %f
    28 # Open the parent epub document for epub parts instead of opening them as
    29 # html documents. This is almost always what we want.
    30 text/html|epub = ebook-viewer %F;ignoreipath=1
    31 
    32 application/x-gnote = gnote %f
     28# If you want to open the parent epub document for epub parts instead of
     29# opening them as html documents:
     30#text/html|epub = ebook-viewer %F;ignoreipath=1
    3331
    3432application/x-mobipocket-ebook = ebook-viewer %f
    3533
     
    7674application/vnd.wordperfect = libreoffice %f
    7775text/rtf = libreoffice %f
    7876
     77application/x-chm = kchmviewer %f
    7978application/x-dia-diagram = dia %f
    80 
    8179application/x-fsdirectory = dolphin %f
    82 inode/directory = dolphin %f
    83 application/x-fsdirectory|parentopen = dolphin --select %(childurl) %f
    84 inode/directory|parentopen = dolphin --select %(childurl) %f
    85 
    8680application/x-gnuinfo = xterm -e "info -f %f"
    8781application/x-gnumeric = gnumeric %f
    8882
     
    10296image/x-ms-bmp = gwenview %f
    10397image/x-xpmi = gwenview %f
    10498
    105 # Opening mail messages not always works.
    106 #  - Thunderbird will only open a single-message file if it has an .emf
    107 #    extension
    108 #  - "sylpheed %f" seems to work ok as of version 3.3
    109 #  - "kmail --view %u" works
    11099message/rfc822 = thunderbird -file %f
    111100text/x-mail = thunderbird -file %f
    112101application/x-mimehtml = thunderbird -file %f
     
    119108application/x-tar = ark %f
    120109application/zip = ark %f
    121110
    122 application/x-awk = emacsclient --no-wait %f
    123 application/x-perl = emacsclient --no-wait %f
    124 text/x-perl = emacsclient --no-wait %f
    125 application/x-shellscript = emacsclient --no-wait %f
    126 text/x-shellscript = emacsclient --no-wait %f
     111application/x-awk = emacsclient %f
     112application/x-perl = emacsclient %f
     113text/x-perl = emacsclient %f
     114application/x-shellscript = emacsclient %f
     115text/x-shellscript = emacsclient %f
    127116
    128117# Or firefox -remote "openFile(%u)"
    129118text/html = firefox %u
     
    135124
    136125application/x-webarchive = konqueror %f
    137126text/x-fictionbook = ebook-viewer %f
    138 application/x-tex = emacsclient --no-wait %f
    139 application/xml = emacsclient --no-wait %f
    140 text/xml = emacsclient --no-wait %f
    141 text/x-tex = emacsclient --no-wait %f
    142 text/plain = emacsclient --no-wait %f
    143 text/x-awk = emacsclient --no-wait %f
    144 text/x-c = emacsclient --no-wait %f
    145 text/x-c+ = emacsclient --no-wait %f
    146 text/x-c++ = emacsclient --no-wait %f
     127application/x-tex = emacsclient %f
     128application/xml = emacsclient %f
     129text/xml = emacsclient %f
     130text/x-tex = emacsclient %f
     131text/plain = emacsclient %f
     132text/x-awk = emacsclient %f
     133text/x-c = emacsclient %f
     134text/x-c+ = emacsclient %f
     135text/x-c++ = emacsclient %f
    147136text/x-csv = libreoffice %f
    148137text/x-html-sidux-man = konqueror %f
    149138text/x-html-aptosid-man = iceweasel %f
    150139
    151 application/x-chm = kchmviewer %f
    152140# Html pages inside a chm have a chm rclaptg set by the filter. Kchmviewer
    153141# knows how to use the ipath (which is the internal chm path) to open the
    154142# file at the right place
    155143text/html|chm = kchmviewer --url %i %F
    156144
    157 text/x-ini = emacsclient --no-wait %f
     145text/x-ini = emacsclient %f
    158146text/x-man = xterm -u8 -e "groff -T ascii -man %f | more"
    159147text/x-python = idle %f
    160 text/x-gaim-log = emacsclient --no-wait %f
    161 text/x-purple-html-log = emacsclient --no-wait %f
    162 text/x-purple-log = emacsclient --no-wait %f
     148text/x-gaim-log = emacsclient %f
     149text/x-purple-html-log = emacsclient %f
     150text/x-purple-log = emacsclient %f
    163151
    164152# The video types will usually be handled by the desktop default, but they
    165153# need entries here to get an "Open" link
    166 video/3gpp = vlc %f
    167 video/mp2p = vlc %f
    168 video/mp2t = vlc %f
    169 video/mp4 = vlc %f
    170 video/mpeg = vlc %f
    171 video/quicktime = vlc %f
    172 video/x-matroska = vlc %f
    173 video/x-ms-asf = vlc %f
    174 video/x-msvideo = vlc %f
    175 
     154video/3gpp = open %f
     155video/mp2p = open %f
     156video/mp2t = open %f
     157video/mp4 = open %f
     158video/mpeg = open %f
     159video/quicktime = open %f
     160video/x-matroska = open %f
     161video/x-ms-asf = open %f
     162video/x-msvideo = open %f
Note: See TracBrowser for help on using the repository browser.