From: Michael George <george@mutualdata.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] problems with mutt and mimetypes
Date: Mon, 21 Mar 2011 21:26:53 -0400 [thread overview]
Message-ID: <20110322012653.GA9045@brego.pewamo.office> (raw)
In-Reply-To: <20110321232313.GC1354@Diamond.KWGR614>
On Tue, Mar 22, 2011 at 07:23:13AM +0800, Amankwah wrote:
> On Mon, Mar 21, 2011 at 06:44:44PM -0400, Michael George wrote:
> > I'm having trouble with mutt opening other applications for various mime
> > types.
> >
> > I'm sure this worked last month, and from what I can see, I had
> > mutt-1.5.20-r18 and firefox-3.6.13. I now have mutt-1.5.21-r1 and
> > firefox-3.6.15.
> >
> > "mutt -nF /dev/null -Q mailcap_path" gives me:
> >
> > mailcap_path="~/.mailcap:/usr/share/mutt/mailcap:/etc/mutt/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap"
> >
> > I have nothing for the tag "text/html" in my muttrc file.
> >
> > I have "text/html; firefox %s" in my ~/.mailcap file.
> >
> > I have the following in /etc/mailcap:
> >
> > text/html; /usr/bin/lynx -force_html '%s'; needsterminal;
> > description=HTML Text; nametemplate=%s.html
> > text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput;
> > description=HTML Text; nametemplate=%s.html
> >
> > and if I put "auto_view" in my muttrc file, it will try to open the
> > files with lynx. Yet putting the firefox %s command into /etc/mailcap
> > doesn't open firefox.
> >
> > All the docs I can find seem to indicates that what I have configured
> > should try to open firefox like it used to, but it isn't. Is there
> > perhaps some type of "connecting package" that needed to be rebuild with
> > firefox for this to work?
> >
>
> try to using the /usr/bin/firefox in your ~/.mailcap instead?
Thank you for your reply, but that didn't work, either.
However, I tried replacing the second text/html entry from /etc/mailcap
with:
text/html; /usr/bin/firefox %s; copiousoutput; description=HTML Text;
nametemplate=%s.html
and if I had "auto_view text/html" in my .muttrc file, it would open a
firefox tab as soon as I open the mail message. If I comment that line out,
it won't display the html in a firefox window even when I select that
part of the mail...
--
-M
There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
prev parent reply other threads:[~2011-03-22 1:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-21 22:44 [gentoo-user] problems with mutt and mimetypes Michael George
2011-03-21 23:23 ` Amankwah
2011-03-22 1:26 ` Michael George [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110322012653.GA9045@brego.pewamo.office \
--to=george@mutualdata.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox