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.

README.md 7.0 KiB

13 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. ![sxiv](http://muennich.github.com/sxiv/img/logo.png "sxiv")
  2. **Simple X Image Viewer**
  3. The sole purpose of sxiv is to be the perfect image viewer for me. It is free
  4. software so that you can use it and modify it for your needs. Please file a bug
  5. report if something does not work as documented or expected. Contributions are
  6. welcome but there is no guarantee that they will be incorporated.
  7. Features
  8. --------
  9. * Basic image operations, e.g. zooming, panning, rotating
  10. * Customizable key and mouse button mappings (in *config.h*)
  11. * Thumbnail mode: grid of selectable previews of all images
  12. * Ability to cache thumbnails for fast re-loading
  13. * Basic support for multi-frame images
  14. * Load all frames from GIF files and play GIF animations
  15. * Display image information in status bar
  16. Screenshots
  17. -----------
  18. **Image mode:**
  19. ![Image](http://muennich.github.com/sxiv/img/image.png "Image mode")
  20. **Thumbnail mode:**
  21. ![Thumb](http://muennich.github.com/sxiv/img/thumb.png "Thumb mode")
  22. Installation
  23. ------------
  24. sxiv is built using the commands:
  25. $ make
  26. # make install
  27. Please note, that the latter one requires root privileges.
  28. By default, sxiv is installed using the prefix "/usr/local", so the full path
  29. of the executable will be "/usr/local/bin/sxiv".
  30. You can install sxiv into a directory of your choice by changing the second
  31. command to:
  32. # make PREFIX="/your/dir" install
  33. The build-time specific settings of sxiv can be found in the file *config.h*.
  34. Please check and change them, so that they fit your needs.
  35. If the file *config.h* does not already exist, then you have to create it with
  36. the following command:
  37. $ make config.h
  38. Usage
  39. -----
  40. Please see the [man page](http://muennich.github.com/sxiv/sxiv.1.html) for
  41. information on how to use sxiv.
  42. Download & Changelog
  43. --------------------
  44. You can [browse](https://github.com/muennich/sxiv) the source code repository
  45. on GitHub or get a copy using git with the following command:
  46. git clone https://github.com/muennich/sxiv.git
  47. **Stable releases**
  48. **[v25](https://github.com/muennich/sxiv/archive/v25.tar.gz)**
  49. *(January 26, 2019)*
  50. * Support font fallback for missing glyphs
  51. * Fix busy loop when built without inotify
  52. * Use background/foreground colors from X resource database
  53. **[v24](https://github.com/muennich/sxiv/archive/v24.tar.gz)**
  54. *(October 27, 2017)*
  55. * Automatically reload the current image whenever it changes
  56. * Support embedding into other X windows with -e (e.g. tabbed)
  57. * New option -p prevents sxiv from creating cache and temporary files
  58. * Simpler mouse mappings, the most basic features are accessible with the
  59. mouse only (navigate, zoom, pan)
  60. **[v1.3.2](https://github.com/muennich/sxiv/archive/v1.3.2.tar.gz)**
  61. *(December 20, 2015)*
  62. * external key handler gets file paths on stdin, not as arguments
  63. * Cache out-of-view thumbnails in the background
  64. * Apply gamma correction to thumbnails
  65. **[v1.3.1](https://github.com/muennich/sxiv/archive/v1.3.1.tar.gz)**
  66. *(November 16, 2014)*
  67. * Fixed build error, caused by delayed config.h creation
  68. * Fixed segfault when run with -c
  69. **[v1.3](https://github.com/muennich/sxiv/archive/v1.3.tar.gz)**
  70. *(October 24, 2014)*
  71. * Extract thumbnails from EXIF tags (requires libexif)
  72. * Zoomable thumbnails, supported sizes defined in config.h
  73. * Fixed build error with giflib version >= 5.1.0
  74. **[v1.2](https://github.com/muennich/sxiv/archive/v1.2.tar.gz)**
  75. *(April 24, 2014)*
  76. * Added external key handler, called on keys prefixed with `Ctrl-x`
  77. * New keybinding `{`/`}` to change gamma (by András Mohari)
  78. * Support for slideshows, enabled with `-S` option & toggled with `s`
  79. * Added application icon (created by 0ion9)
  80. * Checkerboard background for alpha layer
  81. * Option `-o` only prints files marked with `m` key
  82. * Fixed rotation/flipping of multi-frame images (gifs)
  83. **[v1.1.1](https://github.com/muennich/sxiv/archive/v1.1.1.tar.gz)**
  84. *(June 2, 2013)*
  85. * Various bug fixes
  86. **[v1.1](https://github.com/muennich/sxiv/archive/v1.1.tar.gz)**
  87. *(March 30, 2013)*
  88. * Added status bar on bottom of window with customizable content
  89. * New keyboard shortcuts `\`/`|`: flip image vertically/horizontally
  90. * New keyboard shortcut `Ctrl-6`: go to last/alternate image
  91. * Added own EXIF orientation handling, removed dependency on libexif
  92. * Fixed various bugs
  93. **[v1.0](https://github.com/muennich/sxiv/archive/v1.0.tar.gz)**
  94. *(October 31, 2011)*
  95. * Support for multi-frame images & GIF animations
  96. * POSIX compliant (IEEE Std 1003.1-2001)
  97. **[v0.9](https://github.com/muennich/sxiv/archive/v0.9.tar.gz)**
  98. *(August 17, 2011)*
  99. * Made key and mouse mappings fully configurable in config.h
  100. * Complete code refactoring
  101. **[v0.8.2](https://github.com/muennich/sxiv/archive/v0.8.2.tar.gz)**
  102. *(June 29, 2011)*
  103. * POSIX-compliant Makefile; compiles under NetBSD
  104. **[v0.8.1](https://github.com/muennich/sxiv/archive/v0.8.1.tar.gz)**
  105. *(May 8, 2011)*
  106. * Fixed fullscreen under window managers, which are not fully EWMH-compliant
  107. **[v0.8](https://github.com/muennich/sxiv/archive/v0.8.tar.gz)**
  108. *(April 18, 2011)*
  109. * Support for thumbnail caching
  110. * Ability to run external commands (e.g. jpegtran, convert) on current image
  111. **[v0.7](https://github.com/muennich/sxiv/archive/v0.7.tar.gz)**
  112. *(February 26, 2011)*
  113. * Sort directory entries when using `-r` command line option
  114. * Hide cursor in image mode
  115. * Full functional thumbnail mode, use Return key to switch between image and
  116. thumbnail mode
  117. **[v0.6](https://github.com/muennich/sxiv/archive/v0.6.tar.gz)**
  118. *(February 16, 2011)*
  119. * Bug fix: Correctly display filenames with umlauts in window title
  120. * Basic support of thumbnails
  121. **[v0.5](https://github.com/muennich/sxiv/archive/v0.5.tar.gz)**
  122. *(February 6, 2011)*
  123. * New command line option: `-r`: open all images in given directories
  124. * New key shortcuts: `w`: resize image to fit into window; `W`: resize window
  125. to fit to image
  126. **[v0.4](https://github.com/muennich/sxiv/archive/v0.4.tar.gz)**
  127. *(February 1, 2011)*
  128. * New command line option: `-F`, `-g`: use fixed window dimensions and apply
  129. a given window geometry
  130. * New key shortcut: `r`: reload current image
  131. **[v0.3.1](https://github.com/muennich/sxiv/archive/v0.3.1.tar.gz)**
  132. *(January 30, 2011)*
  133. * Bug fix: Do not set setuid bit on executable when using `make install`
  134. * Pan image with mouse while pressing middle mouse button
  135. **[v0.3](https://github.com/muennich/sxiv/archive/v0.3.tar.gz)**
  136. *(January 29, 2011)*
  137. * New command line options: `-d`, `-f`, `-p`, `-s`, `-v`, `-w`, `-Z`, `-z`
  138. * More mouse mappings: Go to next/previous image with left/right click,
  139. scroll image with mouse wheel (horizontally if Shift key is pressed),
  140. zoom image with mouse wheel if Ctrl key is pressed
  141. **[v0.2](https://github.com/muennich/sxiv/archive/v0.2.tar.gz)**
  142. *(January 23, 2011)*
  143. * Bug fix: Handle window resizes correctly
  144. * New keyboard shortcuts: `g`/`G`: go to first/last image; `[`/`]`: go 10
  145. images back/forward
  146. * Support for mouse wheel zooming (by Dave Reisner)
  147. * Added fullscreen mode
  148. **[v0.1](https://github.com/muennich/sxiv/archive/v0.1.tar.gz)**
  149. *(January 21, 2011)*
  150. * Initial release