`fff` does not display image preview
tapyu opened this issue · 3 comments
I cannot display any image preview on fff
. I've already installed w3m-img
(found with the name w3m
on Manjaro), xdotool
, fbset
, in addition to the w3m
's dependencies (openssl gc ncurses gpm imlib2), but it is still not working.
OS info
tapyu@tapyu-20qrcto1ww
OS: Manjaro 21.3.6 Ruah
Kernel: x86_64 Linux 5.15.60-1-MANJARO
Uptime: 8h 53m
Packages: 1496
Shell: zsh 5.9
Resolution: 3840x2160
DE: GNOME 42.3
WM: Mutter
WM Theme:
GTK Theme: Adw-dark [GTK2/3]
Icon Theme: Papirus-Dark
Font: Noto Sans 11
Disk: 50G / 480G (11%)
CPU: Intel Core i7-9750H @ 12x 4.5GHz [50.0°C]
GPU: Quadro P620
RAM: 4097MiB / 23678MiB
Are you using the i
keybind to view images?
Might be the same issue that I'm running into as well. But for me it flashes the image on the screen briefly but immediately disappears.
My term stack is i3-wm
/Alacritty
/tmux
/zsh
/fff
Had the same problem as @Swivelgames and run a very similar setup (alacritty
, tmux
/zellij
, zsh
, fff
) on Manjaro.
The problem seems to be related to using w3m-img
together witch alacritty
, since the first is a big hack. Thus, I forked the fff
repo and added support for previewing images with sixel
and chafa
.
Works very well so far if you use a terminal which supports sixel graphics. Unfortunately, regular alacritty
doesn't, but there is a very well maintained fork which has sixel included. Its easy to build from source and now runs flawless with my modified version of fff
! Only drawback, very big pictures can take some time to load.
Small demo: