Krolyxon
Commit 2737fc8

Branches

Refs →

nsxivsxiv.1

380 lines · 7.1 KB · Groff/troff

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