next up previous contents
Next: Dealing with Word Doc Up: Configuring Mutt Previous: Dealing with HTML Messages   Contents

Dealing with Attachments

The mailcap is the place to indicate to mutt (and other programs, incidentally; such is Unix) how to interface with other programs to process attachments. Images are an important one to get right. Add something like the following in order to process PDFs and graphics images.:

application/pdf; acroread %s
image/jpeg; xv %s 
image/gif; xv %s &
image/GIF; xv %s &
image/JPG; xv %s &
image/jpg; xv %s &

Above, I'm using the program `xv' to deal with graphics, because it's super fast relative to the KDE and Gnome equivalents and SUSE provides it. But it's not included on a lot of distributions (including anything based on Debian) because of licensing concerns, so you can substitute kview, gwenview, eog (Eye of Gnome), or something else for xv.



Randall Wood 2009-12-02