From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q1qOm-0005Ce-TY for garchives@archives.gentoo.org; Tue, 22 Mar 2011 01:28:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AC771C010; Tue, 22 Mar 2011 01:27:06 +0000 (UTC) Received: from mutualdata.com (mail.mutualdata.com [69.63.238.6]) by pigeon.gentoo.org (Postfix) with ESMTP id C14791C010 for ; Tue, 22 Mar 2011 01:27:06 +0000 (UTC) Received: from brego.pewamo.office (UnknownHost [69.63.237.121]) by mutualdata.com with SMTP; Mon, 21 Mar 2011 21:27:04 -0400 Received: by brego.pewamo.office (Postfix, from userid 500) id C08BFE4B3F; Mon, 21 Mar 2011 21:26:53 -0400 (EDT) Date: Mon, 21 Mar 2011 21:26:53 -0400 From: Michael George To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] problems with mutt and mimetypes Message-ID: <20110322012653.GA9045@brego.pewamo.office> References: <20110321224444.GA30103@brego.pewamo.office> <20110321232313.GC1354@Diamond.KWGR614> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110321232313.GC1354@Diamond.KWGR614> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: 010a9dcfa96c0ac4d17bcdc836f1318a 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.