Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: RiGorilla on 08 July 2020, 07:29:49

Title: No Image Preview in Ranger; Suckless Terminal
Post by: RiGorilla on 08 July 2020, 07:29:49
Preview images in ranger don't show up after "loading..." and sometimes show up as "binary".

Terminal: st 0.8.2
Ranger: ranger-git 1.9.3
ueberzug: python-ueberzug-git 18.1.5

rc.conf:
set preview_images true
set preview_images_method ueberzug


I'm pretty new to arch so I'm pretty confused. Read around and installed all of ueberzug's dependencies then eventually just installed the aur git version but images still don't show up.

Help a zoomer out!
Title: Re: No Image Preview in Ranger; Suckless Terminal
Post by: SGOrava on 08 July 2020, 07:51:46
Does st support images at all (by default)?

You see st is what you made of it, patches, configurations most of the users have different configs and builds.
Title: Re: No Image Preview in Ranger; Suckless Terminal
Post by: RiGorilla on 08 July 2020, 08:36:25
Hi, thanks for responding.

I am able to display images on st with the help of ueberzug using the example script on the github page. However, when used with ranger the previews don't show.

I've followed the steps in changing ranger's rcconfig file to use ueberzug and made sure that they were of compatible versions. As seen in my root post above.

I'm really stumped as to why this is. Thanks for your patience
Title: Re: No Image Preview in Ranger; Suckless Terminal
Post by: Dudemanguy on 08 July 2020, 15:16:13
Image preview in ranger is pretty buggy and relies on weird behavior. I don't think it's expected to work on all terminals.
Title: Re: No Image Preview in Ranger; Suckless Terminal
Post by: tkor on 09 July 2020, 22:17:47
install feh 
Code: [Select]
sudo pacman -S feh
Title: Re: No Image Preview in Ranger; Suckless Terminal
Post by: SGOrava on 10 July 2020, 06:57:56
well, pacman says that w3m is the right thisng to install:
Quote
w3m: for previews of images and html pages [installed]