2021-09-16 11:32:59 +02:00
|
|
|
.TH NSXIV 1 nsxiv\-VERSION
|
2011-01-23 18:20:08 +01:00
|
|
|
.SH NAME
|
2021-11-01 04:13:40 +01:00
|
|
|
nsxiv \- Neo Simple X Image Viewer
|
2011-01-23 18:20:08 +01:00
|
|
|
.SH SYNOPSIS
|
2021-09-16 11:32:59 +02:00
|
|
|
.B nsxiv
|
2021-09-21 22:31:16 +02:00
|
|
|
.RB [ \-abcfhiopqrtvZ0 ]
|
2016-11-27 09:05:26 +01:00
|
|
|
.RB [ \-A
|
|
|
|
.IR FRAMERATE ]
|
2016-10-30 19:24:55 +01:00
|
|
|
.RB [ \-e
|
|
|
|
.IR WID ]
|
2013-11-14 17:06:20 +01:00
|
|
|
.RB [ \-G
|
|
|
|
.IR GAMMA ]
|
2011-01-30 22:23:36 +01:00
|
|
|
.RB [ \-g
|
|
|
|
.IR GEOMETRY ]
|
2012-10-29 00:53:50 +01:00
|
|
|
.RB [ \-N
|
|
|
|
.IR NAME ]
|
2013-11-14 17:06:20 +01:00
|
|
|
.RB [ \-n
|
|
|
|
.IR NUM ]
|
2014-01-04 18:38:40 +01:00
|
|
|
.RB [ \-S
|
|
|
|
.IR DELAY ]
|
2014-02-04 23:05:29 +01:00
|
|
|
.RB [ \-s
|
|
|
|
.IR MODE ]
|
2011-01-28 13:34:16 +01:00
|
|
|
.RB [ \-z
|
|
|
|
.IR ZOOM ]
|
2011-01-23 19:27:16 +01:00
|
|
|
.IR FILE ...
|
2011-01-23 18:20:08 +01:00
|
|
|
.SH DESCRIPTION
|
2021-09-16 11:32:59 +02:00
|
|
|
nsxiv is a simple image viewer for X.
|
2011-01-23 18:20:08 +01:00
|
|
|
.P
|
2019-01-26 14:11:21 +01:00
|
|
|
It has two modes of operation: image and thumbnail mode. The default is image
|
2021-11-01 04:13:40 +01:00
|
|
|
mode, in which only the current image is shown. In thumbnail mode a grid of
|
2011-02-21 17:06:32 +01:00
|
|
|
small previews is displayed, making it easy to choose an image to open.
|
|
|
|
.P
|
2022-03-26 11:02:22 +01:00
|
|
|
Please note, that the fullscreen mode requires an EWMH/NetWM-compliant window
|
2011-01-23 18:20:08 +01:00
|
|
|
manager.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.BI "\-A, \-\-framerate " FRAMERATE
|
2016-11-28 18:54:39 +01:00
|
|
|
Play animations with a constant frame rate set to
|
|
|
|
.IR FRAMERATE .
|
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-a, \-\-animate"
|
2014-07-25 22:52:31 +02:00
|
|
|
Play animations of multi-frame images.
|
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-b, \-\-no\-bar"
|
2021-12-24 00:25:49 +01:00
|
|
|
Do not show statusbar at the bottom of the window.
|
2012-02-16 23:20:27 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-c, \-\-clean\-cache"
|
2011-04-08 17:07:25 +02:00
|
|
|
Remove all orphaned cache files from the thumbnail cache directory and exit.
|
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.BI "\-e, \-\-embed " WID
|
2021-09-16 11:32:59 +02:00
|
|
|
Embed nsxiv's window into window whose ID is
|
2016-10-30 19:24:55 +01:00
|
|
|
.IR WID .
|
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-f, \-\-fullscreen"
|
2011-01-28 13:34:16 +01:00
|
|
|
Start in fullscreen mode.
|
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.BI "\-G, \-\-gamma " GAMMA
|
2021-09-11 08:41:49 +02:00
|
|
|
Set image gamma to GAMMA (\-32..32).
|
2013-11-14 17:06:20 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.BI "\-g, \-\-geometry " GEOMETRY
|
2011-01-30 22:02:03 +01:00
|
|
|
Set window position and size. See section GEOMETRY SPECIFICATIONS of X(7) for
|
2014-02-04 23:05:29 +01:00
|
|
|
more information on GEOMETRY argument.
|
2011-01-30 22:02:03 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-h, \-\-help"
|
2011-01-23 18:20:08 +01:00
|
|
|
Print brief usage information to standard output and exit.
|
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-i, \-\-stdin"
|
2018-12-29 19:03:34 +01:00
|
|
|
Read names of files to open from standard input. Also done if FILE is `-'.
|
2013-03-19 21:11:29 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.BI "\-N, \-\-class " NAME
|
|
|
|
Set the resource name (WM_CLASS) of nsxiv's X window to NAME.
|
|
|
|
.TP
|
|
|
|
.BI "\-n, \-\-start\-at " NUM
|
|
|
|
Start at picture number NUM.
|
|
|
|
.TP
|
|
|
|
.B "\-o, \-\-stdout"
|
2013-08-22 09:44:14 +02:00
|
|
|
Write list of all marked files to standard output when quitting. In combination
|
|
|
|
with
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-i, \-\-stdin"
|
2021-09-16 11:32:59 +02:00
|
|
|
nsxiv can be used as a visual filter/pipe.
|
2013-03-19 21:11:29 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-p, \-\-private"
|
2021-09-16 11:32:59 +02:00
|
|
|
Enable private mode, in which nsxiv does not write any cache or temporary files.
|
2017-07-13 02:15:51 +02:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-q, \-\-quiet"
|
2022-03-26 11:02:22 +01:00
|
|
|
Be quiet, and disable warnings to standard error stream.
|
2011-01-30 22:23:36 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-r, \-\-recursive"
|
2011-02-02 10:34:14 +01:00
|
|
|
Search the given directories recursively for images to view.
|
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.BI "\-S, \-\-ss\-delay " DELAY
|
2016-12-01 20:33:24 +01:00
|
|
|
Start in slideshow mode. Set the delay between images to
|
|
|
|
.I DELAY
|
|
|
|
seconds.
|
|
|
|
.I DELAY
|
2022-03-26 11:02:22 +01:00
|
|
|
may be a floating-point number.
|
2014-01-04 18:38:40 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.BI "\-s, \-\-scale\-mode " MODE
|
2021-11-01 04:13:40 +01:00
|
|
|
Set scale mode according to MODE character. Supported modes are: [d]own,
|
2021-04-14 19:10:14 +02:00
|
|
|
[f]it, [F]ill, [w]idth, [h]eight.
|
2011-01-28 13:34:16 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-t, \-\-thumbnail"
|
2011-02-21 17:06:32 +01:00
|
|
|
Start in thumbnail mode.
|
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-v, \-\-version"
|
2011-01-23 18:20:08 +01:00
|
|
|
Print version information to standard output and exit.
|
2011-01-27 16:15:43 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-Z, \-\-zoom\-100"
|
2011-08-18 01:19:59 +02:00
|
|
|
The same as `\-z 100'.
|
2011-01-28 13:34:16 +01:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.BI "\-z, \-\-zoom " ZOOM
|
2014-02-04 23:03:53 +01:00
|
|
|
Set zoom level to ZOOM percent.
|
2021-09-21 22:31:16 +02:00
|
|
|
.TP
|
2022-08-16 10:43:50 +02:00
|
|
|
.B "\-0, \-\-null"
|
2022-03-26 11:02:22 +01:00
|
|
|
Use NULL-separator. With this option, output of \-o and file-list sent to the
|
2021-12-24 00:25:49 +01:00
|
|
|
key-handler and the input of \-i will be separated by a NULL character.
|
2022-08-17 16:54:14 +02:00
|
|
|
.TP
|
|
|
|
.BI "\-\-anti\-alias" [=no]
|
|
|
|
Enables anti-aliasing, when given
|
|
|
|
.I no
|
|
|
|
as an argument, disables it instead.
|
2023-01-17 10:48:59 +01:00
|
|
|
.TP
|
|
|
|
.BI "\-\-alpha\-layer" [=no]
|
|
|
|
Enables checkerboard background for alpha layer, when given
|
|
|
|
.I no
|
|
|
|
as an argument, disables it instead.
|
2016-02-12 20:13:43 +01:00
|
|
|
.SH KEYBOARD COMMANDS
|
|
|
|
.SS General
|
2022-03-26 11:02:22 +01:00
|
|
|
The following keyboard commands are available in both image and thumbnail modes:
|
2011-01-23 18:20:08 +01:00
|
|
|
.TP
|
2011-10-16 20:33:23 +02:00
|
|
|
.BR 0 \- 9
|
|
|
|
Prefix the next command with a number (denoted via
|
|
|
|
.IR count ).
|
2011-01-23 18:20:08 +01:00
|
|
|
.TP
|
2014-07-23 21:50:31 +02:00
|
|
|
.B q
|
2021-09-16 11:32:59 +02:00
|
|
|
Quit nsxiv.
|
2011-01-23 18:20:08 +01:00
|
|
|
.TP
|
2014-07-23 21:50:31 +02:00
|
|
|
.B Return
|
|
|
|
Switch to thumbnail mode / open selected image in image mode.
|
2011-10-16 20:33:23 +02:00
|
|
|
.TP
|
|
|
|
.B f
|
|
|
|
Toggle fullscreen mode.
|
|
|
|
.TP
|
2012-02-15 22:33:39 +01:00
|
|
|
.B b
|
2021-12-24 00:25:49 +01:00
|
|
|
Toggle visibility of statusbar at the bottom of the window.
|
2012-02-15 22:33:39 +01:00
|
|
|
.TP
|
2014-01-31 13:21:23 +01:00
|
|
|
.B Ctrl-x
|
2014-08-16 21:31:05 +02:00
|
|
|
Send the next key to the external key-handler. See section EXTERNAL KEY HANDLER
|
|
|
|
for more information.
|
2014-01-31 13:21:23 +01:00
|
|
|
.TP
|
2014-07-23 21:50:31 +02:00
|
|
|
.B g
|
|
|
|
Go to the first image.
|
|
|
|
.TP
|
|
|
|
.B G
|
|
|
|
Go to the last image, or image number
|
|
|
|
.IR count .
|
|
|
|
.TP
|
2011-10-16 20:33:23 +02:00
|
|
|
.B r
|
|
|
|
Reload image.
|
|
|
|
.TP
|
|
|
|
.B D
|
|
|
|
Remove current image from file list and go to next image.
|
2013-08-10 21:18:53 +02:00
|
|
|
.TP
|
2014-07-23 21:50:31 +02:00
|
|
|
.BR Ctrl-h ", " Ctrl-Left
|
|
|
|
Scroll left one screen width.
|
|
|
|
.TP
|
|
|
|
.BR Ctrl-j ", " Ctrl-Down
|
|
|
|
Scroll down one screen height.
|
|
|
|
.TP
|
|
|
|
.BR Ctrl-k ", " Ctrl-Up
|
|
|
|
Scroll up one screen height.
|
|
|
|
.TP
|
|
|
|
.BR Ctrl-l ", " Ctrl-Right
|
|
|
|
Scroll right one screen width.
|
|
|
|
.TP
|
2014-09-28 00:26:02 +02:00
|
|
|
.BR +
|
|
|
|
Zoom in.
|
|
|
|
.TP
|
|
|
|
.B \-
|
|
|
|
Zoom out.
|
|
|
|
.TP
|
2013-08-10 21:18:53 +02:00
|
|
|
.B m
|
|
|
|
Mark/unmark the current image.
|
|
|
|
.TP
|
2013-11-14 14:45:27 +01:00
|
|
|
.B M
|
2021-12-24 00:25:49 +01:00
|
|
|
Mark/unmark all images starting from the last marked/unmarked image up to the
|
2018-06-04 22:18:57 +02:00
|
|
|
current one.
|
|
|
|
.TP
|
2014-08-17 20:27:01 +02:00
|
|
|
.B Ctrl-m
|
2021-09-11 08:41:49 +02:00
|
|
|
Reverse all image marks.
|
|
|
|
.TP
|
|
|
|
.B Ctrl-u
|
2014-08-17 20:27:01 +02:00
|
|
|
Remove all image marks.
|
|
|
|
.TP
|
2013-08-10 21:18:53 +02:00
|
|
|
.B N
|
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
marked images forward.
|
|
|
|
.TP
|
|
|
|
.B P
|
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
marked images backward.
|
2015-01-07 08:43:54 +01:00
|
|
|
.TP
|
|
|
|
.B {
|
|
|
|
Decrease gamma correction by
|
|
|
|
.I count
|
|
|
|
steps.
|
|
|
|
.TP
|
|
|
|
.B }
|
|
|
|
Increase gamma correction by
|
|
|
|
.I count
|
|
|
|
steps.
|
|
|
|
.TP
|
|
|
|
.B Ctrl-g
|
|
|
|
Reset gamma correction.
|
2022-12-22 12:21:40 +01:00
|
|
|
.TP
|
|
|
|
.B [
|
|
|
|
Decrease brightness correction by
|
|
|
|
.I count
|
|
|
|
steps.
|
|
|
|
.TP
|
|
|
|
.B ]
|
|
|
|
Increase brightness correction by
|
|
|
|
.I count
|
|
|
|
steps.
|
|
|
|
.TP
|
|
|
|
.B (
|
|
|
|
Decrease contrast by
|
|
|
|
.I count
|
|
|
|
steps.
|
|
|
|
.TP
|
|
|
|
.B )
|
|
|
|
Increase contrast by
|
|
|
|
.I count
|
|
|
|
steps.
|
2016-02-12 20:13:43 +01:00
|
|
|
.SS Thumbnail mode
|
2011-10-16 20:33:23 +02:00
|
|
|
The following keyboard commands are only available in thumbnail mode:
|
|
|
|
.TP
|
|
|
|
.BR h ", " Left
|
2012-07-15 10:30:58 +02:00
|
|
|
Move selection left
|
|
|
|
.I count
|
|
|
|
times.
|
2011-10-16 20:33:23 +02:00
|
|
|
.TP
|
|
|
|
.BR j ", " Down
|
2012-07-15 10:30:58 +02:00
|
|
|
Move selection down
|
|
|
|
.I count
|
|
|
|
times.
|
2011-10-16 20:33:23 +02:00
|
|
|
.TP
|
|
|
|
.BR k ", " Up
|
2012-07-15 10:30:58 +02:00
|
|
|
Move selection up
|
|
|
|
.I count
|
|
|
|
times.
|
2011-10-16 20:33:23 +02:00
|
|
|
.TP
|
|
|
|
.BR l ", " Right
|
2012-07-15 10:30:58 +02:00
|
|
|
Move selection right
|
|
|
|
.I count
|
|
|
|
times.
|
2011-10-27 16:21:01 +02:00
|
|
|
.TP
|
2014-07-23 21:50:31 +02:00
|
|
|
.B R
|
|
|
|
Reload all thumbnails.
|
2016-02-12 20:13:43 +01:00
|
|
|
.SS Image mode
|
2011-10-16 20:33:23 +02:00
|
|
|
The following keyboard commands are only available in image mode:
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
|
|
|
Navigate image list:
|
2011-10-16 20:33:23 +02:00
|
|
|
.TP
|
|
|
|
.BR n ", " Space
|
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
images forward.
|
|
|
|
.TP
|
|
|
|
.BR p ", " Backspace
|
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
images backward.
|
2011-01-23 18:20:08 +01:00
|
|
|
.TP
|
|
|
|
.B [
|
2011-10-16 20:33:23 +02:00
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
* 10 images backward.
|
2011-01-23 18:20:08 +01:00
|
|
|
.TP
|
|
|
|
.B ]
|
2011-10-16 20:33:23 +02:00
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
* 10 images forward.
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
2022-07-18 11:06:02 +02:00
|
|
|
.B Ctrl-6
|
|
|
|
Go to the previously viewed image.
|
|
|
|
.TP
|
2016-02-12 20:13:43 +01:00
|
|
|
Handle multi-frame images:
|
2011-09-02 18:54:52 +02:00
|
|
|
.TP
|
|
|
|
.B Ctrl-n
|
2015-12-26 15:24:08 +01:00
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
frames of a multi-frame image forward.
|
2011-09-02 18:54:52 +02:00
|
|
|
.TP
|
|
|
|
.B Ctrl-p
|
2015-12-26 15:24:08 +01:00
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
frames of a multi-frame image backward.
|
2011-09-02 18:54:52 +02:00
|
|
|
.TP
|
2021-09-12 20:13:13 +02:00
|
|
|
.BR Ctrl-a ", " Ctrl-Space
|
2014-07-25 22:52:31 +02:00
|
|
|
Play/stop animations of multi-frame images.
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
|
|
|
Panning:
|
2011-01-23 18:20:08 +01:00
|
|
|
.TP
|
2011-01-28 13:42:39 +01:00
|
|
|
.BR h ", " Left
|
2014-07-23 21:50:31 +02:00
|
|
|
Scroll image 1/5 of window width or
|
2011-10-16 20:33:23 +02:00
|
|
|
.I count
|
2021-12-24 00:25:49 +01:00
|
|
|
pixels left.
|
2011-01-23 18:20:08 +01:00
|
|
|
.TP
|
2011-01-28 13:42:39 +01:00
|
|
|
.BR j ", " Down
|
2014-07-23 21:50:31 +02:00
|
|
|
Scroll image 1/5 of window height or
|
2011-10-16 20:33:23 +02:00
|
|
|
.I count
|
2021-12-24 00:25:49 +01:00
|
|
|
pixels down.
|
2011-01-23 18:20:08 +01:00
|
|
|
.TP
|
2011-01-28 13:42:39 +01:00
|
|
|
.BR k ", " Up
|
2014-07-23 21:50:31 +02:00
|
|
|
Scroll image 1/5 of window height or
|
2011-10-16 20:33:23 +02:00
|
|
|
.I count
|
2021-12-24 00:25:49 +01:00
|
|
|
pixels up.
|
2011-01-23 18:20:08 +01:00
|
|
|
.TP
|
2011-01-28 13:42:39 +01:00
|
|
|
.BR l ", " Right
|
2014-07-23 21:50:31 +02:00
|
|
|
Scroll image 1/5 of window width or
|
2011-10-16 20:33:23 +02:00
|
|
|
.I count
|
2021-12-24 00:25:49 +01:00
|
|
|
pixels right.
|
2011-05-16 15:58:19 +02:00
|
|
|
.TP
|
2011-06-03 23:39:22 +02:00
|
|
|
.B H
|
2014-07-23 21:50:31 +02:00
|
|
|
Scroll to left image edge.
|
2011-05-16 15:58:19 +02:00
|
|
|
.TP
|
2011-06-03 23:39:22 +02:00
|
|
|
.B J
|
2014-07-23 21:50:31 +02:00
|
|
|
Scroll to bottom image edge.
|
2011-05-16 15:58:19 +02:00
|
|
|
.TP
|
2011-06-03 23:39:22 +02:00
|
|
|
.B K
|
2014-07-23 21:50:31 +02:00
|
|
|
Scroll to top image edge.
|
2011-05-16 15:58:19 +02:00
|
|
|
.TP
|
2011-06-03 23:39:22 +02:00
|
|
|
.B L
|
2014-07-23 21:50:31 +02:00
|
|
|
Scroll to right image edge.
|
2022-01-15 23:51:31 +01:00
|
|
|
.TP
|
|
|
|
.B z
|
|
|
|
Scroll to image center.
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
|
|
|
Zooming:
|
2011-06-03 23:39:22 +02:00
|
|
|
.TP
|
2014-07-23 21:50:31 +02:00
|
|
|
.B =
|
|
|
|
Set zoom level to 100%, or
|
|
|
|
.IR count %.
|
2011-06-03 23:39:22 +02:00
|
|
|
.TP
|
2014-07-23 21:50:31 +02:00
|
|
|
.B w
|
|
|
|
Set zoom level to 100%, but fit large images into window.
|
|
|
|
.TP
|
|
|
|
.B W
|
|
|
|
Fit image to window.
|
|
|
|
.TP
|
2021-04-14 19:10:14 +02:00
|
|
|
.B F
|
|
|
|
Fill image to window.
|
|
|
|
.TP
|
2014-07-23 21:50:31 +02:00
|
|
|
.B e
|
|
|
|
Fit image to window width.
|
|
|
|
.TP
|
|
|
|
.B E
|
|
|
|
Fit image to window height.
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
|
|
|
Rotation:
|
2011-01-26 14:42:10 +01:00
|
|
|
.TP
|
|
|
|
.B <
|
|
|
|
Rotate image counter-clockwise by 90 degrees.
|
|
|
|
.TP
|
|
|
|
.B >
|
|
|
|
Rotate image clockwise by 90 degrees.
|
2013-06-23 16:02:26 +02:00
|
|
|
.TP
|
|
|
|
.B ?
|
|
|
|
Rotate image by 180 degrees.
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
|
|
|
Flipping:
|
2012-05-06 09:39:45 +02:00
|
|
|
.TP
|
2013-08-10 15:58:16 +02:00
|
|
|
.B |
|
2012-05-06 09:39:45 +02:00
|
|
|
Flip image horizontally.
|
|
|
|
.TP
|
2013-08-10 15:58:16 +02:00
|
|
|
.B _
|
2012-05-06 09:39:45 +02:00
|
|
|
Flip image vertically.
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
|
|
|
Miscellaneous:
|
2011-01-26 14:59:32 +01:00
|
|
|
.TP
|
2014-02-04 22:38:24 +01:00
|
|
|
.B a
|
|
|
|
Toggle anti-aliasing.
|
|
|
|
.TP
|
2014-04-06 22:47:42 +02:00
|
|
|
.B A
|
|
|
|
Toggle visibility of alpha-channel, i.e. image transparency.
|
|
|
|
.TP
|
2014-01-04 18:38:40 +01:00
|
|
|
.B s
|
|
|
|
Toggle slideshow mode and/or set the delay between images to
|
|
|
|
.I count
|
|
|
|
seconds.
|
2011-01-26 18:38:54 +01:00
|
|
|
.SH MOUSE COMMANDS
|
2021-12-24 00:25:49 +01:00
|
|
|
.SS Thumbnail mode
|
|
|
|
The following mouse mappings are available in thumbnail mode:
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
2021-12-24 00:25:49 +01:00
|
|
|
.B Button1
|
|
|
|
Select the image. Goes into image mode if double\-clicked.
|
2017-10-05 13:53:29 +02:00
|
|
|
.TP
|
|
|
|
.B Button3
|
2022-03-26 11:02:22 +01:00
|
|
|
Mark/unmark the image. Dragging while holding down Button3 will mark/unmark
|
2021-12-24 00:25:49 +01:00
|
|
|
multiple images.
|
2017-10-06 10:26:15 +02:00
|
|
|
.TP
|
2021-12-24 00:25:49 +01:00
|
|
|
.B Button4
|
|
|
|
Scroll up by one row.
|
|
|
|
.TP
|
|
|
|
.B Button5
|
|
|
|
Scroll down by one row.
|
|
|
|
.TP
|
|
|
|
.B Ctrl-Button4
|
|
|
|
Scroll up by one page.
|
|
|
|
.TP
|
|
|
|
.B Ctrl-Button5
|
|
|
|
Scroll down by one page.
|
|
|
|
.SS Image mode
|
|
|
|
The following mouse mappings are available in image mode:
|
2011-01-26 18:38:54 +01:00
|
|
|
.TP
|
|
|
|
.B Button1
|
2017-10-05 13:53:29 +02:00
|
|
|
Go to the next image if the mouse cursor is in the right part of the window or
|
|
|
|
to the previous image if it is in the left part.
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
2021-12-24 00:25:49 +01:00
|
|
|
.B Ctrl-Button1
|
|
|
|
Pan the image relative to the mouse cursor.
|
2011-02-21 17:06:32 +01:00
|
|
|
.TP
|
|
|
|
.B Button2
|
2017-10-05 13:53:29 +02:00
|
|
|
Pan the image according to the mouse cursor position in the window while
|
|
|
|
keeping this button pressed down.
|
2016-02-12 20:13:43 +01:00
|
|
|
.TP
|
2021-12-24 00:25:49 +01:00
|
|
|
.B Button3
|
|
|
|
Switch to thumbnail mode.
|
2014-07-23 21:50:31 +02:00
|
|
|
.TP
|
2021-12-24 00:25:49 +01:00
|
|
|
.B Button4
|
2014-07-23 21:50:31 +02:00
|
|
|
Zoom in.
|
|
|
|
.TP
|
2021-12-24 00:25:49 +01:00
|
|
|
.B Button5
|
2014-07-23 21:50:31 +02:00
|
|
|
Zoom out.
|
2019-04-19 15:52:44 +02:00
|
|
|
.SH CONFIGURATION
|
|
|
|
The following X resources are supported:
|
|
|
|
.TP
|
2021-09-11 16:38:22 +02:00
|
|
|
.B window.background
|
|
|
|
Color of the window background
|
2019-04-19 15:52:44 +02:00
|
|
|
.TP
|
2021-09-11 16:38:22 +02:00
|
|
|
.B window.foreground
|
|
|
|
Color of the window foreground
|
|
|
|
.TP
|
2021-09-16 22:31:03 +02:00
|
|
|
.B bar.font
|
|
|
|
Name of Xft bar font
|
|
|
|
.TP
|
2021-09-11 16:38:22 +02:00
|
|
|
.B bar.background
|
2021-10-01 23:50:06 +02:00
|
|
|
Color of the bar background. Defaults to window.background
|
2021-09-11 16:38:22 +02:00
|
|
|
.TP
|
|
|
|
.B bar.foreground
|
2021-10-01 23:50:06 +02:00
|
|
|
Color of the bar foreground. Defaults to window.foreground
|
2019-04-19 15:52:44 +02:00
|
|
|
.TP
|
2021-09-16 22:31:03 +02:00
|
|
|
.B mark.foreground
|
|
|
|
Color of the mark foreground. Defaults to window.foreground
|
2019-04-19 16:13:05 +02:00
|
|
|
.TP
|
|
|
|
Please see xrdb(1) on how to change them.
|
2022-02-23 10:23:22 +01:00
|
|
|
.SH WINDOW TITLE
|
|
|
|
The window title can be replaced with the output of a user-provided script,
|
2022-06-01 10:59:16 +02:00
|
|
|
which is called by nsxiv whenever any of the relevant information changes.
|
|
|
|
The path of this script is
|
2022-02-23 10:23:22 +01:00
|
|
|
.I $XDG_CONFIG_HOME/nsxiv/exec/win-title
|
|
|
|
and the arguments given to it (where "Optional" arguments might be empty) are:
|
2022-03-26 11:02:22 +01:00
|
|
|
.IP $1 4
|
|
|
|
resolved absolute path of the current file
|
|
|
|
.IP $2 4
|
|
|
|
current file number
|
|
|
|
.IP $3 4
|
|
|
|
total file count
|
|
|
|
.IP $4 4
|
|
|
|
image width (Optional: Disabled on thumbnails mode)
|
|
|
|
.IP $5 4
|
|
|
|
image height (Optional: Disabled on thumbnails mode)
|
|
|
|
.IP $6 4
|
|
|
|
current zoom (Optional: Disabled on thumbnails mode)
|
2022-02-23 10:23:22 +01:00
|
|
|
.P
|
|
|
|
The term file is used rather than image as nsxiv does not precheck that the
|
|
|
|
input files are valid images. Total file count may be different from the actual
|
|
|
|
count of valid images.
|
|
|
|
.P
|
|
|
|
There is also an example script installed together with nsxiv as
|
|
|
|
.IR EGPREFIX/win-title .
|
2013-01-27 18:03:01 +01:00
|
|
|
.SH STATUS BAR
|
|
|
|
The information displayed on the left side of the status bar can be replaced
|
2022-05-03 17:34:23 +02:00
|
|
|
with the output of user-provided script.
|
|
|
|
.P
|
|
|
|
The script that is called by nsxiv whenever an image gets loaded is located at
|
2021-09-16 11:32:59 +02:00
|
|
|
.I $XDG_CONFIG_HOME/nsxiv/exec/image-info
|
2022-03-26 11:02:22 +01:00
|
|
|
and the arguments given to it are:
|
|
|
|
.IP $1 4
|
2022-05-03 17:34:23 +02:00
|
|
|
path to image file (as provided by the user)
|
2022-03-26 11:02:22 +01:00
|
|
|
.IP $2 4
|
|
|
|
image width
|
|
|
|
.IP $3 4
|
|
|
|
image height
|
2022-05-03 17:34:23 +02:00
|
|
|
.IP $4 4
|
|
|
|
fully resolved path to the image file
|
2013-01-27 18:03:01 +01:00
|
|
|
.P
|
2022-05-03 17:34:23 +02:00
|
|
|
In thumbnail mode, the script that is called is located at
|
|
|
|
.I $XDG_CONFIG_HOME/nsxiv/exec/thumb-info
|
|
|
|
and the arguments given to it are:
|
|
|
|
.IP $1 4
|
|
|
|
path to image file (as provided by the user)
|
|
|
|
.IP $2 4
|
|
|
|
empty
|
|
|
|
.IP $3 4
|
|
|
|
empty
|
|
|
|
.IP $4 4
|
|
|
|
fully resolved path to the image file
|
|
|
|
.P
|
|
|
|
There are also example scripts installed together with nsxiv as
|
|
|
|
.IR EGPREFIX/image-info
|
|
|
|
and
|
|
|
|
.IR EGPREFIX/thumb-info .
|
2014-05-19 21:53:23 +02:00
|
|
|
.SH EXTERNAL KEY HANDLER
|
|
|
|
Additional external keyboard commands can be defined using a handler program
|
|
|
|
located in
|
2021-09-16 11:32:59 +02:00
|
|
|
.IR $XDG_CONFIG_HOME/nsxiv/exec/key-handler .
|
2014-05-19 21:53:23 +02:00
|
|
|
The handler is invoked by pressing
|
|
|
|
.BR Ctrl-x .
|
2015-05-18 19:09:10 +02:00
|
|
|
The next key combo is passed as its first argument. Passed via stdin are the
|
2021-11-19 11:08:39 +01:00
|
|
|
images to act upon: all marked images, if in thumbnail mode and at least one
|
|
|
|
image has been marked, otherwise the current image. nsxiv(1) will block until
|
|
|
|
the handler terminates. It then checks which images have been modified and
|
|
|
|
reloads them.
|
|
|
|
|
|
|
|
By default nsxiv(1) will send one image per-line to stdin, however when using
|
2022-03-26 11:02:22 +01:00
|
|
|
\-0 the image list will be NULL separated and the environment variable
|
2021-11-19 11:08:39 +01:00
|
|
|
"$NSXIV_USING_NULL" will be set to 1.
|
2014-05-19 21:53:23 +02:00
|
|
|
|
|
|
|
The key combo argument has the following form: "[C-][M-][S-]KEY",
|
|
|
|
where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X
|
|
|
|
keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
|
2021-11-19 11:08:39 +01:00
|
|
|
If KEY has an uppercase equivalent, S-KEY is resolved into it. For instance,
|
|
|
|
K replaces S-k and Scedilla replaces S-scedilla, but S-Delete is sent as-is.
|
2014-05-19 21:53:23 +02:00
|
|
|
|
2021-09-16 11:32:59 +02:00
|
|
|
There is also an example script installed together with nsxiv as
|
2021-10-03 18:52:12 +02:00
|
|
|
.IR EGPREFIX/key-handler .
|
2011-04-08 17:07:25 +02:00
|
|
|
.SH THUMBNAIL CACHING
|
2021-09-16 11:32:59 +02:00
|
|
|
nsxiv stores all thumbnails under
|
|
|
|
.IR $XDG_CACHE_HOME/nsxiv/ .
|
2011-04-08 17:07:25 +02:00
|
|
|
.P
|
|
|
|
Use the command line option
|
2011-04-11 21:27:20 +02:00
|
|
|
.I \-c
|
2014-06-10 23:15:04 +02:00
|
|
|
to remove all orphaned cache files. Additionally, run the following command
|
|
|
|
afterwards inside the cache directory to remove empty subdirectories:
|
2011-04-08 17:07:25 +02:00
|
|
|
.P
|
|
|
|
.RS
|
2012-03-02 19:32:56 +01:00
|
|
|
find . \-depth \-type d \-empty ! \-name '.' \-exec rmdir {} \\;
|
|
|
|
.RE
|
2021-09-16 11:32:59 +02:00
|
|
|
.SH ORIGINAL AUTHOR
|
2011-01-27 10:18:23 +01:00
|
|
|
.EX
|
2021-09-16 11:32:59 +02:00
|
|
|
Bert Muennich <ber.t at posteo.de>
|
|
|
|
.EE
|
|
|
|
.SH CURRENT MAINTAINERS
|
|
|
|
.EX
|
2022-08-19 08:36:53 +02:00
|
|
|
NRK <nrk at disroot.org>
|
2021-12-24 00:25:49 +01:00
|
|
|
Berke Kocaoğlu <berke.kocaoglu at metu.edu.tr>
|
2021-09-16 11:32:59 +02:00
|
|
|
TAAPArthur <taaparthur at gmail.com>
|
|
|
|
eylles <ed.ylles1997 at gmail.com>
|
2023-01-15 10:35:37 +01:00
|
|
|
Stein Gunnar Bakkeby <bakkeby at gmail.com>
|
|
|
|
explosion-mental <explosion0mental at gmail.com>
|
2021-12-24 00:25:49 +01:00
|
|
|
mamg22 <marcomonizg at gmail.com>
|
|
|
|
LuXu
|
|
|
|
Guilherme Freire
|
|
|
|
Sam Whitehead
|
|
|
|
Kian Kasad <kian at kasad.com>
|
2011-01-27 10:18:23 +01:00
|
|
|
.EE
|
2012-05-14 21:43:18 +02:00
|
|
|
.SH CONTRIBUTORS
|
|
|
|
.EX
|
2023-01-15 10:29:01 +01:00
|
|
|
For a list of contributors, run `git shortlog -s` in the nsxiv git repository.
|
2013-01-27 18:03:01 +01:00
|
|
|
.EE
|
2011-01-23 18:35:01 +01:00
|
|
|
.SH HOMEPAGE
|
2021-12-24 00:25:49 +01:00
|
|
|
.TP
|
|
|
|
Website:
|
|
|
|
.EE
|
2022-06-11 15:38:07 +02:00
|
|
|
https://nsxiv.codeberg.page/
|
2013-01-27 18:03:01 +01:00
|
|
|
.EX
|
2021-12-24 00:25:49 +01:00
|
|
|
.TP
|
|
|
|
Source code:
|
2013-01-27 18:03:01 +01:00
|
|
|
.EE
|
2022-06-11 15:38:07 +02:00
|
|
|
https://codeberg.org/nsxiv/nsxiv
|
2021-12-24 00:25:49 +01:00
|
|
|
.EX
|
2011-01-23 18:20:08 +01:00
|
|
|
.SH SEE ALSO
|
2019-04-19 15:52:44 +02:00
|
|
|
.BR X (7),
|
|
|
|
.BR xrdb (1)
|