IMV(5)
π
NAME β imv configuration file (IMV(5))
okay so bestie, this is the IMV(5) manual page for the imv config file β the little file that lets you customise imvβs default behaviour, key bindings, and appearance. Itβs giving main character energy for your image viewer. π
π¦ DESCRIPTION
imv can be customised with this configuration file, changing its default behaviour, key bindings, and appearance.
The imv configuration file is an ini-style file, with multiple key = value settings, separated into several [section]s. No cap. β¨
β¨ OPTIONS β¨
The [options] section accepts the following settings:
background = <hex-code|checks>β sets the background inimv. It can either be a 6-digit hexadecimal colour code, orchecksfor a chequered background. Defaults to000000.fullscreen = <true|false>β startimvfullscreen. Defaults tofalse.width = <width>β initial width of theimvwindow. Defaults to1280.height = <height>β initial height of theimvwindow. Defaults to720.initial_pan = <pan_factor_x> <pan_factor_y>β initial pan/focus position factor of the opened images. A value of50represents the middle point of the image (50%). Defaults to50 50.list_files_at_exit = <true|false>β print open files tostdoutat exit, each on a separate line. Defaults tofalse.loop_input = <true|false>β return to the first image after viewing the last one. Defaults totrue.overlay = <true|false>β start with the overlay visible. Defaults tofalse.overlay_font = <typeface:size>β use the specified font in the overlay. Defaults toMonospace:24.overlay_text = <text>β use the given text as the overlayβs text. The provided text is shell expanded, so the output of commands can be used (for example,$(ls)). Environment variables can also be used, including the ones accessible toimvβsexeccommand.overlay_text_color = <hex-code>β set the color for the text in the overlay. It is a 6-digit hexadecimal color code. Defaults toffffff.overlay_text_alpha = <hex-code>β set the alpha for the text in the overlay. It is a 2-digit hexadecimal color code. Defaults toff.overlay_background_color = <hex-code>β set the color for the background of the overlay. It is a 6-digit hexadecimal color code. Defaults to000000.overlay_background_alpha = <hex-code>β set the alpha for the background of the overlay. It is a 2-digit hexadecimal color code. Defaults toc3.overlay_position_bottom = <true|false>β display the overlay at the bottom of theimvwindow, instead of the top.recursively = <true|false>β load input paths recursively. Defaults tofalse.scaling_mode = <none|shrink|full|crop>β set the scaling mode to use.nonewill show each image at its actual size.shrinkwill scale down the image to fit inside the window.fullwill both scale up and scale down the image to fit perfectly inside the window.cropwill scale and crop the image to fill the window. Defaults tofull.slideshow_duration = <duration>β startimvin slideshow mode, and set the amount of time to show each image for in seconds. Defaults to0, i.e. no slideshow.suppress_default_binds = <true|false>β disableimvβs built-in binds so they donβt conflict with custom ones. Defaults tofalse.title_text = <text>β use the given text as the windowβs title. The provided text is shell expanded, so the output of commands can be used:$(ls), as can environment variables, including the ones accessible toimvβsexeccommand.upscaling_method = <linear|nearest_neighbour>β use the specified method to upscale images. Defaults tolinear.
π ALIASES
The [aliases] section allows aliases to be added for imvβs built-in commands. For example, x = close would add an x command that simply executes the close command. Any arguments provided to an alias are appended to the command configured by the alias. Cute and useful. π«Ά
π BINDS
The [binds] section allows custom key bindings to be added to imv.
Binds are in the format key combination = command. A key combination can consist of multiple keys in succession. Multiple commands for a single key combination can be defined by separating each command with a ;. Single and double quotes are honoured, as is escaping with a backslash, to allow the proper quoting of shell commands. Periodt. π
Single keys such as q are just that: q = quit will bind the q key to the quit command.
Modifier keys can be specified by prefixing them: Ctrl+q, Meta+f, Shift+G. If multiple modifier keys are desired, they are specified in the order Ctrl+Meta+Shift. When a keyβs name is more than a single character, or a modifier is used, it must be wrapped in < and >, for example: <Ctrl+q>.
Multiple keys in succession can be specified by listing them in order: gg = goto 1 will bind two presses of the g key to jump to the first image, and <Ctrl+a>p = exec echo hi will bind the key sequence of Ctrl+a followed by p to executing the shell command echo hi.
Many keys, such as < and >, have special names. On X11, these can be easily found with the xev(1) command. For example, ! is called exclam, < is called less, > is called greater.
A complete list of keysyms can also be found on most systems with the dumpkeys -l command.
And the manualβs final little pointer: imv(1). π
π Thatβs the whole IMV(5) serve β source/version is the IMV(5) manual, dated 03/22/2026. Go make your config iconic, bestie. π«Άβ¨
π¦ where this page comes from
- alpine 3.24: imv-doc 5.0.1-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms