How do I fix this?
--
jhhaynes at earthlink dot net
> I have mail containing some pdf files as attachments. When I read
> the mail with alpine 2.0 and try to view an attachment, it opens a
> window named Evince Document Viewer and that displays an error
> Unable to open document, Unknown MIME type.
>
> How do I fix this?
The problem is with Evince, which is being called by pine.
Edit your ~/.mailcap to include the line :
application/pdf;/usr/bin/xpdf %s
This will mean Pine will use xpdf to read PDF file.
If you use any other PDF viewer, supply the path instead of xpdf path.
HTH.
I am not sure how .mailcap comes into existence, I have always found it in
my home (but I always had pine installed). Pine's config does have a field
called " mailcap path", in case you use a different mailcap file.
It should basically have the paths of all applications that you want used
to open attachments from pine. E.g:
image/jpeg;/usr/X11R6/bin/xv %s
application/vnd.oasis.opendocument.spreadsheet;/apps/ame/bin/soffice %s
And so on.
HTH,
Supreet.
>