thimc / lfimg

Image preview support for lf (list files) using Überzug
GNU General Public License v3.0
252 stars 45 forks source link

Image shows as loading #28

Closed MuizU closed 2 years ago

MuizU commented 2 years ago

I am running kubuntu. I installed the required packages, and followed the instructions. Despite this the images don't preview and instead have a loading text. image

steveslatky commented 2 years ago

You most likely don't have ueberzug installed correctly. You may need to install it with pip.

TKperson commented 2 years ago

For me, the problem was that I didn't install ueberzug with sudo, and the ueberzug ended up in my ~/.local folder

sudo pip3 install ueberzug fixed my problem

KirkEasterson commented 2 years ago

You may also need the python-is-python3 package. I'm in ubuntu, so sudo apt install python-is-python3. I don't know if/how this package exists in other distro's repositories.

thimc commented 2 years ago

Like TKperson said, If you install ueberzug as a user you need to update your $PATH variable.

thimc commented 2 years ago

Closing, haven't heard anything from OP.

aligit commented 1 year ago

I'm followed the instructions. My .config/lf directory contains cleaner, lfrc and preview. lfrun is also in the PATH. However when the cursor is over an image it shows loading and then nothing is shown.

For ueberzug I installed via pip3 install ueberzug both with sudo and without it. I also installed python-is-python3 as I'm in ubuntu.

I'm running ubuntu 20.24