Open yogeshdnumb opened 1 year ago
I tried reproducing the issue using X11, dwm and alacritty but image previews worked fine. Do the previews still not work?
I have this issue now as well with archlinux + alacritty. Didn't make any changes to config.
However, if I open lf
in a tmux session it works fine.
Same problem for around the last 1-2 weeks, same setup (arch
/alacritty
/dwm
) -- also occured using stpv
, st
terminal, and switching package from ueberzug
to AUR ueberzugpp
.
Workarounds which worked:
tmux
(did not work using AUR ueberzugpp
)ueberzug
and install same package via pip (as ueberzug-bak
)ueberzug layer
(using either package) gave no errors and setting the debug flag in ctpv
showed something like:
Running preview: image
Preview failed: image
Exiftool output ...
---- To Add:
$ tail -f /tmp/ue.log | ueberzug layer
$ echo '{"action":"add","identifier":"preview","max_height":0,"max_width":0,"path":"/test.jpg","x":0,"y":0}' >> /tmp/ue.log
works (shows image) using the pip package and under tmux
but doesn't in the other mentioned cases. It fails silently showing nothing and sometimes freezes the terminal running ueberzug layer
(which then requires a -SIGKILL
to get rid of it).
Just want to mention I am having the same issue when using ueberzug, and the workaround with tmux works as well. As for ueberzug-bak pip package that doesn't work for me at all with or without tmux even though ueberzug binary is in path. So for now I am using kitty icat.
@rEnr3n @Zweihander-Main @sr-prog It seems like it started happening to you pretty recently. What distros do you use? If it's something like Arch, maybe it updated something and broke?
@NikitaIvanovV I'm using Arch, it might have something to do with the python 3.11 upgrade? I'm not sure.
Since the author of Ueberzug has decided to archive it, I suggest that to be the problem. Can anyyone try using chafa support and see if it is working properly? I had some random glyphs pop up instead of a clear image.
It suddenly works now. I'm not sure which package caused the issue.
I switched from ueberzug to ueberzugpp, works just like before. Donno how it works all fine suddenly @rEnr3n .
I just use ueberzug
package on archlinux. I never installed ueberzugpp
. Maybe an issue with cache?
I updated my system yesterday and it broke again. It's even broken inside tmux. I've switched to ueberzugpp
to make it work again.
Yeah. It must be the new default ig
same, broke again for me as well after system update
UPDATE: It works again after upgrading to 18.2.2-1 on Arch Linux
Same, the newest version update broke everything. Need some stable replacement for ueberzugpp now. Or maybe they'll fix it soon
Can anyone inform me if ueberzug or ueberzugcpp works on your machine?
Ueberzugpp works. It's aliased to ueberzug by default. There are bugs from time to time, the image preview pops up on another position in the terminal. Building it is also a pain since one of its optional dependency doesn't work. But that's what I use. Probably want to switch to another option in the future.
Can anyone inform me if ueberzug or ueberzugcpp works on your machine?
latest version of ueberzug from arch repo works on my archlinux machine
It now uses exiftool and stoped using ueberzug I also tried opening lf in kitty but no image preview there too I did'nt change anything it was working fine before I use archlinux and alacritty in x11(dwm)