1 |
On Tue, Mar 22, 2011 at 07:23:13AM +0800, Amankwah wrote: |
2 |
> On Mon, Mar 21, 2011 at 06:44:44PM -0400, Michael George wrote: |
3 |
> > I'm having trouble with mutt opening other applications for various mime |
4 |
> > types. |
5 |
> > |
6 |
> > I'm sure this worked last month, and from what I can see, I had |
7 |
> > mutt-1.5.20-r18 and firefox-3.6.13. I now have mutt-1.5.21-r1 and |
8 |
> > firefox-3.6.15. |
9 |
> > |
10 |
> > "mutt -nF /dev/null -Q mailcap_path" gives me: |
11 |
> > |
12 |
> > mailcap_path="~/.mailcap:/usr/share/mutt/mailcap:/etc/mutt/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap" |
13 |
> > |
14 |
> > I have nothing for the tag "text/html" in my muttrc file. |
15 |
> > |
16 |
> > I have "text/html; firefox %s" in my ~/.mailcap file. |
17 |
> > |
18 |
> > I have the following in /etc/mailcap: |
19 |
> > |
20 |
> > text/html; /usr/bin/lynx -force_html '%s'; needsterminal; |
21 |
> > description=HTML Text; nametemplate=%s.html |
22 |
> > text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; |
23 |
> > description=HTML Text; nametemplate=%s.html |
24 |
> > |
25 |
> > and if I put "auto_view" in my muttrc file, it will try to open the |
26 |
> > files with lynx. Yet putting the firefox %s command into /etc/mailcap |
27 |
> > doesn't open firefox. |
28 |
> > |
29 |
> > All the docs I can find seem to indicates that what I have configured |
30 |
> > should try to open firefox like it used to, but it isn't. Is there |
31 |
> > perhaps some type of "connecting package" that needed to be rebuild with |
32 |
> > firefox for this to work? |
33 |
> > |
34 |
> |
35 |
> try to using the /usr/bin/firefox in your ~/.mailcap instead? |
36 |
|
37 |
Thank you for your reply, but that didn't work, either. |
38 |
|
39 |
However, I tried replacing the second text/html entry from /etc/mailcap |
40 |
with: |
41 |
text/html; /usr/bin/firefox %s; copiousoutput; description=HTML Text; |
42 |
nametemplate=%s.html |
43 |
|
44 |
and if I had "auto_view text/html" in my .muttrc file, it would open a |
45 |
firefox tab as soon as I open the mail message. If I comment that line out, |
46 |
it won't display the html in a firefox window even when I select that |
47 |
part of the mail... |
48 |
|
49 |
-- |
50 |
-M |
51 |
|
52 |
There are 10 kinds of people in this world: |
53 |
Those who can count in binary and those who cannot. |