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

Preview image prob still . . #2947

Open
philiprhoades opened this issue Feb 4, 2024 · 0 comments
Open

Preview image prob still . . #2947

philiprhoades opened this issue Feb 4, 2024 · 0 comments

Comments

@philiprhoades
Copy link

philiprhoades commented Feb 4, 2024

People,

There are quite a few discussions on this issue but none of the suggestions fix my problem.

Runtime Environment

ranger version: ranger 1.9.3
Python version: 3.12.0 (main, Oct 2 2023, 00:00:00) [GCC 13.2.1 20230918 (Red Hat 13.2.1-3)]
Locale: None.None

Operating system and version:
Fedora 39 with Sway

Terminal emulator and version:
kitty 0.30.1

Current Behavior

With these lines in ranger.conf:

set preview_images true
set preview_images_method kitty

and ONLY these two lines in rifle.conf:

mime ^image, has eog,      X, flag f = eog -- "$@"
mime ^image/svg, has eog,      X, flag f = eog -- "$@"

These work as expected:

rifle x.png
rifle x.svg

but only the x.png works from ranger - the svg gives error:

"cannot identify image file"

I have seen some comments that this is a Sway problem? - why exactly?

Expected Behavior

ranger is able to open svg files as well as bitmaps.

Context

This bug slows down my image browsing.

Possible Solutions

?

Steps to reproduce

As above.

Thanks,
Phil.

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

No branches or pull requests

1 participant