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

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