A Simple X Image Viewer
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

401 líneas
7.5 KiB

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