You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a recent NixOS update, for some reason image previews stopped working. I'm using kitty 0.29.2
This is my config:
set previewer /nix/store/m7xbhvr4qcvl7na07644rqb5j2vsrj4l-ctpv-1.1/bin/ctpv
set cleaner /nix/store/m7xbhvr4qcvl7na07644rqb5j2vsrj4l-ctpv-1.1/bin/ctpvclear
cmd on-quit %/nix/store/m7xbhvr4qcvl7na07644rqb5j2vsrj4l-ctpv-1.1/bin/ctpv -e $id&/nix/store/m7xbhvr4qcvl7na07644rqb5j2vsrj4l-ctpv-1.1/bin/ctpv -s $id
Running ctpv image.jpg by itself properly renders the image into the terminal.
Strangely, if I remove the final ctpv -s $id line from my config, previews in lf now works. What is this command for? It seems that it acts as a server, but preview works anyways without it.
EDIT: Hmm, it seems that the server is only needed for ueberzug, which I don't use (#12 (comment)). So I guess I can just safely remove that line. Still don't know why it stopped working though.
The text was updated successfully, but these errors were encountered:
Yes, currently ctpv -s $id is only needed for ueberzug. My guess is that ctpv thought ueberzug was available on your system but it did not work for some reason, resulting in no preview being shown. Do you have ueberzug installed? If yes, does bringing back the deleted line and adding set forcekitty to your ctpv config fix the issue?
In a recent NixOS update, for some reason image previews stopped working. I'm using kitty 0.29.2
This is my config:
Running
ctpv image.jpg
by itself properly renders the image into the terminal.Strangely, if I remove the final
ctpv -s $id
line from my config, previews inlf
now works. What is this command for? It seems that it acts as a server, but preview works anyways without it.EDIT: Hmm, it seems that the server is only needed for ueberzug, which I don't use (#12 (comment)). So I guess I can just safely remove that line. Still don't know why it stopped working though.
The text was updated successfully, but these errors were encountered: