Mutt auto view for html failing

B Wooster bwooster47 at gmail.com
Wed Jun 23 14:54:31 UTC 2010


On Tue, Jun 22, 2010 at 3:53 PM, B Wooster <bwooster47 at gmail.com> wrote:
> Just updated to Fedora 13, and mutt html viewer stopped working.
> using /etc/mailcap also fails the same way.
> That Fedora mailcap seems incomplete for links anyway, it says:
> text/html; /usr/bin/xdg-open %s ; copiousoutput
> which won't work for links - it must have .html suffix, so should be:
> text/html; /usr/bin/xdg-open%s ; nametemplate=%s.html; copiousoutput

And, it should have a -dump option.

Ubuntu works fine - it has multiple text/html lines, one with
copiousoutput (that is used by mutt), an it has -dump option.
text/html; /usr/bin/w3m -dump -T text/html '%s'; copiousoutput;
description=HTML Text; nametemplate=%s.html

So, the fix for Fedora is to manually create a ~/.mailcap, and put in it:
text/html; /usr/bin/links -dump %s ; nametemplate=%s.html; copiousoutput
(if using links, change for w3m as appropriate, etc).

Would be nice if this automatically worked in Fedora with mutt,
instead of a manual fix.


More information about the users mailing list