LinuxCommandLibrary

imv

Rename multiple files using a text editor

TLDR

View multiple images

$ imv [path/to/image1.ext path/to/image2.ext ...]
copy

View in fullscreen mode
$ imv -f [path/to/image.ext]
copy

View images [r]ecursively from a path
$ imv -r --slideshow [path/to/directory]
copy

Open multiple images via stdin
$ find . -type f -name "[*.svg]" | imv
copy

Make a slideshow from a directory showing each image for 10 seconds
$ imv -t 10 [path/to/directory]
copy

View multiple images from the web
$ curl [[-Osw|--remote-name --silent --write-out]] '%{filename_effective}\n' '[http://www.example.com/[1-10].jpg]' | imv
copy

SYNOPSIS

imv [options] [files …]

PARAMETERS

-h, --help
    Print help and exit

-v, --version
    Print version and exit

-c, --config=PATH, -C PATH
    Load config from PATH (use - for stdin)

-i, --input-config=PATH, -I PATH
    Load input bindings from PATH (use - for stdin)

-o, --option=OPTION, -O OPTION
    Override config option

-b, --background=COLOR, -B COLOR
    Set background (#rrggbb or #rrggbbaa)

-s, --scale-mode=MODE, -S MODE
    Initial scale: contain, cover, stop, fill

-l, --log=LEVEL
    Log level: panic, error, warn, info, debug, trace

-d, --debug
    Set log to debug

-f, --file-selector-command=COMMAND
    Command for interactive file selection

DESCRIPTION

imv is a lightweight, suckless-inspired image viewer for X11 and Wayland. Designed for simplicity and speed, it is controlled entirely via keyboard bindings and a configuration file, ideal for tiling window managers. It supports popular formats like JPEG, PNG, GIF, WebP, BMP, and more via imlib2. Features include zoom/pan/rotate/flip, multiple scaling modes (contain, cover, fill), slideshows, thumbnails, EXIF overlays, and multi-image loading. File selection integrates with tools like dmenu. No GUI dependencies beyond windowing system; mouse optional. Highly customizable with per-option overrides.

CAVEATS

Requires imlib2, libgif, etc.; Wayland support may need wlroots. No built-in animation playback. Config errors silently ignored.

CONFIG FILE

~/.config/imv/config uses INI-style: [options] for scale=contain; [binds] for key=action like q=quit.

DEFAULT KEYS

q=quit
arrows/hjkl=navigate
+=zoom in
-=zoom out
r=rotate 90°
f=flip
space=pause slideshow

HISTORY

Developed by David Demelier starting 2019 as Wayland-capable sxiv alternative. Actively maintained, version 4.x+ adds better Wayland, thumbs, overlays.

SEE ALSO

sxiv(1), nsxiv(1), feh(1), chafa(1)

Copied to clipboard