A Simple X Image Viewer
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

321 linhas
6.0 KiB

  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 [ \-cdFfhpqrstvZ ]
  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 \-c
  37. Remove all orphaned cache files from the thumbnail cache directory and exit.
  38. .TP
  39. .B \-d
  40. Scale all images to 100%, but fit large images into window.
  41. .TP
  42. .B \-F
  43. Make the window fixed/floating by setting the minimum and maximum width/height
  44. size-hints to the window width/height.
  45. .TP
  46. .B \-f
  47. Start in fullscreen mode.
  48. .TP
  49. .BI "\-g " GEOMETRY
  50. Set window position and size. See section GEOMETRY SPECIFICATIONS of X(7) for
  51. more information on
  52. .IR GEOMETRY .
  53. .TP
  54. .BI "\-n " NUM
  55. Start at picture number NUM.
  56. .TP
  57. .B \-h
  58. Print brief usage information to standard output and exit.
  59. .TP
  60. .B \-p
  61. Pixelize images, i.e. turn off anti-aliasing.
  62. .TP
  63. .B \-q
  64. Be quiet, disable warnings to standard error stream.
  65. .TP
  66. .B \-r
  67. Search the given directories recursively for images to view.
  68. .TP
  69. .B \-s
  70. Scale all images to fit into window.
  71. .TP
  72. .B \-t
  73. Start in thumbnail mode.
  74. .TP
  75. .B \-v
  76. Print version information to standard output and exit.
  77. .TP
  78. .B \-Z
  79. The same as `\-z 100'.
  80. .TP
  81. .BI "\-z " ZOOM
  82. Scale all images to the current zoom level, use a zoom level of
  83. .I ZOOM
  84. at startup.
  85. .SH GENERAL KEYBOARD COMMANDS
  86. The following keyboard commands are available in both image and thumbnail mode:
  87. .TP
  88. .B q
  89. Quit sxiv.
  90. .TP
  91. .B Return
  92. Switch to thumbnail mode / open selected image in image mode.
  93. .TP
  94. .BR 0 \- 9
  95. Prefix the next command with a number (denoted via
  96. .IR count ).
  97. .TP
  98. .B g
  99. Go to the first image.
  100. .TP
  101. .B G
  102. Go to the last image, or image number
  103. .IR count .
  104. .TP
  105. .B f
  106. Toggle fullscreen mode.
  107. .TP
  108. .B b
  109. Toggle visibility of info bar on bottom of window.
  110. .TP
  111. .B A
  112. Toggle visibility of alpha-channel, i.e. image transparency.
  113. .TP
  114. .B r
  115. Reload image.
  116. .TP
  117. .B D
  118. Remove current image from file list and go to next image.
  119. .SH THUMBNAIL KEYBOARD COMMANDS
  120. The following keyboard commands are only available in thumbnail mode:
  121. .TP
  122. .BR h ", " Left
  123. Move selection left.
  124. .TP
  125. .BR j ", " Down
  126. Move selection down.
  127. .TP
  128. .BR k ", " Up
  129. Move selection up.
  130. .TP
  131. .BR l ", " Right
  132. Move selection right.
  133. .TP
  134. .BR Ctrl-j ", " Ctrl-Down
  135. Scroll thumbnail grid one window height down.
  136. .TP
  137. .BR Ctrl-k ", " Ctrl-Up
  138. Scroll thumbnail grid one window height up.
  139. .SH IMAGE KEYBOARD COMMANDS
  140. The following keyboard commands are only available in image mode:
  141. .SS Navigate image list
  142. .TP
  143. .BR n ", " Space
  144. Go
  145. .I count
  146. images forward.
  147. .TP
  148. .BR p ", " Backspace
  149. Go
  150. .I count
  151. images backward.
  152. .TP
  153. .B [
  154. Go
  155. .I count
  156. * 10 images backward.
  157. .TP
  158. .B ]
  159. Go
  160. .I count
  161. * 10 images forward.
  162. .SS Handle multi-frame images
  163. .TP
  164. .B Ctrl-n
  165. Go to the next frame of a multi-frame image.
  166. .TP
  167. .B Ctrl-p
  168. Go to the previous frame of a multi-frame image.
  169. .TP
  170. .B Ctrl-Space
  171. Play/pause animation of a multi-frame image.
  172. .SS Zooming
  173. .TP
  174. .BR +
  175. Zoom in.
  176. .TP
  177. .B \-
  178. Zoom out.
  179. .TP
  180. .B =
  181. Set zoom level to 100%, or
  182. .IR count %.
  183. .TP
  184. .B w
  185. Set zoom level to fit image into window.
  186. .SS Panning
  187. .TP
  188. .BR h ", " Left
  189. Pan image 1/5 of window width or
  190. .I count
  191. pixel left.
  192. .TP
  193. .BR j ", " Down
  194. Pan image 1/5 of window height or
  195. .I count
  196. pixel down.
  197. .TP
  198. .BR k ", " Up
  199. Pan image 1/5 of window height or
  200. .I count
  201. pixel up.
  202. .TP
  203. .BR l ", " Right
  204. Pan image 1/5 of window width or
  205. .I count
  206. pixel right.
  207. .TP
  208. .B H
  209. Pan to left image edge.
  210. .TP
  211. .B J
  212. Pan to bottom image edge.
  213. .TP
  214. .B K
  215. Pan to top image edge.
  216. .TP
  217. .B L
  218. Pan to right image edge.
  219. .TP
  220. .BR Ctrl-h ", " Ctrl-Left
  221. Pan image one window width left.
  222. .TP
  223. .BR Ctrl-j ", " Ctrl-Down
  224. Pan image one window height down.
  225. .TP
  226. .BR Ctrl-k ", " Ctrl-Up
  227. Pan image one window height up.
  228. .TP
  229. .BR Ctrl-l ", " Ctrl-Right
  230. Pan image one window width right.
  231. .SS Rotation
  232. .TP
  233. .B <
  234. Rotate image counter-clockwise by 90 degrees.
  235. .TP
  236. .B >
  237. Rotate image clockwise by 90 degrees.
  238. .SS Slideshow
  239. .TP
  240. .B s
  241. Toggle slideshow.
  242. .TP
  243. .B Ctrl\-'\-'
  244. Decrease slideshow delay.
  245. .TP
  246. .B Ctrl-'+'
  247. Increase slideshow delay.
  248. .TP
  249. .B Ctrl-'='
  250. Reset slideshow delay to default value, or set it to
  251. .I count
  252. seconds.
  253. .SS Miscellaneous
  254. .TP
  255. .B a
  256. Toggle anti-aliasing.
  257. .TP
  258. .B W
  259. Resize window to fit image.
  260. .SH MOUSE COMMANDS
  261. The following mouse mappings are available in image mode:
  262. .SS Navigate image list
  263. .TP
  264. .B Button1
  265. Go to next image.
  266. .TP
  267. .B Button3
  268. Go to the previous image.
  269. .SS Zooming
  270. .TP
  271. .B Ctrl+ScrollUp
  272. Zoom in.
  273. .TP
  274. .B Ctrl+ScrollDown
  275. Zoom out.
  276. .SS Panning/Moving
  277. .TP
  278. .B Button2
  279. Drag the image with the mouse while keeping this button pressed down.
  280. .TP
  281. .B ScrollUp
  282. Pan image up.
  283. .TP
  284. .B ScrollDown
  285. Pan image down.
  286. .TP
  287. .B Shift+ScrollUp
  288. Pan image left.
  289. .TP
  290. .B Shift+ScrollDown
  291. Pan image right.
  292. .SH THUMBNAIL CACHING
  293. To enable thumbnail caching, please make sure to create the directory
  294. .I ~/.sxiv/
  295. with write permissions. sxiv will then store all thumbnails inside this
  296. directory, but it will not create this directory by itself. It rather uses the
  297. existance of this directory as an affirmation, that the user wants thumbnails
  298. to be cached.
  299. .P
  300. Use the command line option
  301. .I \-c
  302. to keep the cache directory clean by removing all orphaned cache files.
  303. Additionally, run the following command afterwards inside the cache directory
  304. to remove empty subdirectories:
  305. .P
  306. .RS
  307. find \-type d \-empty \-delete
  308. .RE
  309. .SH AUTHORS
  310. .EX
  311. Bert Muennich <ber.t at gmx.com>
  312. Dave Reisner <d at falconindy.com>
  313. Fung SzeTat <sthorde at gmail.com>
  314. .EE
  315. .SH HOMEPAGE
  316. .TP
  317. http://github.com/muennich/sxiv
  318. .SH SEE ALSO
  319. .BR feh (1),
  320. .BR qiv (1)