Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2007 09:03:37 +0200
From:      Harry Matthiesen Jensen <freebsd@elgert.dk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Viewing jpegs with Mutt
Message-ID:  <20070930070337.GA3329@mugin.localhost>
In-Reply-To: <20070930024534.457351CC7C@bsd.remdog.net>
References:  <20070930024534.457351CC7C@bsd.remdog.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 29, 2007 at 07:45:34PM -0700, Rem P Roberti wrote:
> Is it possible to view jpegs inline using the Mutt MUA?  If so, I
> would appreciate being directed to a site that would have that
> information.

To your ".mailcap" file, add:

# This maps all types of images (image/gif, image/jpeg, etc.)
# to the viewer 'display'.
image/*; display %s


I'm using the "display" command from ImageMagick, so you just have
replace that command to your preferable viewer.

Also remember you have to select "v" from within the e-mail in Mutt, and
then select the jpeg.

See also:
http://www.pantz.org/os/linux/programs/muttsetup.shtml

-- 
Mvh/Brgds Harry
FreeBSD mugin.localhost 7.0-CURRENT #8: i386



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070930070337.GA3329>