You are not logged in.

#1 2020-09-08 10:05:44

TSwiftie
Member
Registered: 2020-08-23
Posts: 4

My w3m can't display picture

I installed w3m,but when I'm browsing a Web page. I find it can't display the picture.
I use alacritty as my terminal.

Last edited by TSwiftie (2020-09-08 10:06:32)

Offline

#2 2020-09-08 14:09:28

jonno2002
Member
Registered: 2016-11-21
Posts: 897

Re: My w3m can't display picture

pacman -Si w3m |grep Dep
Depends On      : openssl  gc  ncurses  gpm
Optional Deps   : imlib2: for graphics support

do you have imlib2 installed ?

Offline

#3 2020-09-08 14:35:53

Mortimer Houghton
Member
Registered: 2014-09-28
Posts: 89

Re: My w3m can't display picture

See: https://github.com/alacritty/alacritty/ … -359184981

I am not using X11, so I have resolved this by using sdump (from AUR) which uses a libsixel backend to display images.

Offline

#4 2020-09-08 14:37:31

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,698
Website

Re: My w3m can't display picture

Some terminal emulators do not support frame buffer image rendering.
E.g. xterm does support it, while gnome-terminal doesn't.
If you're using w3m from a plain TTY (no XServer ow Wayland), your current user must be in the group "video" to display frame buffer images.

Last edited by schard (2020-09-08 14:38:10)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#5 2020-09-12 02:05:50

TSwiftie
Member
Registered: 2020-08-23
Posts: 4

Re: My w3m can't display picture

jonno2002 wrote:
pacman -Si w3m |grep Dep
Depends On      : openssl  gc  ncurses  gpm
Optional Deps   : imlib2: for graphics support

do you have imlib2 installed ?

Yes, I have installed it,but nothing.

Offline

#6 2020-09-12 02:27:45

TSwiftie
Member
Registered: 2020-08-23
Posts: 4

Re: My w3m can't display picture

schard wrote:

Some terminal emulators do not support frame buffer image rendering.
E.g. xterm does support it, while gnome-terminal doesn't.
If you're using w3m from a plain TTY (no XServer ow Wayland), your current user must be in the group "video" to display frame buffer images.

I tried it, but no use.If I use the ueberzug for my ranger to preview image,it works perfectly.So I think it's not a problem from my terminal.

Offline

#7 2020-09-12 02:40:26

TSwiftie
Member
Registered: 2020-08-23
Posts: 4

Re: My w3m can't display picture

Mortimer Houghton wrote:

See: https://github.com/alacritty/alacritty/ … -359184981

I am not using X11, so I have resolved this by using sdump (from AUR) which uses a libsixel backend to display images.

em.....I just want to know why w3m can't display picture on my terminal.

Last edited by TSwiftie (2020-09-12 02:40:50)

Offline

#8 2020-09-12 02:50:00

Mortimer Houghton
Member
Registered: 2014-09-28
Posts: 89

Re: My w3m can't display picture

TSwiftie wrote:
Mortimer Houghton wrote:

See: https://github.com/alacritty/alacritty/ … -359184981

I am not using X11, so I have resolved this by using sdump (from AUR) which uses a libsixel backend to display images.

em.....I just want to know why w3m can't display picture on my terminal.

Did you read the link?  It explains fairly well why you are having trouble with w3mimgdisplay in Alacritty as well as some suggestions on how it might be fixed. I also gave you information on how I got w3m working in Alacritty. I gave you everything you asked for.

Offline

#9 2020-09-12 05:54:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,685

Re: My w3m can't display picture

w3m -o auto_image=TRUE www.totallynotporn.xxx

Online

Board footer

Powered by FluxBB