On Tuesday 10 July 2018 13:37,
Post by Marcelo LaiaPost by Patrick Shanahanhave you tried w3m?
need to enable graphics mode
Please, how is it possible? Enable graphics mode?
I use lynx. Are there graphics mode for its, too?
Thanks
Marcelo
Links has a graphics mode for framebuffer consoles. Won't work in an
xterm or over ssh AFAIK.
w3m is capable of displaying images in some supported terminals, but I'm not
sure which. IIRC it needs compiling with gdk or pixbuf support.
What I tend to do depends on the requirement. If I am sent an image
attachment I have setup a special mailcap to scp it to me, then I can
open it locally.
~/.mutt-mailcap:
application/*; scp -q %s ***@host:attachments/.
image/*; scp -q %s ***@host:attachments/.
audio/*; scp -q %s ***@host:attachments/.
video/*; scp -q %s ***@host:attachments/.
text/html; elinks %s;nametemplate=%s.html;copiousoutput
For website links that I want to open in a GUI I do kind of the same thing, but
with a shell script that ssh's me the link to my local browser. I use urlview
to open the links in the shell script.
url_handler.sh:
http_prgs="/home/david/scripts/urlopen:VT"
https_prgs="/home/david/scripts/urlopen:VT"
That should probably go in ~/.urlview but wth...
urlopen just does a ssh -q ***@host "qutebrowser \"$URL\""
--
Linux: The OS people choose without $200,000,000 of persuasion.
-- Mike Coleman
.--. oo
(____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'