added epub + chm/info rclaptg
This commit is contained in:
parent
4e3a33cf49
commit
abdf4c12b5
3 changed files with 13 additions and 6 deletions
|
@ -32,6 +32,7 @@ application/x-lzma = uncompress rcluncomp unxz %f %t
|
|||
# A different format (ie text/plain), and a character set can be defined for
|
||||
# each filter, see the exemples below (ie: msword)
|
||||
[index]
|
||||
application/epub+zip = execm rclepub
|
||||
|
||||
# MSWORD: the rcldoc script handles a number of marginal case that raw
|
||||
# antiword won't:
|
||||
|
@ -142,6 +143,7 @@ text/xml = exec rclxml
|
|||
## #############################################
|
||||
# Icons to be used in the result list if required by gui config
|
||||
[icons]
|
||||
application/epub+zip = document
|
||||
application/msword = wordprocessing
|
||||
application/ogg = sownd
|
||||
application/pdf = pdf
|
||||
|
@ -231,6 +233,7 @@ text/xml = document
|
|||
# If you add/remove categories, you may also want to change the
|
||||
# "guifilters" section below.
|
||||
text = \
|
||||
application/epub+zip \
|
||||
application/msword \
|
||||
application/pdf \
|
||||
application/postscript \
|
||||
|
@ -245,12 +248,12 @@ text = \
|
|||
application/x-awk \
|
||||
application/x-chm \
|
||||
application/x-dvi \
|
||||
application/x-gnuinfo \
|
||||
application/x-kword \
|
||||
application/x-lyx \
|
||||
application/x-okular-notes \
|
||||
application/x-perl \
|
||||
application/x-scribus \
|
||||
application/x-gnuinfo \
|
||||
application/x-shellscript \
|
||||
application/x-tex \
|
||||
application/xml \
|
||||
|
|
|
@ -70,6 +70,8 @@
|
|||
.xls = application/vnd.ms-excel
|
||||
.chm = application/x-chm
|
||||
|
||||
.epub = application/epub+zip
|
||||
|
||||
# OpenOffice / opendocument. We handle opendocument as old openoffice files
|
||||
# for now
|
||||
.sxc = application/vnd.sun.xml.calc
|
||||
|
|
|
@ -13,12 +13,14 @@
|
|||
# definition. This is useful, e.g. for pdf, where we can pass additional
|
||||
# parameters like page to open and search string when using the local
|
||||
# definition
|
||||
xallexcepts = application/pdf application/postscript application/x-dvi
|
||||
|
||||
xallexcepts = application/pdf application/postscript application/x-dvi \
|
||||
text/html|gnuinfo text/html|chm
|
||||
[view]
|
||||
# Pseudo entry used if the 'use desktop' preference is set in the GUI
|
||||
application/x-all = xdg-open %f
|
||||
|
||||
application/epub+zip = ebook-viewer %f
|
||||
|
||||
application/x-kword = kword %f
|
||||
application/x-abiword = abiword %f
|
||||
|
||||
|
@ -102,10 +104,10 @@ text/x-shellscript = emacsclient %f
|
|||
|
||||
# Or firefox -remote "openFile(%u)"
|
||||
text/html = firefox %u
|
||||
text/html|gnuinfo = rclshowinfo %F %(title)
|
||||
text/html|gnuinfo = rclshowinfo %F %(title);ignoreipath=1
|
||||
application/x-webarchive = konqueror %f
|
||||
|
||||
text/x-fictionbook = calibre %f
|
||||
text/x-fictionbook = ebook-viewer %f
|
||||
|
||||
application/x-tex = emacsclient %f
|
||||
application/xml = emacsclient %f
|
||||
|
@ -119,7 +121,7 @@ text/x-c++ = emacsclient %f
|
|||
text/x-csv = libreoffice %f
|
||||
text/x-html-sidux-man = konqueror %f
|
||||
text/x-html-aptosid-man = iceweasel %f
|
||||
text/x-chm-html = openchm %f %i
|
||||
text/html|chm = rclshowchm %f %i
|
||||
text/x-ini = emacsclient %f
|
||||
text/x-man = xterm -u8 -e "groff -T ascii -man %f | more"
|
||||
text/x-python = idle %f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue