A Simple X Image Viewer
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

README.md 9.2 KiB

il y a 11 ans
il y a 14 ans
il y a 14 ans
il y a 14 ans
il y a 14 ans
il y a 14 ans
il y a 14 ans
il y a 14 ans
il y a 13 ans
il y a 14 ans
il y a 14 ans
il y a 14 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 13 ans
il y a 12 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. ![sxiv](http://muennich.github.com/sxiv/img/logo.png "sxiv")
  2. **Simple X Image Viewer**
  3. sxiv is an alternative to feh and qiv. Its only dependencies besides xlib are
  4. imlib2 and giflib. The primary goal for writing sxiv is to create an image
  5. viewer, which only has the most basic features required for fast image viewing
  6. (the ones I want). It has vi key bindings and works nicely with tiling window
  7. managers. Its code base should be kept small and clean to make it easy for you
  8. to dig into it and customize it for your needs.
  9. Features
  10. --------
  11. * Basic image operations, e.g. zooming, panning, rotating
  12. * Customizable key and mouse button mappings (in *config.h*)
  13. * Thumbnail mode: grid of selectable previews of all images
  14. * Ability to cache thumbnails for fast re-loading
  15. * Basic support for multi-frame images
  16. * Load all frames from GIF files and play GIF animations
  17. * Display image information in status bar
  18. Screenshots
  19. -----------
  20. **Image mode:**
  21. ![Image](http://muennich.github.com/sxiv/img/image.png "Image mode")
  22. **Thumbnail mode:**
  23. ![Thumb](http://muennich.github.com/sxiv/img/thumb.png "Thumb mode")
  24. Installation
  25. ------------
  26. sxiv is built using the commands:
  27. $ make
  28. # make install
  29. Please note, that the latter one requires root privileges.
  30. By default, sxiv is installed using the prefix "/usr/local", so the full path
  31. of the executable will be "/usr/local/bin/sxiv".
  32. You can install sxiv into a directory of your choice by changing the second
  33. command to:
  34. # make PREFIX="/your/dir" install
  35. The build-time specific settings of sxiv can be found in the file *config.h*.
  36. Please check and change them, so that they fit your needs.
  37. If the file *config.h* does not already exist, then you have to create it with
  38. the following command:
  39. $ make config.h
  40. Usage
  41. -----
  42. sxiv has two modes of operation: image and thumbnail mode. The default is
  43. image mode, in which only the current image is shown. In thumbnail mode a grid
  44. of small previews is displayed, making it easy to choose an image to open.
  45. **Command line options:**
  46. -b Do not show info bar on bottom of window
  47. -c Remove all orphaned cache files from thumbnail cache and exit
  48. -d Scale all images to 100%, but fit large images into window
  49. -F Use size-hints to make the window fixed/floating
  50. -f Start in fullscreen mode
  51. -G GAMMA Set image gamma to GAMMA (-32..32)
  52. -g GEOMETRY Set window position and size
  53. (see section GEOMETRY SPECIFICATIONS of X(7))
  54. -i Read file list from stdin
  55. -N NAME Set X window resource name to NAME
  56. -n NUM Start at picture NUM
  57. -o Write list of marked files to stdout when quitting
  58. -q Be quiet, disable warnings
  59. -r Search given directories recursively for images
  60. -S DELAY Enable slideshow and set slideshow delay to DELAY seconds
  61. -s Scale all images to fit into window
  62. -t Start in thumbnail mode
  63. -v Print version information and exit
  64. -Z Same as `-z 100'
  65. -z ZOOM Scale all images to current zoom level, use ZOOM at startup
  66. **Key mappings:**
  67. q Quit sxiv
  68. Return Switch to thumbnail mode / open selected image
  69. 0-9 Prefix the next command with a number (denoted via [count])
  70. g Go to first image
  71. G Go to the last image, or image number [count]
  72. f Toggle fullscreen mode (requires an EWMH/NetWM compliant
  73. window manager)
  74. b Toggle visibility of info bar on bottom of window
  75. A Toggle visibility of alpha-channel, i.e. transparency
  76. r Reload image
  77. R Reload all thumbnails
  78. D Remove image from file list and go to next image
  79. m Mark/unmark current image
  80. M Reverse all image marks
  81. N Go [count] marked images forward
  82. P Go [count] marked images backward
  83. Ctrl-x KEY Execute $XDG_CONFIG_HOME/sxiv/exec/key-handler with
  84. KEY and the path of the current image as arguments.
  85. If KEY is Escape, it cancels the effect of Ctrl-x.
  86. *Thumbnail mode:*
  87. h,j,k,l Move selection left/down/up/right [count] times
  88. Ctrl-j,k Scroll thumbnail grid one window height down/up
  89. *Image mode:*
  90. n,Space Go [count] images forward
  91. p,Backspace Go [count] images backward
  92. [,] Go [count] * 10 images backward/forward
  93. Ctrl-n,p Go to the next/previous frame of a multi-frame image
  94. Ctrl-Space Play/pause animation of a multi-frame image
  95. + Zoom in
  96. - Zoom out
  97. = Set zoom level to 100%, or [count]%
  98. w Fit image into window
  99. e Fit image width to window width
  100. E Fit image height to window height
  101. h,j,k,l Pan image 1/5 of window width/height or [count] pixels
  102. left/down/up/right (also with arrow keys)
  103. H,J,K,L Pan to left/bottom/top/right image edge
  104. Ctrl-h,j,k,l Pan image one window width/height left/down/up/right
  105. (also with Ctrl-arrow keys)
  106. <,> Rotate image (counter-)clockwise by 90 degrees
  107. ? Rotate image by 180 degrees
  108. |,_ Flip image horizontally/vertically
  109. s Toggle slideshow or set delay to [count] seconds
  110. a Toggle anti-aliasing
  111. W Resize window to fit image
  112. **Mouse button mappings:**
  113. *Image mode:*
  114. Button1 Go to the next image
  115. Button2 Drag image with mouse while keeping it pressed
  116. Button3 Go to the previous image
  117. Scroll Pan image up/down
  118. Shift+Scroll Pan image left/right
  119. Ctrl+Scroll Zoom in/out
  120. Download & Changelog
  121. --------------------
  122. You can [browse](https://github.com/muennich/sxiv) the source code repository
  123. on GitHub or get a copy using git with the following command:
  124. git clone https://github.com/muennich/sxiv.git
  125. **Stable releases**
  126. **[v1.1.1](https://github.com/muennich/sxiv/archive/v1.1.1.tar.gz)**
  127. *(June 2, 2013)*
  128. * Various bug fixes
  129. **[v1.1](https://github.com/muennich/sxiv/archive/v1.1.tar.gz)**
  130. *(March 30, 2013)*
  131. * Added status bar on bottom of window with customizable content
  132. * New keyboard shortcuts `\`/`|`: flip image vertically/horizontally
  133. * New keyboard shortcut `Ctrl-6`: go to last/alternate image
  134. * Added own EXIF orientation handling, removed dependency on libexif
  135. * Fixed various bugs
  136. **[v1.0](https://github.com/muennich/sxiv/archive/v1.0.tar.gz)**
  137. *(October 31, 2011)*
  138. * Support for multi-frame images & GIF animations
  139. * POSIX compliant (IEEE Std 1003.1-2001)
  140. **[v0.9](https://github.com/muennich/sxiv/archive/v0.9.tar.gz)**
  141. *(August 17, 2011)*
  142. * Made key and mouse mappings fully configurable in config.h
  143. * Complete code refactoring
  144. **[v0.8.2](https://github.com/muennich/sxiv/archive/v0.8.2.tar.gz)**
  145. *(June 29, 2011)*
  146. * POSIX-compliant Makefile; compiles under NetBSD
  147. **[v0.8.1](https://github.com/muennich/sxiv/archive/v0.8.1.tar.gz)**
  148. *(May 8, 2011)*
  149. * Fixed fullscreen under window managers, which are not fully EWMH-compliant
  150. **[v0.8](https://github.com/muennich/sxiv/archive/v0.8.tar.gz)**
  151. *(April 18, 2011)*
  152. * Support for thumbnail caching
  153. * Ability to run external commands (e.g. jpegtran, convert) on current image
  154. **[v0.7](https://github.com/muennich/sxiv/archive/v0.7.tar.gz)**
  155. *(February 26, 2011)*
  156. * Sort directory entries when using `-r` command line option
  157. * Hide cursor in image mode
  158. * Full functional thumbnail mode, use Return key to switch between image and
  159. thumbnail mode
  160. **[v0.6](https://github.com/muennich/sxiv/archive/v0.6.tar.gz)**
  161. *(February 16, 2011)*
  162. * Bug fix: Correctly display filenames with umlauts in window title
  163. * Basic support of thumbnails
  164. **[v0.5](https://github.com/muennich/sxiv/archive/v0.5.tar.gz)**
  165. *(February 6, 2011)*
  166. * New command line option: `-r`: open all images in given directories
  167. * New key shortcuts: `w`: resize image to fit into window; `W`: resize window
  168. to fit to image
  169. **[v0.4](https://github.com/muennich/sxiv/archive/v0.4.tar.gz)**
  170. *(February 1, 2011)*
  171. * New command line option: `-F`, `-g`: use fixed window dimensions and apply
  172. a given window geometry
  173. * New key shortcut: `r`: reload current image
  174. **[v0.3.1](https://github.com/muennich/sxiv/archive/v0.3.1.tar.gz)**
  175. *(January 30, 2011)*
  176. * Bug fix: Do not set setuid bit on executable when using `make install`
  177. * Pan image with mouse while pressing middle mouse button
  178. **[v0.3](https://github.com/muennich/sxiv/archive/v0.3.tar.gz)**
  179. *(January 29, 2011)*
  180. * New command line options: `-d`, `-f`, `-p`, `-s`, `-v`, `-w`, `-Z`, `-z`
  181. * More mouse mappings: Go to next/previous image with left/right click,
  182. scroll image with mouse wheel (horizontally if Shift key is pressed),
  183. zoom image with mouse wheel if Ctrl key is pressed
  184. **[v0.2](https://github.com/muennich/sxiv/archive/v0.2.tar.gz)**
  185. *(January 23, 2011)*
  186. * Bug fix: Handle window resizes correctly
  187. * New keyboard shortcuts: `g`/`G`: go to first/last image; `[`/`]`: go 10
  188. images back/forward
  189. * Support for mouse wheel zooming (by Dave Reisner)
  190. * Added fullscreen mode
  191. **[v0.1](https://github.com/muennich/sxiv/archive/v0.1.tar.gz)**
  192. *(January 21, 2011)*
  193. * Initial release