* Matthias Apitz <[email protected]> [01-03-12 07:30]:
> I'm struggling a bit with the above combination; I have in ~/.muttrc
> 
> auto_view text/html
> 
> and in the file ~/.mailcap the line:
> 
> image/*;xv %s
> 
> which works fine displaying image attachments with xv(1); the line
> 
> text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html
> 
> works fine too displaying the output of lynx(1) in the pager of mutt;
> so far so good; but why the line
> 
> text/html; firefox3 %s
> 
> does not do what one would expect (i.e. handing over the file to
> firefox)? it just says in the mutt window:
> 
> "mailcap entry for type text/html not found"
> 

try: text/html;firefox -new-window %s\;exit 1; \
nametemplate=%s.html; test=test -n "$DISPLAY"

one line broken after "exit 1;" for display

firefox is not a character application, it is graphical.  The error msg is
correct.

works for me  :^)

gud luk,
-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net

Reply via email to