On Tue, Jun 12, 2007 at 04:15:02PM +1200, Chris Bannister wrote:
> Hi,
> 
> Recent Lenny update:
> 
> Mutt now shows "Autoview using /usr/bin/elinks" The default browser is
> set to lynx! I assume an update of shared-mime-info(?) has changed this
> but It was previously set to lynx!
> 
> Could this be termed a bug? I think lynx maybe phased out :-(
> 
> Does this annoy anyone else?
> 
IIRC, mutt uses /etc/mailcap or .mailcap if it exists to determine what
program to use. Some programs may be part of the alternatives systems,
so you may need to follow the symlinks to find the canonical program
used. On my system, etc/maicap lists these as possible html programs:

text/html; /usr/bin/w3m -T text/html '%s'; needsterminal; description=HTML 
Text; nametemplate=%s.html
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML 
Text; nametemplate=%s.html
text/html; /usr/bin/w3m -dump -T text/html '%s'; copiousoutput; 
description=HTML Text; nametemplate=%s.html
text/html; /usr/bin/html2text '%s'; copiousoutput; description=HTML Text 
text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput;
description=HTML Text; nametemplate=%s.html text/html; 
/usr/bin/sensible-browser '%s'; description=HTML Text; nametemplate=%s.html

So, it chooses one of these ( I think it tries each one until it works).

But in my case, I have .mailcap set like this:
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML 
Text; nametemplate=%

so that forces it to use lynx.
-- 
|  .''`.  == Debian GNU/Linux == |       my web site:           |
| : :' :      The  Universal     |mysite.verizon.net/kevin.mark/|
| `. `'      Operating System    | go to counter.li.org and     |
|   `-    http://www.debian.org/ |    be counted! #238656       |
|  my keyserver: subkeys.pgp.net |     my NPO: cfsg.org         |
|join the new debian-community.org to help Debian!              |
|_______  Unless I ask to be CCd, assume I am subscribed _______|

Attachment: pgpC0fy61Z7zK.pgp
Description: PGP signature

Reply via email to