You are not logged in.

#1 2023-01-29 02:27:52

huge-pancake
Member
Registered: 2023-01-26
Posts: 5

[SOLVED] How can I view images in ranger

OS: Arch Linux x86_64
WM: sway (wayland)
Terminal: kitty

I installed ranger and w3m, also wrote `set preview_images true` in rc.conf, but ranger said
```
('Failed to execute w3mimdsiaplay', [])
```

Last edited by huge-pancake (2023-04-15 08:31:19)

Offline

#2 2023-01-29 02:58:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,493
Website

Re: [SOLVED] How can I view images in ranger

Is w3m installed?  If you are using kitty, why haven't you set preview_images_method to kitty?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2023-01-29 02:59:51

huge-pancake
Member
Registered: 2023-01-26
Posts: 5

Re: [SOLVED] How can I view images in ranger

Trilby wrote:

Is w3m installed?  If you are using kitty, why haven't you set preview_images_method to kitty?

Thanks a lot!

Now I use python-pillow[aur] with kitty, and it works!

Offline

#4 2023-01-29 12:28:37

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] How can I view images in ranger

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Also for future reference, markdown is not supported here. Please use [ code ] tags (not quote tags) instead.

https://wiki.archlinux.org/title/Genera … s_and_code
https://bbs.archlinux.org/help.php#bbcode

Offline

Board footer

Powered by FluxBB