kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.46k stars 154 forks source link

Image previewing doesn't seem to work #264

Closed thepenguinthatwants closed 1 year ago

thepenguinthatwants commented 1 year ago

I am following https://github.com/kamiyaa/joshuto/blob/main/docs/image_previews.md I created Joshuto Wrapper script and added to my bin folder, named it as joshu and I can open joshuto with it.

[preview] preview_shown_hook_script = "~/.config/joshuto/on_preview_shown.sh" preview_removed_hook_script = "~/.config/joshuto/on_preview_removed.sh" As I have .sh ending in the scripts. They are executablle.

When I start with joshu command I can see it saiying ueberzug started, But when navigating to picture folders it doesn't open up any previews. Is there any way to make it log more? trying to run script on_preview_shown.sh manually doesnt give any outputs.

thepenguinthatwants commented 1 year ago

It should be straightforward based on the old issues, that I noticed related to this thing, but I just can't get anything to show. It did work in LF and ranger, so I feel like I am missing something.

using arch linux and aur git version of joshuto.

thepenguinthatwants commented 1 year ago

Ah it was the preview_file.sh that needed also the editing.