2011-01-23 17:20:08 +00:00
|
|
|
.TH SXIV 1 sxiv\-VERSION
|
|
|
|
.SH NAME
|
2013-01-27 17:03:01 +00:00
|
|
|
sxiv \- Simple X Image Viewer
|
2011-01-23 17:20:08 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B sxiv
|
2012-02-16 22:20:27 +00:00
|
|
|
.RB [ \-bcdFfhpqrstvZ ]
|
2011-01-30 21:23:36 +00:00
|
|
|
.RB [ \-g
|
|
|
|
.IR GEOMETRY ]
|
2011-05-25 07:23:23 +00:00
|
|
|
.RB [ \-n
|
|
|
|
.IR NUM ]
|
2012-10-28 23:53:50 +00:00
|
|
|
.RB [ \-N
|
|
|
|
.IR NAME ]
|
2011-01-28 12:34:16 +00:00
|
|
|
.RB [ \-z
|
|
|
|
.IR ZOOM ]
|
2011-01-23 18:27:16 +00:00
|
|
|
.IR FILE ...
|
2011-01-23 17:20:08 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
sxiv is a simple image viewer for X. It only has the most basic features
|
|
|
|
required for fast image viewing.
|
|
|
|
.P
|
2011-02-14 17:06:30 +00:00
|
|
|
sxiv opens all named
|
|
|
|
.IR FILE s,
|
|
|
|
or reads the names of the files to open from standard input, if only a single
|
|
|
|
hyphen\-minus
|
|
|
|
.RB ( \- )
|
|
|
|
is given.
|
|
|
|
.P
|
2011-02-21 16:06:32 +00:00
|
|
|
sxiv has two modes of operation: image and thumbnail mode. The default is image
|
|
|
|
mode, in which only the current image is shown. In thumbnail mode a grid of
|
|
|
|
small previews is displayed, making it easy to choose an image to open.
|
|
|
|
.P
|
2011-04-08 15:07:25 +00:00
|
|
|
sxiv can also cache its thumbnails. Please see the section THUMBNAIL CACHING
|
|
|
|
for information on how to enable this feature.
|
|
|
|
.P
|
2011-01-23 17:20:08 +00:00
|
|
|
Please note, that the fullscreen mode requires an EWMH/NetWM compliant window
|
|
|
|
manager.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2012-02-16 22:20:27 +00:00
|
|
|
.B \-b
|
|
|
|
Do not show info bar on bottom of window.
|
|
|
|
.TP
|
2011-04-11 19:27:20 +00:00
|
|
|
.B \-c
|
2011-04-08 15:07:25 +00:00
|
|
|
Remove all orphaned cache files from the thumbnail cache directory and exit.
|
|
|
|
.TP
|
2011-01-28 12:34:16 +00:00
|
|
|
.B \-d
|
|
|
|
Scale all images to 100%, but fit large images into window.
|
|
|
|
.TP
|
2011-02-01 17:25:47 +00:00
|
|
|
.B \-F
|
|
|
|
Make the window fixed/floating by setting the minimum and maximum width/height
|
|
|
|
size-hints to the window width/height.
|
|
|
|
.TP
|
2011-01-28 12:34:16 +00:00
|
|
|
.B \-f
|
|
|
|
Start in fullscreen mode.
|
|
|
|
.TP
|
2011-01-30 21:02:03 +00:00
|
|
|
.BI "\-g " GEOMETRY
|
|
|
|
Set window position and size. See section GEOMETRY SPECIFICATIONS of X(7) for
|
|
|
|
more information on
|
|
|
|
.IR GEOMETRY .
|
|
|
|
.TP
|
2011-05-25 07:23:23 +00:00
|
|
|
.BI "\-n " NUM
|
|
|
|
Start at picture number NUM.
|
|
|
|
.TP
|
2012-10-28 23:53:50 +00:00
|
|
|
.BI "\-N " NAME
|
|
|
|
Set the resource name of sxiv's X window to NAME.
|
|
|
|
.TP
|
2011-01-23 17:20:08 +00:00
|
|
|
.B \-h
|
|
|
|
Print brief usage information to standard output and exit.
|
|
|
|
.TP
|
2011-01-28 12:34:16 +00:00
|
|
|
.B \-p
|
|
|
|
Pixelize images, i.e. turn off anti-aliasing.
|
|
|
|
.TP
|
2011-01-30 21:23:36 +00:00
|
|
|
.B \-q
|
|
|
|
Be quiet, disable warnings to standard error stream.
|
|
|
|
.TP
|
2011-02-02 09:34:14 +00:00
|
|
|
.B \-r
|
|
|
|
Search the given directories recursively for images to view.
|
|
|
|
.TP
|
2011-01-28 12:34:16 +00:00
|
|
|
.B \-s
|
|
|
|
Scale all images to fit into window.
|
|
|
|
.TP
|
2011-02-21 16:06:32 +00:00
|
|
|
.B \-t
|
|
|
|
Start in thumbnail mode.
|
|
|
|
.TP
|
2011-01-23 17:20:08 +00:00
|
|
|
.B \-v
|
|
|
|
Print version information to standard output and exit.
|
2011-01-27 15:15:43 +00:00
|
|
|
.TP
|
2011-01-28 12:34:16 +00:00
|
|
|
.B \-Z
|
2011-08-17 23:19:59 +00:00
|
|
|
The same as `\-z 100'.
|
2011-01-28 12:34:16 +00:00
|
|
|
.TP
|
|
|
|
.BI "\-z " ZOOM
|
|
|
|
Scale all images to the current zoom level, use a zoom level of
|
|
|
|
.I ZOOM
|
|
|
|
at startup.
|
2011-10-16 18:33:23 +00:00
|
|
|
.SH GENERAL KEYBOARD COMMANDS
|
|
|
|
The following keyboard commands are available in both image and thumbnail mode:
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
|
|
|
.B q
|
|
|
|
Quit sxiv.
|
|
|
|
.TP
|
2011-02-21 16:06:32 +00:00
|
|
|
.B Return
|
2011-10-16 18:33:23 +00:00
|
|
|
Switch to thumbnail mode / open selected image in image mode.
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
2011-10-16 18:33:23 +00:00
|
|
|
.BR 0 \- 9
|
|
|
|
Prefix the next command with a number (denoted via
|
|
|
|
.IR count ).
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
|
|
|
.B g
|
2011-10-16 18:33:23 +00:00
|
|
|
Go to the first image.
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
|
|
|
.B G
|
2011-10-16 18:33:23 +00:00
|
|
|
Go to the last image, or image number
|
|
|
|
.IR count .
|
|
|
|
.TP
|
|
|
|
.B f
|
|
|
|
Toggle fullscreen mode.
|
|
|
|
.TP
|
2012-02-15 21:33:39 +00:00
|
|
|
.B b
|
|
|
|
Toggle visibility of info bar on bottom of window.
|
|
|
|
.TP
|
2011-10-16 18:33:23 +00:00
|
|
|
.B A
|
|
|
|
Toggle visibility of alpha-channel, i.e. image transparency.
|
|
|
|
.TP
|
|
|
|
.B r
|
|
|
|
Reload image.
|
|
|
|
.TP
|
2012-05-08 14:30:56 +00:00
|
|
|
.B R
|
2012-05-13 19:52:53 +00:00
|
|
|
Reload all thumbnails.
|
2012-05-08 14:30:56 +00:00
|
|
|
.TP
|
2011-10-16 18:33:23 +00:00
|
|
|
.B D
|
|
|
|
Remove current image from file list and go to next image.
|
|
|
|
.SH THUMBNAIL KEYBOARD COMMANDS
|
|
|
|
The following keyboard commands are only available in thumbnail mode:
|
|
|
|
.TP
|
|
|
|
.BR h ", " Left
|
2012-07-15 08:30:58 +00:00
|
|
|
Move selection left
|
|
|
|
.I count
|
|
|
|
times.
|
2011-10-16 18:33:23 +00:00
|
|
|
.TP
|
|
|
|
.BR j ", " Down
|
2012-07-15 08:30:58 +00:00
|
|
|
Move selection down
|
|
|
|
.I count
|
|
|
|
times.
|
2011-10-16 18:33:23 +00:00
|
|
|
.TP
|
|
|
|
.BR k ", " Up
|
2012-07-15 08:30:58 +00:00
|
|
|
Move selection up
|
|
|
|
.I count
|
|
|
|
times.
|
2011-10-16 18:33:23 +00:00
|
|
|
.TP
|
|
|
|
.BR l ", " Right
|
2012-07-15 08:30:58 +00:00
|
|
|
Move selection right
|
|
|
|
.I count
|
|
|
|
times.
|
2011-10-27 14:21:01 +00:00
|
|
|
.TP
|
|
|
|
.BR Ctrl-j ", " Ctrl-Down
|
|
|
|
Scroll thumbnail grid one window height down.
|
|
|
|
.TP
|
|
|
|
.BR Ctrl-k ", " Ctrl-Up
|
|
|
|
Scroll thumbnail grid one window height up.
|
2011-10-16 18:33:23 +00:00
|
|
|
.SH IMAGE KEYBOARD COMMANDS
|
|
|
|
The following keyboard commands are only available in image mode:
|
|
|
|
.SS Navigate image list
|
|
|
|
.TP
|
|
|
|
.BR n ", " Space
|
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
images forward.
|
|
|
|
.TP
|
|
|
|
.BR p ", " Backspace
|
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
images backward.
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
|
|
|
.B [
|
2011-10-16 18:33:23 +00:00
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
* 10 images backward.
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
|
|
|
.B ]
|
2011-10-16 18:33:23 +00:00
|
|
|
Go
|
|
|
|
.I count
|
|
|
|
* 10 images forward.
|
2011-09-02 16:54:52 +00:00
|
|
|
.SS Handle multi-frame images
|
|
|
|
.TP
|
|
|
|
.B Ctrl-n
|
|
|
|
Go to the next frame of a multi-frame image.
|
|
|
|
.TP
|
|
|
|
.B Ctrl-p
|
|
|
|
Go to the previous frame of a multi-frame image.
|
|
|
|
.TP
|
|
|
|
.B Ctrl-Space
|
|
|
|
Play/pause animation of a multi-frame image.
|
2011-01-23 17:20:08 +00:00
|
|
|
.SS Zooming
|
|
|
|
.TP
|
2011-10-16 18:33:23 +00:00
|
|
|
.BR +
|
2011-01-23 17:20:08 +00:00
|
|
|
Zoom in.
|
|
|
|
.TP
|
|
|
|
.B \-
|
|
|
|
Zoom out.
|
2011-02-06 17:45:00 +00:00
|
|
|
.TP
|
2011-10-16 18:33:23 +00:00
|
|
|
.B =
|
|
|
|
Set zoom level to 100%, or
|
|
|
|
.IR count %.
|
2011-02-06 17:45:00 +00:00
|
|
|
.TP
|
|
|
|
.B w
|
|
|
|
Set zoom level to fit image into window.
|
2012-07-19 10:28:44 +00:00
|
|
|
.TP
|
|
|
|
.B e
|
2012-08-07 11:11:53 +00:00
|
|
|
Set zoom level to fit image width to window width.
|
2012-07-19 10:28:44 +00:00
|
|
|
.TP
|
|
|
|
.B E
|
2012-08-07 11:11:53 +00:00
|
|
|
Set zoom level to fit image height to window height.
|
2011-10-16 18:33:23 +00:00
|
|
|
.SS Panning
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
2011-01-28 12:42:39 +00:00
|
|
|
.BR h ", " Left
|
2011-10-16 18:33:23 +00:00
|
|
|
Pan image 1/5 of window width or
|
|
|
|
.I count
|
|
|
|
pixel left.
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
2011-01-28 12:42:39 +00:00
|
|
|
.BR j ", " Down
|
2011-10-16 18:33:23 +00:00
|
|
|
Pan image 1/5 of window height or
|
|
|
|
.I count
|
|
|
|
pixel down.
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
2011-01-28 12:42:39 +00:00
|
|
|
.BR k ", " Up
|
2011-10-16 18:33:23 +00:00
|
|
|
Pan image 1/5 of window height or
|
|
|
|
.I count
|
|
|
|
pixel up.
|
2011-01-23 17:20:08 +00:00
|
|
|
.TP
|
2011-01-28 12:42:39 +00:00
|
|
|
.BR l ", " Right
|
2011-10-16 18:33:23 +00:00
|
|
|
Pan image 1/5 of window width or
|
|
|
|
.I count
|
|
|
|
pixel right.
|
2011-05-16 13:58:19 +00:00
|
|
|
.TP
|
2011-06-03 21:39:22 +00:00
|
|
|
.B H
|
2011-05-16 13:58:19 +00:00
|
|
|
Pan to left image edge.
|
|
|
|
.TP
|
2011-06-03 21:39:22 +00:00
|
|
|
.B J
|
2011-05-16 13:58:19 +00:00
|
|
|
Pan to bottom image edge.
|
|
|
|
.TP
|
2011-06-03 21:39:22 +00:00
|
|
|
.B K
|
2011-05-16 13:58:19 +00:00
|
|
|
Pan to top image edge.
|
|
|
|
.TP
|
2011-06-03 21:39:22 +00:00
|
|
|
.B L
|
2011-05-16 13:58:19 +00:00
|
|
|
Pan to right image edge.
|
2011-06-03 21:39:22 +00:00
|
|
|
.TP
|
2011-08-16 23:11:47 +00:00
|
|
|
.BR Ctrl-h ", " Ctrl-Left
|
2011-06-03 21:39:22 +00:00
|
|
|
Pan image one window width left.
|
|
|
|
.TP
|
2011-08-16 23:11:47 +00:00
|
|
|
.BR Ctrl-j ", " Ctrl-Down
|
2011-06-03 21:39:22 +00:00
|
|
|
Pan image one window height down.
|
|
|
|
.TP
|
2011-08-16 23:11:47 +00:00
|
|
|
.BR Ctrl-k ", " Ctrl-Up
|
2011-06-03 21:39:22 +00:00
|
|
|
Pan image one window height up.
|
|
|
|
.TP
|
2011-08-16 23:11:47 +00:00
|
|
|
.BR Ctrl-l ", " Ctrl-Right
|
2011-06-03 21:39:22 +00:00
|
|
|
Pan image one window width right.
|
2011-01-26 13:42:10 +00:00
|
|
|
.SS Rotation
|
|
|
|
.TP
|
|
|
|
.B <
|
|
|
|
Rotate image counter-clockwise by 90 degrees.
|
|
|
|
.TP
|
|
|
|
.B >
|
|
|
|
Rotate image clockwise by 90 degrees.
|
2012-05-06 07:39:45 +00:00
|
|
|
.SS Flip
|
|
|
|
.TP
|
|
|
|
.B \\\\
|
|
|
|
Flip image horizontally.
|
|
|
|
.TP
|
|
|
|
.B |
|
|
|
|
Flip image vertically.
|
2011-01-26 13:59:32 +00:00
|
|
|
.SS Miscellaneous
|
|
|
|
.TP
|
|
|
|
.B a
|
|
|
|
Toggle anti-aliasing.
|
2011-01-31 15:06:40 +00:00
|
|
|
.TP
|
2011-10-16 18:33:23 +00:00
|
|
|
.B W
|
|
|
|
Resize window to fit image.
|
2011-01-26 17:38:54 +00:00
|
|
|
.SH MOUSE COMMANDS
|
2011-10-16 18:33:23 +00:00
|
|
|
The following mouse mappings are available in image mode:
|
2011-01-26 17:38:54 +00:00
|
|
|
.SS Navigate image list
|
|
|
|
.TP
|
|
|
|
.B Button1
|
2011-10-16 18:33:23 +00:00
|
|
|
Go to next image.
|
2011-01-30 21:02:03 +00:00
|
|
|
.TP
|
2011-01-26 17:38:54 +00:00
|
|
|
.B Button3
|
|
|
|
Go to the previous image.
|
|
|
|
.SS Zooming
|
|
|
|
.TP
|
|
|
|
.B Ctrl+ScrollUp
|
|
|
|
Zoom in.
|
|
|
|
.TP
|
|
|
|
.B Ctrl+ScrollDown
|
|
|
|
Zoom out.
|
2011-02-21 16:06:32 +00:00
|
|
|
.SS Panning/Moving
|
|
|
|
.TP
|
|
|
|
.B Button2
|
|
|
|
Drag the image with the mouse while keeping this button pressed down.
|
2011-01-26 17:38:54 +00:00
|
|
|
.TP
|
|
|
|
.B ScrollUp
|
2011-10-16 18:33:23 +00:00
|
|
|
Pan image up.
|
2011-01-26 17:38:54 +00:00
|
|
|
.TP
|
|
|
|
.B ScrollDown
|
2011-10-16 18:33:23 +00:00
|
|
|
Pan image down.
|
2011-01-26 17:38:54 +00:00
|
|
|
.TP
|
|
|
|
.B Shift+ScrollUp
|
2011-02-21 16:06:32 +00:00
|
|
|
Pan image left.
|
2011-01-26 17:38:54 +00:00
|
|
|
.TP
|
|
|
|
.B Shift+ScrollDown
|
2011-02-21 16:06:32 +00:00
|
|
|
Pan image right.
|
2013-01-27 17:03:01 +00:00
|
|
|
.SH STATUS BAR
|
|
|
|
The information displayed on the left side of the status bar can be replaced
|
|
|
|
with the output of a user-provided script, which is called by sxiv whenever an
|
|
|
|
image gets loaded. The path of this script is
|
|
|
|
.I ~/.sxiv/exec/image-info
|
|
|
|
and the first argument to this script is the path of the loaded image.
|
|
|
|
.P
|
|
|
|
There is also an example script installed together with sxiv as
|
|
|
|
.IR PREFIX/share/sxiv/exec/image-info .
|
2011-04-08 15:07:25 +00:00
|
|
|
.SH THUMBNAIL CACHING
|
|
|
|
To enable thumbnail caching, please make sure to create the directory
|
2013-01-08 19:55:02 +00:00
|
|
|
.I ~/.sxiv/cache/
|
2011-04-08 15:07:25 +00:00
|
|
|
with write permissions. sxiv will then store all thumbnails inside this
|
|
|
|
directory, but it will not create this directory by itself. It rather uses the
|
|
|
|
existance of this directory as an affirmation, that the user wants thumbnails
|
|
|
|
to be cached.
|
|
|
|
.P
|
|
|
|
Use the command line option
|
2011-04-11 19:27:20 +00:00
|
|
|
.I \-c
|
2011-04-08 15:07:25 +00:00
|
|
|
to keep the cache directory clean by removing all orphaned cache files.
|
|
|
|
Additionally, run the following command afterwards inside the cache directory
|
|
|
|
to remove empty subdirectories:
|
|
|
|
.P
|
|
|
|
.RS
|
2012-03-02 18:32:56 +00:00
|
|
|
find . \-depth \-type d \-empty ! \-name '.' \-exec rmdir {} \\;
|
|
|
|
.RE
|
2012-05-14 19:43:18 +00:00
|
|
|
.SH AUTHOR
|
2011-01-27 09:18:23 +00:00
|
|
|
.EX
|
2013-01-27 17:03:01 +00:00
|
|
|
Bert Muennich <be.muennich @ gmail.com>
|
2011-01-27 09:18:23 +00:00
|
|
|
.EE
|
2012-05-14 19:43:18 +00:00
|
|
|
.SH CONTRIBUTORS
|
|
|
|
.EX
|
2012-05-16 09:18:55 +00:00
|
|
|
Bastien Dejean <nihilhill at gmail.com>
|
2012-05-14 19:43:18 +00:00
|
|
|
Dave Reisner <d at falconindy.com>
|
|
|
|
Fung SzeTat <sthorde at gmail.com>
|
2013-01-27 17:03:01 +00:00
|
|
|
.EE
|
2011-01-23 17:35:01 +00:00
|
|
|
.SH HOMEPAGE
|
2013-01-27 17:03:01 +00:00
|
|
|
.EX
|
|
|
|
http://muennich.github.com/sxiv
|
2012-02-21 07:19:12 +00:00
|
|
|
https://github.com/muennich/sxiv
|
2013-01-27 17:03:01 +00:00
|
|
|
.EE
|
2011-01-23 17:20:08 +00:00
|
|
|
.SH SEE ALSO
|
2011-01-26 17:38:54 +00:00
|
|
|
.BR feh (1),
|
|
|
|
.BR qiv (1)
|