On Mon, Sep 02, 2002 at 10:45:28PM +0800, Russ Pitman wrote:
| On Mon, Sep 02, 2002 at 04:23:55PM +0200, Elimar Riesebieter wrote:
| > On Mon, 02 Sep 2002 the mental interface of Russ Pitman told:
[view pdf attachments from mutt]
| > > My .mailcap had 'application/pdf;' set to /usr/bin/xpdf so I installed
| > 
| > application/pdf; /usr/bin/xpdf %s
| >                                ^^
| My typo :-( -- application/pdf; /usr/bin/xpdf '$s'; existed replaced by
| 	       application/pdf; /usr/local/bin/acroread '%s';  --
| 	      	
| 	Both failed(sigh)
My /etc/mailcap has these entries in this order.  I believe the
respective packages provided the entries.
application/pdf; gnome-gv '%s'; description="pdf document"; test=test "$DISPLAY" != ""
application/pdf; /usr/bin/acroread '%s'; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf
application/pdf; false; x-mozilla-flags=plugin:nppdf.so
application/pdf; /usr/bin/xpdf '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
application/pdf; /usr/bin/X11/gv '%s'; test=test -n "$DISPLAY"
HTH,
-D
-- 
Through love and faithfulness sin is atoned for;
through the fear of the Lord a man avoids evil.
        Proverbs 16:6
 
http://dman.ddts.net/~dman/
Attachment:
pgp3p5uf0aM1f.pgp
Description: PGP signature