Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ueberzugpp stuck vifm #879

Closed
dongdongbh opened this issue Feb 22, 2023 · 3 comments
Closed

ueberzugpp stuck vifm #879

dongdongbh opened this issue Feb 22, 2023 · 3 comments

Comments

@dongdongbh
Copy link

I'm following vifmimg setup ueberzug for vifm.

When I open a pdf file, their is a thumbnail picture created in cache directory, which proof the other part works fine, but it the image do not shows up in vifm, and the vifm stucked. When I open a image, their also no image shows up, and the vifm also stucked.

I'm using ueberzugpp, and I also posted an issue their, it seems ueberzugpp works fine, their is some problem inside vifm.

Test environment

system: ubuntu server 20.04
terminal: alacritty
vifm:

Version: 0.12.1
Git info: built out of repository
Compiled at: Feb 20 2023 13:53:33

Support of extended keys is on
Parsing of .desktop files is enabled
With GTK+ library
Without magic library
With X11 library
With dynamic loading of X11 library
With file program
With -n option for cp and mv
With remote command execution
@xaizek xaizek changed the title ueberzug stuck vifm ueberzugpp stuck vifm Feb 22, 2023
@xaizek
Copy link
Member

xaizek commented Feb 22, 2023

their is some problem inside vifm.

You're trying to use vifmimg with an application it's not meant to be used with. The problem is highly likely in euberzugpp.

In particular, its README says:

Layer accepts the silent [-s] option, to hide the textual output of the command.

That's the only option it accepts, while vifmrun also passes -p json, so it probably fails on the start and pipe has no reader.

@RayZ0rr
Copy link

RayZ0rr commented May 9, 2023

@dongdongbh

Earlier this week I had issues with image-preview on ueberzug with vifm. Vifm would freeze when it was showing a preview.

Right now, I am using ueberzug without issues on Vifm. Here's what I did to fi it.

I had an /usr/bin/ueberzug which was not working properly. From my memory I installed it from pip. But it didn't show association to any package managers.

It didn't show up when I did pip list or sudo pacman -Qq

So I deleted that file :P :

sudo trash /usr/bin/ueberzug

I used trash-cli instead of rm just in case

Then I reinstalled ueberzug from official arch repos:

sudo pacman -S ueberzug

Then everything was back to normal

@xaizek
Copy link
Member

xaizek commented May 9, 2023

@RayZ0rr, the issue here was with ueberzugpp (see jstkdng/ueberzugpp#9 (comment)). It was updated to be compatible with original ueberzug written in python and should have no issues anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants