Hi,
On Thu, 02 Nov 2000, Jason Helfman wrote:
> I want some mailcap entries to pull for
>
> xls
> doc
> csv
> pdf
>
> what would be some appropriate entries for this? I want to use
> staroffice and acroread, or xpdf
I use in ~/.mailcap:
application/msword;/opt/soffice/program/soffice %s
application/excel;/opt/soffice/program/soffice %s
application/vnd.ms-excel;run-mailcap application/excel:%s
application/powerpoint;/opt/soffice/program/soffice %s
application/vnd.ms-powerpoint;run-mailcap application/powerpoint:%s
application/rtf;/opt/soffice/program/soffice %s
application/pdf; /usr/bin/xpdf '%s'; test=test "$DISPLAY" != ""
and in ~/.mime.types:
type=application/pdf desc="Portable Document Format" exts="pdf"
type=application/excel exts="xls"
type=application/msword exts="doc"
type=application/rtf exts="rtf"
type=application/powerpoint exts="ppt"
Ciao for now, Dirk
--
Dirk Ruediger, Rostock, Germany
Always borrow money from a pessimist; he doesn't expect to be paid back.