A Simple X Image Viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sxiv.1 6.3 KiB

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