I'm looking for a  #Linux image viewer that maintains the zoom level and region while skipping through a glob of images with the arrow or PgUp/PgDown keys.

I have tried (on  #NixOS):

#ristretto
#gthumb
#viewnior
#geeqie
#qview (broken)
🫤 #sxiv (works in slideshow mode, resest zoom when skipping manually 🙄)
#gwenview (+changed settings&keybindings)
#feh --keep-zoom-vp works

@bdiederik I don't know, what the heck is this?

$ fbi by-type/vertical-profile/abl-development/2024-08-15/*/*.png
using "DejaVu Sans Mono-16", pixelsize=16,67 file=/nix/store/66by2zj6phawi7pgs7ilzr4vabaszqf8-dejavu-fonts-2.37/share/fonts/truetype/DejaVuSansMono.ttf
trying drm: /dev/dri/card0 ...
drm: drmModeSetCrtc() failed
trying fbdev: /dev/fb0 ...
open /dev/fb0: Permission denied

@nobodyinperson add your user to the video group
@nobodyinperson its a console command.

@bdiederik So in the tty? No, I need it for during a videocall.

video group also doesn't help

...
ioctl VT_GETSTATE: Inappropriate ioctl for device
ioctl VT_GETMODE: Inappropriate ioctl for device
NOTICE: No vt switching available on terminal.
NOTICE: Not started from linux console? CONFIG_VT=n?
WARNING: Running on framebuffer and can't manage access.
WARNING: Other processes (fbcon too) can write to display.
WARNING: Also can't properly cleanup on exit.
Oops: Interrupt

@nobodyinperson dont know i use it to watch porn.

Well hidden away. No nonsense good images displayed. Good zoom.

@nobodyinperson geeqie can be configured to keep a zoom and position across images but works on directories and its own filtering, not a glob from the CLI.

I think it was `feh` that I got to do this too, but I can't remember if it was out of the box or scipting it to foo. I sometimes use `magick` to preprocess a batch of images to a specific crop location for more robust previewing (and diffing) options.

@alerque AAAh, there is

> feh --keep-zoom-vp *.png

👍 Thanks! The feh window still flies all over the place sometimes, but this might be workable.

@nobodyinperson Yes `feh` is a bit spastic. I think it sometimes closes and spawns new widows instead of reusing them when switching files or modes. I cope using window manager rules to force it's hand on where to put itself.

You might check of `oculante` has this feature yet.

@nobodyinperson kde's gwenview?

@thibaultmol Indeed! I also like its smooth transition between images, though it slows it down quite a bit.

However, it seems arrow and page keys then move the viewport and don't skip through the images anymore... 🫤

@nobodyinperson you should be able to change those keyboard shortcuts
@thibaultmol Indeed, binding prev/next to PgUp/PgDown makes it work like I want! 🙂 Thanks!

@nobodyinperson I can report that Pix appears to not be able to do those two things. Unless you can figure out how to write a shell script to do those actions (which it accepts in the Personalize menu option).

XnView MP allows you to lock the zoom and it keeps the zoom position--but only until you get to a photo with a different ratio and/or size. At first glance, I don't think it lets you PgUp/PgDown, but the roller moves through them very quickly.

@rspfau Thanks. Couldn't try XnView MP because it's not packaged for  #NixOS. Also it doesn't seem to be #FOSS, so not really interested in that one...
@nobodyinperson Best of luck to you then! I think you're searching for a unicorn with that many requirements.
@rspfau Well look at the OP, there's two already that fulfil them 😉
@nobodyinperson You're lucky! Most people don't find their unicorns.
@nobodyinperson nomacs has a setting for it 🙃