A Simple X Image Viewer
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

395 rindas
7.3 KiB

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