Krolyxon
Commit 5b64679

Branches

Refs →

nsxivsxiv.1

354 lines · 6.5 KB · Groff/troff

1.TH SXIV 1 sxiv\-VERSION
2.SH NAME
3sxiv \- Simple (or small or suckless) X Image Viewer
4.SH SYNOPSIS
5.B sxiv
6.RB [ \-bcdFfhpqrstvZ ]
7.RB [ \-g
8.IR GEOMETRY ]
9.RB [ \-n
10.IR NUM ]
11.RB [ \-z
12.IR ZOOM ]
13.IR FILE ...
14.SH DESCRIPTION
15sxiv is a simple image viewer for X. It only has the most basic features
16required for fast image viewing.
17.P
18sxiv opens all named
19.IR FILE s,
20or reads the names of the files to open from standard input, if only a single
21hyphen\-minus
22.RB ( \- )
23is given.
24.P
25sxiv has two modes of operation: image and thumbnail mode. The default is image
26mode, in which only the current image is shown. In thumbnail mode a grid of
27small previews is displayed, making it easy to choose an image to open.
28.P
29sxiv can also cache its thumbnails. Please see the section THUMBNAIL CACHING
30for information on how to enable this feature.
31.P
32Please note, that the fullscreen mode requires an EWMH/NetWM compliant window
33manager.
34.SH OPTIONS
35.TP
36.B \-b
37Do not show info bar on bottom of window.
38.TP
39.B \-c
40Remove all orphaned cache files from the thumbnail cache directory and exit.
41.TP
42.B \-d
43Scale all images to 100%, but fit large images into window.
44.TP
45.B \-F
46Make the window fixed/floating by setting the minimum and maximum width/height
47size-hints to the window width/height.
48.TP
49.B \-f
50Start in fullscreen mode.
51.TP
52.BI "\-g " GEOMETRY
53Set window position and size. See section GEOMETRY SPECIFICATIONS of X(7) for
54more information on
55.IR GEOMETRY .
56.TP
57.BI "\-n " NUM
58Start at picture number NUM.
59.TP
60.B \-h
61Print brief usage information to standard output and exit.
62.TP
63.B \-p
64Pixelize images, i.e. turn off anti-aliasing.
65.TP
66.B \-q
67Be quiet, disable warnings to standard error stream.
68.TP
69.B \-r
70Search the given directories recursively for images to view.
71.TP
72.B \-s
73Scale all images to fit into window.
74.TP
75.B \-t
76Start in thumbnail mode.
77.TP
78.B \-v
79Print version information to standard output and exit.
80.TP
81.B \-Z
82The same as `\-z 100'.
83.TP
84.BI "\-z " ZOOM
85Scale all images to the current zoom level, use a zoom level of
86.I ZOOM
87at startup.
88.SH GENERAL KEYBOARD COMMANDS
89The following keyboard commands are available in both image and thumbnail mode:
90.TP
91.B q
92Quit sxiv.
93.TP
94.B Return
95Switch to thumbnail mode / open selected image in image mode.
96.TP
97.BR 0 \- 9
98Prefix the next command with a number (denoted via
99.IR count ).
100.TP
101.B g
102Go to the first image.
103.TP
104.B G
105Go to the last image, or image number
106.IR count .
107.TP
108.B f
109Toggle fullscreen mode.
110.TP
111.B b
112Toggle visibility of info bar on bottom of window.
113.TP
114.B A
115Toggle visibility of alpha-channel, i.e. image transparency.
116.TP
117.B r
118Reload image.
119.TP
120.B R
121Reload all thumbnails.
122.TP
123.B D
124Remove current image from file list and go to next image.
125.SH THUMBNAIL KEYBOARD COMMANDS
126The following keyboard commands are only available in thumbnail mode:
127.TP
128.BR h ", " Left
129Move selection left
130.I count
131times.
132.TP
133.BR j ", " Down
134Move selection down
135.I count
136times.
137.TP
138.BR k ", " Up
139Move selection up
140.I count
141times.
142.TP
143.BR l ", " Right
144Move selection right
145.I count
146times.
147.TP
148.BR Ctrl-j ", " Ctrl-Down
149Scroll thumbnail grid one window height down.
150.TP
151.BR Ctrl-k ", " Ctrl-Up
152Scroll thumbnail grid one window height up.
153.SH IMAGE KEYBOARD COMMANDS
154The following keyboard commands are only available in image mode:
155.SS Navigate image list
156.TP
157.BR n ", " Space
158Go
159.I count
160images forward.
161.TP
162.BR p ", " Backspace
163Go
164.I count
165images backward.
166.TP
167.B [
168Go
169.I count
170* 10 images backward.
171.TP
172.B ]
173Go
174.I count
175* 10 images forward.
176.SS Handle multi-frame images
177.TP
178.B Ctrl-n
179Go to the next frame of a multi-frame image.
180.TP
181.B Ctrl-p
182Go to the previous frame of a multi-frame image.
183.TP
184.B Ctrl-Space
185Play/pause animation of a multi-frame image.
186.SS Zooming
187.TP
188.BR +
189Zoom in.
190.TP
191.B \-
192Zoom out.
193.TP
194.B =
195Set zoom level to 100%, or
196.IR count %.
197.TP
198.B w
199Set zoom level to fit image into window.
200.SS Panning
201.TP
202.BR h ", " Left
203Pan image 1/5 of window width or
204.I count
205pixel left.
206.TP
207.BR j ", " Down
208Pan image 1/5 of window height or
209.I count
210pixel down.
211.TP
212.BR k ", " Up
213Pan image 1/5 of window height or
214.I count
215pixel up.
216.TP
217.BR l ", " Right
218Pan image 1/5 of window width or
219.I count
220pixel right.
221.TP
222.B H
223Pan to left image edge.
224.TP
225.B J
226Pan to bottom image edge.
227.TP
228.B K
229Pan to top image edge.
230.TP
231.B L
232Pan to right image edge.
233.TP
234.BR Ctrl-h ", " Ctrl-Left
235Pan image one window width left.
236.TP
237.BR Ctrl-j ", " Ctrl-Down
238Pan image one window height down.
239.TP
240.BR Ctrl-k ", " Ctrl-Up
241Pan image one window height up.
242.TP
243.BR Ctrl-l ", " Ctrl-Right
244Pan image one window width right.
245.SS Rotation
246.TP
247.B <
248Rotate image counter-clockwise by 90 degrees.
249.TP
250.B >
251Rotate image clockwise by 90 degrees.
252.SS Flip
253.TP
254.B \\\\
255Flip image horizontally.
256.TP
257.B |
258Flip image vertically.
259.SS Slideshow
260.TP
261.B s
262Toggle slideshow.
263.TP
264.B Ctrl\-'\-'
265Decrease slideshow delay.
266.TP
267.B Ctrl-'+'
268Increase slideshow delay.
269.TP
270.B Ctrl-'='
271Reset slideshow delay to default value, or set it to
272.I count
273seconds.
274.SS Miscellaneous
275.TP
276.B a
277Toggle anti-aliasing.
278.TP
279.B W
280Resize window to fit image.
281.SH MOUSE COMMANDS
282The following mouse mappings are available in image mode:
283.SS Navigate image list
284.TP
285.B Button1
286Go to next image.
287.TP
288.B Button3
289Go to the previous image.
290.SS Zooming
291.TP
292.B Ctrl+ScrollUp
293Zoom in.
294.TP
295.B Ctrl+ScrollDown
296Zoom out.
297.SS Panning/Moving
298.TP
299.B Button2
300Drag the image with the mouse while keeping this button pressed down.
301.TP
302.B ScrollUp
303Pan image up.
304.TP
305.B ScrollDown
306Pan image down.
307.TP
308.B Shift+ScrollUp
309Pan image left.
310.TP
311.B Shift+ScrollDown
312Pan image right.
313.SH THUMBNAIL CACHING
314To enable thumbnail caching, please make sure to create the directory
315.I ~/.sxiv/
316with write permissions. sxiv will then store all thumbnails inside this
317directory, but it will not create this directory by itself. It rather uses the
318existance of this directory as an affirmation, that the user wants thumbnails
319to be cached.
320.P
321Use the command line option
322.I \-c
323to keep the cache directory clean by removing all orphaned cache files.
324Additionally, run the following command afterwards inside the cache directory
325to remove empty subdirectories:
326.P
327.RS
328find \-type d \-empty \-delete
329.RE
330.P
331If the version of
332.I find
333installed on your local system does not support the \-delete option, then you
334can also try the following command:
335.P
336.RS
337find . \-depth \-type d \-empty ! \-name '.' \-exec rmdir {} \\;
338.RE
339.SH AUTHOR
340.EX
341Bert Muennich <ber.t at gmx.com>
342.EE
343.SH CONTRIBUTORS
344.EX
345Bastien Dejean <nihilhill at gmail.com>
346Dave Reisner <d at falconindy.com>
347Fung SzeTat <sthorde at gmail.com>
348.EX
349.SH HOMEPAGE
350.TP
351https://github.com/muennich/sxiv
352.SH SEE ALSO
353.BR feh (1),
354.BR qiv (1)