Skip to main content
Topic: No Image Preview in Ranger; Suckless Terminal (Read 2502 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

No Image Preview in Ranger; Suckless Terminal

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!

Re: No Image Preview in Ranger; Suckless Terminal

Reply #1
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.

Re: No Image Preview in Ranger; Suckless Terminal

Reply #2
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

Re: No Image Preview in Ranger; Suckless Terminal

Reply #3
Image preview in ranger is pretty buggy and relies on weird behavior. I don't think it's expected to work on all terminals.

Re: No Image Preview in Ranger; Suckless Terminal

Reply #4
install feh 
Code: [Select]
sudo pacman -S feh

 

Re: No Image Preview in Ranger; Suckless Terminal

Reply #5
well, pacman says that w3m is the right thisng to install:
Quote
w3m: for previews of images and html pages [installed]