Parent: [700a40] (diff)

Child: [175429] (diff)

Download this file

mimeview    86 lines (73 with data), 2.9 kB

# @(#$Id: mimeview,v 1.16 2008-09-15 08:03:37 dockes Exp $  (C) 2004 J.F.Dockes

## ##########################################
# External viewers, launched by the recoll GUI when you click on a result
# 'edit' link

# 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
# exceptions and the list is normally empty
#nouncompforviewmts = 

[view]
# Pseudo entry used if the 'use desktop' preference is set in the GUI
application/x-all = xdg-open %f

application/x-kword = kword %f
application/x-abiword = abiword %f

application/pdf  = okular %f
application/postscript = okular %f
application/x-dvi = okular %f

application/x-lyx = lyx %f
application/x-scribus = scribus %f

application/msword = libreoffice %f
application/vnd.ms-excel = libreoffice %f
application/vnd.ms-powerpoint = libreoffice %f

application/vnd.openxmlformats-officedocument.wordprocessingml.document = \
 libreoffice %f
application/vnd.openxmlformats-officedocument.wordprocessingml.template = \
 libreoffice %f
application/vnd.openxmlformats-officedocument.presentationml.template = \
 libreoffice %f
application/vnd.openxmlformats-officedocument.presentationml.presentation = \
 libreoffice %f
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = \
 libreoffice %f
application/vnd.openxmlformats-officedocument.spreadsheetml.template =\
 libreoffice %f
application/vnd.sun.xml.calc = libreoffice %f
application/vnd.sun.xml.calc.template = libreoffice %f
application/vnd.sun.xml.draw = libreoffice %f
application/vnd.sun.xml.draw.template = libreoffice %f
application/vnd.sun.xml.impress = libreoffice %f
application/vnd.sun.xml.impress.template = libreoffice %f
application/vnd.sun.xml.math = libreoffice %f
application/vnd.sun.xml.writer = libreoffice %f
application/vnd.sun.xml.writer.global = libreoffice %f
application/vnd.sun.xml.writer.template = libreoffice %f
application/vnd.wordperfect = libreoffice %f

application/x-chm = kchmviewer %f
application/x-fsdirectory = dolphin %f
application/x-gnuinfo = xterm -e "info -f %f"

application/x-flac = rhythmbox %f
audio/mpeg = rhythmbox %f
application/ogg = rhythmbox %f

image/jpeg = gwenview %f
image/png = gwenview %f
image/tiff = gwenview %f
image/gif  = gwenview %f
image/svg+xml = inkview %f
image/vnd.djvu = djview %f
image/x-xcf = gimp %f
image/bmp = gwenview %f
image/x-ms-bmp = gwenview %f
image/x-xpmi = gwenview %f

# Or firefox -remote "openFile(%u)"
application/x-tex = emacsclient  %f
text/x-tex = emacsclient  %f
text/html = firefox %u
text/html|gnuinfo = rclshowinfo %F %(title)
text/plain = emacsclient  %f
text/x-c = emacsclient  %f
text/x-c+ = emacsclient  %f
text/x-c++ = emacsclient  %f
text/x-html-sidux-man = konqueror %f
text/x-html-aptosid-man = iceweasel %f
text/x-man = xterm -u8 -e "groff -T ascii -man %f | more"
text/x-python = idle %f