A Simple X Image Viewer
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

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