[Conkeror] howto : choose how to handle mime types

John J Foerch jjfoerch at earthlink.net
Sat Mar 8 08:48:38 PST 2008


"samuel hanot" <hanot.samuel at gmail.com> writes:
> Hi,
>
> Here is a patch for contents/help.html which explains how to choose
> what applications should be used for mime types.
>
> Sam
>

Perhaps mime_type_external_handlers should be a javascript object
instead of an array, so people can easily set individual entries in
their rc, rather than having to redefine it completely.  e.g.:

var mime_type_external_handlers = {
    "text/": "emacs",
    "image/.*": "feh",
    "video/.*": "mplayer",
    "audio/.*": "mplayer",
    "application/pdf": "evince",
    "application/postscript": "evince",
    "application/x-dvi": "evince",
    ".*": "emacs"
    };

--John



More information about the Conkeror mailing list