Results 1 to 2 of 2

Thread: Cannot view PDF attachments in alpine mail client

  1. #1
    Join Date
    Dec 2005
    Location
    Montreal, Canada
    Beans
    142
    Distro
    Ubuntu

    Cannot view PDF attachments in alpine mail client

    When I try to view a PDF attachment in Alpine, I get "don't know how to display application pdf" error.

    I have application/pdf lines in both /etc/mailcap and ~/.mailcap

    I have tried setting the mailcap path in alpine's settings to each of those. Nothing works.

    Can anyone help me tell alpine about evince?
    latest release of Ubuntu on Lenovo X230T, Lenovo T410s, HP Mini, and Zareason Lightlap in Montréal, Canada

  2. #2
    Join Date
    Jul 2009
    Beans
    5

    Re: Cannot view PDF attachments in alpine mail client

    I use alpine in text mode. It used to show attached PDF files using xpdf. However, in Ubuntu 12.04 there is a problem with xpdf. It bombs.

    I now use evince. I found the location of evince using 'which evince'. It was /usr/bin/evince. I edited /etc/mailcap (sudo vi ...) and added the following line at its end:

    application/PDF; /usr/bin/evince '%s'

    Now a PDF attachment is shown using evince, when I press v on the attachment.

    Hope this helps.

    Enjoy Ubuntu!

    Sincerely,
    U N Gaitonde

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •