diff --git a/src/sampleconf/mimeview b/src/sampleconf/mimeview index a017da7b..2618ea6d 100644 --- a/src/sampleconf/mimeview +++ b/src/sampleconf/mimeview @@ -104,11 +104,14 @@ text/x-shellscript = emacsclient %f # Or firefox -remote "openFile(%u)" text/html = firefox %u + +# gnu info nodes are translated to html with a "gnuinfo" +# rclaptg. rclshowinfo knows how to start the info command on the right +# node text/html|gnuinfo = rclshowinfo %F %(title);ignoreipath=1 + application/x-webarchive = konqueror %f - text/x-fictionbook = ebook-viewer %f - application/x-tex = emacsclient %f application/xml = emacsclient %f text/xml = emacsclient %f @@ -121,8 +124,13 @@ 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/html|chm = rclshowchm %f %i -text/x-ini = emacsclient %f + +# Html pages inside a chm have a chm rclaptg set by the filter. Kchmviewer +# knows how to use the ipath (which is the internal chm path) to open the +# file at the right place +text/html|chm = kchmviewer --url %i %F + +text/x-ini = emacsclient %f text/x-man = xterm -u8 -e "groff -T ascii -man %f | more" text/x-python = idle %f text/x-gaim-log = emacsclient %f