public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problems with mutt and mimetypes
@ 2011-03-21 22:44 Michael George
  2011-03-21 23:23 ` Amankwah
  0 siblings, 1 reply; 3+ messages in thread
From: Michael George @ 2011-03-21 22:44 UTC (permalink / raw
  To: gentoo-user

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?

-- 
-M

There are 10 kinds of people in this world:
	Those who can count in binary and those who cannot.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] problems with mutt and mimetypes
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Amankwah @ 2011-03-21 23:23 UTC (permalink / raw
  To: gentoo-user

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?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] problems with mutt and mimetypes
  2011-03-21 23:23 ` Amankwah
@ 2011-03-22  1:26   ` Michael George
  0 siblings, 0 replies; 3+ messages in thread
From: Michael George @ 2011-03-22  1:26 UTC (permalink / raw
  To: gentoo-user

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-22  1:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox