A Simple X Image Viewer
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

437 satır
8.1 KiB

  1. .TH SXIV 1 sxiv\-VERSION
  2. .SH NAME
  3. sxiv \- Simple X Image Viewer
  4. .SH SYNOPSIS
  5. .B sxiv
  6. .RB [ \-abcfhiopqrtvZ ]
  7. .RB [ \-A
  8. .IR FRAMERATE ]
  9. .RB [ \-e
  10. .IR WID ]
  11. .RB [ \-G
  12. .IR GAMMA ]
  13. .RB [ \-g
  14. .IR GEOMETRY ]
  15. .RB [ \-N
  16. .IR NAME ]
  17. .RB [ \-n
  18. .IR NUM ]
  19. .RB [ \-S
  20. .IR DELAY ]
  21. .RB [ \-s
  22. .IR MODE ]
  23. .RB [ \-z
  24. .IR ZOOM ]
  25. .IR FILE ...
  26. .SH DESCRIPTION
  27. sxiv is a simple image viewer for X. It only has the most basic features
  28. required for fast image viewing.
  29. .P
  30. sxiv has two modes of operation: image and thumbnail mode. The default is image
  31. mode, in which only the current image is shown. In thumbnail mode a grid of
  32. small previews is displayed, making it easy to choose an image to open.
  33. .P
  34. Please note, that the fullscreen mode requires an EWMH/NetWM compliant window
  35. manager.
  36. .SH OPTIONS
  37. .TP
  38. .BI "\-A " FRAMERATE
  39. Play animations with a constant frame rate set to
  40. .IR FRAMERATE .
  41. .TP
  42. .B \-a
  43. Play animations of multi-frame images.
  44. .TP
  45. .B \-b
  46. Do not show info bar on bottom of window.
  47. .TP
  48. .B \-c
  49. Remove all orphaned cache files from the thumbnail cache directory and exit.
  50. .TP
  51. .BI "\-e " WID
  52. Embed sxiv's window into window whose ID is
  53. .IR WID .
  54. .TP
  55. .B \-f
  56. Start in fullscreen mode.
  57. .TP
  58. .BI "\-G " GAMMA
  59. Set image gamma to GAMMA (-32..32).
  60. .TP
  61. .BI "\-g " GEOMETRY
  62. Set window position and size. See section GEOMETRY SPECIFICATIONS of X(7) for
  63. more information on GEOMETRY argument.
  64. .TP
  65. .BI "\-N " NAME
  66. Set the resource name of sxiv's X window to NAME.
  67. .TP
  68. .BI "\-n " NUM
  69. Start at picture number NUM.
  70. .TP
  71. .B \-h
  72. Print brief usage information to standard output and exit.
  73. .TP
  74. .B \-i
  75. Read names of files to open from standard input.
  76. .TP
  77. .B \-o
  78. Write list of all marked files to standard output when quitting. In combination
  79. with
  80. .B \-i
  81. sxiv can be used as a visual filter/pipe.
  82. .TP
  83. .B \-p
  84. Enable private mode, in which sxiv does not write any cache or temporary files.
  85. .TP
  86. .B \-q
  87. Be quiet, disable warnings to standard error stream.
  88. .TP
  89. .B \-r
  90. Search the given directories recursively for images to view.
  91. .TP
  92. .BI "\-S " DELAY
  93. Start in slideshow mode. Set the delay between images to
  94. .I DELAY
  95. seconds.
  96. .I DELAY
  97. may be a floating point number.
  98. .TP
  99. .BI "\-s " MODE
  100. Set scale mode according to MODE character. Supported modes are: [d]own,
  101. [f]it, [w]idth, [h]eight.
  102. .TP
  103. .B \-t
  104. Start in thumbnail mode.
  105. .TP
  106. .B \-v
  107. Print version information to standard output and exit.
  108. .TP
  109. .B \-Z
  110. The same as `\-z 100'.
  111. .TP
  112. .BI "\-z " ZOOM
  113. Set zoom level to ZOOM percent.
  114. .SH KEYBOARD COMMANDS
  115. .SS General
  116. The following keyboard commands are available in both image and thumbnail mode:
  117. .TP
  118. .BR 0 \- 9
  119. Prefix the next command with a number (denoted via
  120. .IR count ).
  121. .TP
  122. .B q
  123. Quit sxiv.
  124. .TP
  125. .B Return
  126. Switch to thumbnail mode / open selected image in image mode.
  127. .TP
  128. .B f
  129. Toggle fullscreen mode.
  130. .TP
  131. .B b
  132. Toggle visibility of info bar on bottom of window.
  133. .TP
  134. .B Ctrl-x
  135. Send the next key to the external key-handler. See section EXTERNAL KEY HANDLER
  136. for more information.
  137. .TP
  138. .B g
  139. Go to the first image.
  140. .TP
  141. .B G
  142. Go to the last image, or image number
  143. .IR count .
  144. .TP
  145. .B r
  146. Reload image.
  147. .TP
  148. .B D
  149. Remove current image from file list and go to next image.
  150. .TP
  151. .BR Ctrl-h ", " Ctrl-Left
  152. Scroll left one screen width.
  153. .TP
  154. .BR Ctrl-j ", " Ctrl-Down
  155. Scroll down one screen height.
  156. .TP
  157. .BR Ctrl-k ", " Ctrl-Up
  158. Scroll up one screen height.
  159. .TP
  160. .BR Ctrl-l ", " Ctrl-Right
  161. Scroll right one screen width.
  162. .TP
  163. .BR +
  164. Zoom in.
  165. .TP
  166. .B \-
  167. Zoom out.
  168. .TP
  169. .B m
  170. Mark/unmark the current image.
  171. .TP
  172. .B M
  173. Reverse all image marks.
  174. .TP
  175. .B Ctrl-M
  176. Repeat last mark action on all images from the last marked/unmarked up to the
  177. current one.
  178. .TP
  179. .B Ctrl-m
  180. Remove all image marks.
  181. .TP
  182. .B N
  183. Go
  184. .I count
  185. marked images forward.
  186. .TP
  187. .B P
  188. Go
  189. .I count
  190. marked images backward.
  191. .TP
  192. .B {
  193. Decrease gamma correction by
  194. .I count
  195. steps.
  196. .TP
  197. .B }
  198. Increase gamma correction by
  199. .I count
  200. steps.
  201. .TP
  202. .B Ctrl-g
  203. Reset gamma correction.
  204. .SS Thumbnail mode
  205. The following keyboard commands are only available in thumbnail mode:
  206. .TP
  207. .BR h ", " Left
  208. Move selection left
  209. .I count
  210. times.
  211. .TP
  212. .BR j ", " Down
  213. Move selection down
  214. .I count
  215. times.
  216. .TP
  217. .BR k ", " Up
  218. Move selection up
  219. .I count
  220. times.
  221. .TP
  222. .BR l ", " Right
  223. Move selection right
  224. .I count
  225. times.
  226. .TP
  227. .B R
  228. Reload all thumbnails.
  229. .SS Image mode
  230. The following keyboard commands are only available in image mode:
  231. .TP
  232. Navigate image list:
  233. .TP
  234. .BR n ", " Space
  235. Go
  236. .I count
  237. images forward.
  238. .TP
  239. .BR p ", " Backspace
  240. Go
  241. .I count
  242. images backward.
  243. .TP
  244. .B [
  245. Go
  246. .I count
  247. * 10 images backward.
  248. .TP
  249. .B ]
  250. Go
  251. .I count
  252. * 10 images forward.
  253. .TP
  254. Handle multi-frame images:
  255. .TP
  256. .B Ctrl-n
  257. Go
  258. .I count
  259. frames of a multi-frame image forward.
  260. .TP
  261. .B Ctrl-p
  262. Go
  263. .I count
  264. frames of a multi-frame image backward.
  265. .TP
  266. .B Ctrl-Space
  267. Play/stop animations of multi-frame images.
  268. .TP
  269. Panning:
  270. .TP
  271. .BR h ", " Left
  272. Scroll image 1/5 of window width or
  273. .I count
  274. pixel left.
  275. .TP
  276. .BR j ", " Down
  277. Scroll image 1/5 of window height or
  278. .I count
  279. pixel down.
  280. .TP
  281. .BR k ", " Up
  282. Scroll image 1/5 of window height or
  283. .I count
  284. pixel up.
  285. .TP
  286. .BR l ", " Right
  287. Scroll image 1/5 of window width or
  288. .I count
  289. pixel right.
  290. .TP
  291. .B H
  292. Scroll to left image edge.
  293. .TP
  294. .B J
  295. Scroll to bottom image edge.
  296. .TP
  297. .B K
  298. Scroll to top image edge.
  299. .TP
  300. .B L
  301. Scroll to right image edge.
  302. .TP
  303. Zooming:
  304. .TP
  305. .B =
  306. Set zoom level to 100%, or
  307. .IR count %.
  308. .TP
  309. .B w
  310. Set zoom level to 100%, but fit large images into window.
  311. .TP
  312. .B W
  313. Fit image to window.
  314. .TP
  315. .B e
  316. Fit image to window width.
  317. .TP
  318. .B E
  319. Fit image to window height.
  320. .TP
  321. Rotation:
  322. .TP
  323. .B <
  324. Rotate image counter-clockwise by 90 degrees.
  325. .TP
  326. .B >
  327. Rotate image clockwise by 90 degrees.
  328. .TP
  329. .B ?
  330. Rotate image by 180 degrees.
  331. .TP
  332. Flipping:
  333. .TP
  334. .B |
  335. Flip image horizontally.
  336. .TP
  337. .B _
  338. Flip image vertically.
  339. .TP
  340. Miscellaneous:
  341. .TP
  342. .B a
  343. Toggle anti-aliasing.
  344. .TP
  345. .B A
  346. Toggle visibility of alpha-channel, i.e. image transparency.
  347. .TP
  348. .B s
  349. Toggle slideshow mode and/or set the delay between images to
  350. .I count
  351. seconds.
  352. .SH MOUSE COMMANDS
  353. The following mouse mappings are available in image mode:
  354. .TP
  355. General:
  356. .TP
  357. .B Button3
  358. Switch to thumbnail mode.
  359. .TP
  360. Navigate image list:
  361. .TP
  362. .B Button1
  363. Go to the next image if the mouse cursor is in the right part of the window or
  364. to the previous image if it is in the left part.
  365. .TP
  366. Panning:
  367. .TP
  368. .B Button2
  369. Pan the image according to the mouse cursor position in the window while
  370. keeping this button pressed down.
  371. .TP
  372. Zooming:
  373. .TP
  374. .B ScrollUp
  375. Zoom in.
  376. .TP
  377. .B ScrollDown
  378. Zoom out.
  379. .SH STATUS BAR
  380. The information displayed on the left side of the status bar can be replaced
  381. with the output of a user-provided script, which is called by sxiv whenever an
  382. image gets loaded. The path of this script is
  383. .I $XDG_CONFIG_HOME/sxiv/exec/image-info
  384. and the arguments given to it are: 1) path to image file, 2) image width,
  385. 3) image height.
  386. .P
  387. There is also an example script installed together with sxiv as
  388. .IR PREFIX/share/sxiv/exec/image-info .
  389. .SH EXTERNAL KEY HANDLER
  390. Additional external keyboard commands can be defined using a handler program
  391. located in
  392. .IR $XDG_CONFIG_HOME/sxiv/exec/key-handler .
  393. The handler is invoked by pressing
  394. .BR Ctrl-x .
  395. The next key combo is passed as its first argument. Passed via stdin are the
  396. images to act upon, one path per line: all marked images, if in thumbnail mode
  397. and at least one image has been marked, otherwise the current image.
  398. sxiv(1) will block until the handler terminates. It then checks which images
  399. have been modified and reloads them.
  400. The key combo argument has the following form: "[C-][M-][S-]KEY",
  401. where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X
  402. keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
  403. There is also an example script installed together with sxiv as
  404. .IR PREFIX/share/sxiv/exec/key-handler .
  405. .SH THUMBNAIL CACHING
  406. sxiv stores all thumbnails under
  407. .IR $XDG_CACHE_HOME/sxiv/ .
  408. .P
  409. Use the command line option
  410. .I \-c
  411. to remove all orphaned cache files. Additionally, run the following command
  412. afterwards inside the cache directory to remove empty subdirectories:
  413. .P
  414. .RS
  415. find . \-depth \-type d \-empty ! \-name '.' \-exec rmdir {} \\;
  416. .RE
  417. .SH AUTHOR
  418. .EX
  419. Bert Muennich <ber.t at posteo.de>
  420. .EE
  421. .SH CONTRIBUTORS
  422. .EX
  423. Bastien Dejean <nihilhill at gmail.com>
  424. Dave Reisner <d at falconindy.com>
  425. Fung SzeTat <sthorde at gmail.com>
  426. Max Voit <mvdev at with-eyes.net>
  427. .EE
  428. .SH HOMEPAGE
  429. .EX
  430. https://github.com/muennich/sxiv
  431. .EE
  432. .SH SEE ALSO
  433. .BR feh (1),
  434. .BR qiv (1)