Comments (10)
Closing for lack of activity. Reopen if you feel the problem is on this project's side.
from lf-gadgets.
Very curious. May I ask you to reinstall lf-yt
and paste the output of sudo -E make install
? I would like to see if anything does wrong during your setup.
from lf-gadgets.
Very curious. May I ask you to reinstall
lf-yt
and paste the output ofsudo -E make install
? I would like to see if anything does wrong during your setup.
This was what I got
mkdir -p "/usr/local/bin"
cp -f lf-yt lf-yt-cleaner lf-yt-previewer \
"/usr/local/bin"
chmod 755 "/usr/local/bin/lf-yt" \
"/usr/local/bin/lf-yt-cleaner" \
"/usr/local/bin/lf-yt-previewer"
mkdir -p "/home/muizu/.config/lf-yt"
cp -f lfrc-yt "/home/muizu/.config/lf-yt"
from lf-gadgets.
Looks good to me. Do regular ueberzug image previews work with lf? Check out the lf-ueberzug
directory in this repository if you need help setting that up.
Other than that you may try to (temporarily) delete your lfrc (should be located in $HOME/.config/lf/). lf-yt
uses its own config lfyt-rc, however the default lfrc is loaded aswell (something which I cannot avoid currently as that's lf
's built-in behavior). Your own lfrc may break things with lf-yt
, try to remove it temporarily.
If none of that works we'll do some systematic debugging.
from lf-gadgets.
I removed my lfrc and tried lf-ueberzug. The issue I'm having is that even lf-ueberzug doesn't work despite me removing the config file.
from lf-gadgets.
Okay, your ueberzug version
is up-to-date, aye? (18.1.9).
Run this in your terminal to ascertain that image previews work. This should display your .png image at the top left corner of the terminal.
cd $(mktemp -d)
img=/full/path/to/image.png # your image here
mkfifo fifo
tail -f fifo | ueberzug layer --silent &
sleep 1
cat <<-EOF | paste -sd '' >fifo
{
"action": "add", "identifier": "lf-preview",
"path": "$img", "x": 0, "y": 0, "width": 20, "height": 30,
"scaler": "contain"
}
EOF
from lf-gadgets.
Yes, my ueberzug version is up to date. I wasn't able to successfully execute that script
from lf-gadgets.
Very curious indeed. The above code snippet is a minimum working example for ueberzug
overlays which requires nothing more than GNU/linux and ueberzug
.
Your ueberzug
terminates with exit code 1 where it shouldn't terminate at all. Remove the --silent flag from the above script and try again. ueberzug
should then tell you its problem.
from lf-gadgets.
from lf-gadgets.
Alright, something's definitely wrong with your ueberzug
installation. Please head over to ueberzug's github page and create an issue for that very problem. Once that's fixed lf-yt
will probably work as intended.
from lf-gadgets.
Related Issues (20)
- ueberzug error HOT 2
- Not working! HOT 4
- Bat preview not working HOT 3
- Replacing ls output by exa HOT 1
- paste: no delimiters specified HOT 5
- It shows Loading... but not preview HOT 14
- [lf-yt] Replace youtube-dl with yt-dlp
- ueberzug is unmaintained HOT 1
- can lf-ueberzug support wslg xming? HOT 1
- Add support for libxel(image2sixel) for displaying images. HOT 1
- please add support for fish shell
- No visual previews for Kitty
- XDG compliance. HOT 3
- Extend lf-scrollingpreview with pagination for PDF files.
- Remove Makefile from lf-yt
- Don't source lfrc
- Clean up lf-shellcd and lf-ueberzug
- Finish or abandon lf-filedialog HOT 1
- Refactor gadget to be usable without installation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lf-gadgets.