Updated doc: dragging with button2, -g option

This commit is contained in:
Bert 2011-01-30 22:02:03 +01:00
parent 229830ad18
commit 3d8efb21d5
2 changed files with 19 additions and 21 deletions

View File

@ -32,13 +32,12 @@ sxiv supports the following command-line options:
-d scale all images to 100%, but fit large images into window -d scale all images to 100%, but fit large images into window
-f start in fullscreen mode -f start in fullscreen mode
-g GEOMETRY set window position and size
(see section GEOMETRY SPECIFICATIONS of X(7))
-p pixelize, i.e. turn off image anti-aliasing -p pixelize, i.e. turn off image anti-aliasing
-s scale all images to fit into window -s scale all images to fit into window
-v print version information and exit -v print version information and exit
-W enable printing of warnings -W enable printing of warnings
-w WIDTHxHEIGHT
set window width to WIDTH and height to HEIGHT
(if HEIGHT is omitted, height is also set to WIDTH)
-Z same as `-z 100' -Z same as `-z 100'
-z ZOOM scale all images to current zoom level, use ZOOM at startup -z ZOOM scale all images to current zoom level, use ZOOM at startup
@ -61,6 +60,7 @@ Use the following keys to control sxiv:
Additionally, sxiv can be controlled via the following mouse commands: Additionally, sxiv can be controlled via the following mouse commands:
Button1 Go to the next image Button1 Go to the next image
Button2 Drag image with mouse while keeping it pressed
Button3 Go to the previous image Button3 Go to the previous image
ScrollUp Pan image up ScrollUp Pan image up
ScrollDown Pan image down ScrollDown Pan image down

18
sxiv.1
View File

@ -24,6 +24,11 @@ Scale all images to 100%, but fit large images into window.
.B \-f .B \-f
Start in fullscreen mode. Start in fullscreen mode.
.TP .TP
.BI "\-g " GEOMETRY
Set window position and size. See section GEOMETRY SPECIFICATIONS of X(7) for
more information on
.IR GEOMETRY .
.TP
.B \-h .B \-h
Print brief usage information to standard output and exit. Print brief usage information to standard output and exit.
.TP .TP
@ -39,16 +44,6 @@ Print version information to standard output and exit.
.B \-W .B \-W
Enable printing of warnings to standard error stream. Enable printing of warnings to standard error stream.
.TP .TP
.BI "\-w " WIDTH x HEIGHT
Set window width to
.I WIDTH
and height to
.IR HEIGHT .
If
.I HEIGHT
is omitted, height is also set to
.IR WIDTH .
.TP
.B \-Z .B \-Z
The same as `-z 100'. The same as `-z 100'.
.TP .TP
@ -124,6 +119,9 @@ Toggle anti-aliasing.
.B Button1 .B Button1
Go to the next image. Go to the next image.
.TP .TP
.B Button2
Drag the image with the mouse while keeping this button pressed down.
.TP
.B Button3 .B Button3
Go to the previous image. Go to the previous image.
.SS Zooming .SS Zooming