display images inline in xterm (while using mutt)
Patrick Shanahan
paka at opensuse.org
Fri Dec 4 17:56:11 UTC 2020
* mutt users list <mutt-users at mutt.org> [12-04-20 12:45]:
> Hi,
>
> Thanks again!
>
>
> On Friday, December 4, 2020, 11:13:03 AM CST, Patrick Shanahan <paka at opensuse.org> wrote: * mutt users list <mutt-users at mutt.org> [12-04-20 11:44]:>
> > Hi,
> >
> > Thanks very much!
> >
> > > On Friday, December 4, 2020, 10:24:44 AM CST, Patrick Shanahan <paka at opensuse.org> wrote: * mutt users list <mutt-users at mutt.org> [12-04-20 11:07]:
> > >
> > > Hi,
> > >
> > > Thanks!
> > >
> > > > On Friday, December 4, 2020, 9:56:23 AM CST, Dave Woodfall <dave at tty1.uk> wrote:
> > >
> > > >> On 04/12/20 05:30, Mutt Users <mutt-users at mutt.org> put forth the proposition:
> > > >> Hi,
> > > >> If I use w3m -o ext_image_viewer=0 test.png, I can get the file test.png inside xterm. I wanted to do the same on my mutt window (inside xterm). How do I do this?
> > > >> I tried putting:
> > > >> image/*;w3m -o ext_imageviewer=0 %s; copious output
> > > >> However this does not work and gives me the options of w3m in the mutt window. How can I use this?
> >
> > snipped
> >
> > > I didn't have it installed, but test installed and get same result. removed it and following works w/o it, but w3m must be configured to display graphical. I will have to look to see where, don't remember, too old, been too long.
> >
> > > for me: w3m display.jpg will display image display.jpg
> >
> > > ok found it
> > > Display embedded graphics
> > > $ w3m -o auto_image=TRUE http://w3m.sourceforge.net
> >
> > > ~/.w3m/config
> > > user defined configuration file; overrides /etc/w3m/config
> >
> >
> > My apologies, I do not understand. Where do I put this? In my mailcap? FWIW, I tried:
> >
> > $ w3m -o auto_image=TRUE test.png
> >
> > and that opens gpicview for me.
> >
> > I copied over the system config /etc/w3m/config to /.w3m/config
> >
> > and added
> > ext_image_viewer=0
> >
> > and then I get the inline images. However, how to do this inside mutt does not seem to work.
> >
> > I have the following in my .mailcap:
> >
> > auto_view image/*
> > image/*;w3m %s; copiousoutput
> >
> > But what i get is a bunch of text for the image file that I am trying to display.
> >
> > Thanks in advance again!
>
>
>
> > I have:
>
> > text/html; w3m -dump -v -F -T text/html %s; nametemplate=%s.html; needsterminal
>
>
> And what do you do for inline display of images? Btw, I have to say that w3m works pretty well on most of the stuff sent by html. I wonder if I could make it the default display for e-mails that come in html.
I don't use w3m, that is not w3m's intended usage
use something to display images, such as:
image/jpg;/usr/bin/display --auto-orient %s
--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode
More information about the Mutt-users
mailing list