A Simple X Image Viewer
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

353 рядки
6.8 KiB

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