Open Source

Viewing images with Mutt, via mailcap configuration, on Ubuntu Debian GNU/Linux

When viewing various mime attachments, Mutt uses mailcap [/etc/mailcap] to decide which applications to use.

I was suprised to find that gif and other images are not supported ‘out of the box’.

However,
creating a file called ~/.mailcap with the following text solved it quickly.


###############################################################################
#
# MIME types and programs that process those types
#
###############################################################################
image/*; /usr/bin/gthumb '%s'; test=test -n "$DISPLAY"

/usr/bin/gthumb‘ refers to the application I want images to be opened with from Mutt, when I get image attachments in my email.

Thats pretty much it!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s