Re: choosing default web browser in mutt SOLVED
On (03/08/05 19:54), Tom wrote:
> [03/08/2005 -- 19:34u] Clive Menzies:
> > The mutt manual refers to adding:
> > macro index \cb |urlview\n
> > macro pager \cb |urlview\n
> > to the .muttrc file but this has no noticeable effect.
>
> It should make up a list of URLs contained in the message, each of which
> you can view with the default browser by hitting enter. It won't make
> any difference for text/html mails, of course.
>
> Maybe this comes in helpful: www.debian-administration.org/articles/75 .
It was indeed very helpful ;)
It refers to creating a .mailcap file in your home directory:
text/html; links %s; nametemplate=%s.html
text/html; links -dump %s; nametemplate=%s.html; copiousoutput
substitute your favourite browser for 'links'
It also tells you to add:
auto_view text/html
to your .muttrc file
I did this but found it tried to read all text/html messages in firefox.
I disabled this and I get the behaviour I want.
For messages that have an html attachment, pressing 'v' Enter launches
firefox.
Many thanks
Clive
--
www.clivemenzies.co.uk ...
...strategies for business
Reply to: