| 1 |  |
| 2 | |
| 3 | **Simple X Image Viewer** |
| 4 | |
| 5 | The primary goal of sxiv is to create an image viewer, which only has the most |
| 6 | basic features required for fast image viewing (the ones I want). It has vi key |
| 7 | bindings and works nicely with tiling window managers. Its code base should be |
| 8 | kept small and clean to make it easy for you to dig into it and customize it |
| 9 | for your needs. |
| 10 | |
| 11 | |
| 12 | Features |
| 13 | -------- |
| 14 | |
| 15 | * Basic image operations, e.g. zooming, panning, rotating |
| 16 | * Customizable key and mouse button mappings (in *config.h*) |
| 17 | * Thumbnail mode: grid of selectable previews of all images |
| 18 | * Ability to cache thumbnails for fast re-loading |
| 19 | * Basic support for multi-frame images |
| 20 | * Load all frames from GIF files and play GIF animations |
| 21 | * Display image information in status bar |
| 22 | |
| 23 | |
| 24 | Screenshots |
| 25 | ----------- |
| 26 | |
| 27 | **Image mode:** |
| 28 | |
| 29 |  |
| 30 | |
| 31 | **Thumbnail mode:** |
| 32 | |
| 33 |  |
| 34 | |
| 35 | |
| 36 | Installation |
| 37 | ------------ |
| 38 | |
| 39 | sxiv is built using the commands: |
| 40 | |
| 41 | $ make |
| 42 | # make install |
| 43 | |
| 44 | Please note, that the latter one requires root privileges. |
| 45 | By default, sxiv is installed using the prefix "/usr/local", so the full path |
| 46 | of the executable will be "/usr/local/bin/sxiv". |
| 47 | |
| 48 | You can install sxiv into a directory of your choice by changing the second |
| 49 | command to: |
| 50 | |
| 51 | # make PREFIX="/your/dir" install |
| 52 | |
| 53 | The build-time specific settings of sxiv can be found in the file *config.h*. |
| 54 | Please check and change them, so that they fit your needs. |
| 55 | If the file *config.h* does not already exist, then you have to create it with |
| 56 | the following command: |
| 57 | |
| 58 | $ make config.h |
| 59 | |
| 60 | |
| 61 | Usage |
| 62 | ----- |
| 63 | |
| 64 | Please see the [man page](http://muennich.github.com/sxiv/sxiv.1.html) for information on how to use sxiv. |
| 65 | |
| 66 | |
| 67 | Download & Changelog |
| 68 | -------------------- |
| 69 | |
| 70 | You can [browse](https://github.com/muennich/sxiv) the source code repository |
| 71 | on GitHub or get a copy using git with the following command: |
| 72 | |
| 73 | git clone https://github.com/muennich/sxiv.git |
| 74 | |
| 75 | **Stable releases** |
| 76 | |
| 77 | **[v1.3.2](https://github.com/muennich/sxiv/archive/v1.3.2.tar.gz)** |
| 78 | *(December 20, 2015)* |
| 79 | |
| 80 | * external key handler gets file paths on stdin, not as arguments |
| 81 | * Cache out-of-view thumbnails in the background |
| 82 | * Apply gamma correction to thumbnails |
| 83 | |
| 84 | **[v1.3.1](https://github.com/muennich/sxiv/archive/v1.3.1.tar.gz)** |
| 85 | *(November 16, 2014)* |
| 86 | |
| 87 | * Fixed build error, caused by delayed config.h creation |
| 88 | * Fixed segfault when run with -c |
| 89 | |
| 90 | **[v1.3](https://github.com/muennich/sxiv/archive/v1.3.tar.gz)** |
| 91 | *(October 24, 2014)* |
| 92 | |
| 93 | * Extract thumbnails from EXIF tags (requires libexif) |
| 94 | * Zoomable thumbnails, supported sizes defined in config.h |
| 95 | * Fixed build error with giflib version >= 5.1.0 |
| 96 | |
| 97 | **[v1.2](https://github.com/muennich/sxiv/archive/v1.2.tar.gz)** |
| 98 | *(April 24, 2014)* |
| 99 | |
| 100 | * Added external key handler, called on keys prefixed with `Ctrl-x` |
| 101 | * New keybinding `{`/`}` to change gamma (by András Mohari) |
| 102 | * Support for slideshows, enabled with `-S` option & toggled with `s` |
| 103 | * Added application icon (created by 0ion9) |
| 104 | * Checkerboard background for alpha layer |
| 105 | * Option `-o` only prints files marked with `m` key |
| 106 | * Fixed rotation/flipping of multi-frame images (gifs) |
| 107 | |
| 108 | **[v1.1.1](https://github.com/muennich/sxiv/archive/v1.1.1.tar.gz)** |
| 109 | *(June 2, 2013)* |
| 110 | |
| 111 | * Various bug fixes |
| 112 | |
| 113 | **[v1.1](https://github.com/muennich/sxiv/archive/v1.1.tar.gz)** |
| 114 | *(March 30, 2013)* |
| 115 | |
| 116 | * Added status bar on bottom of window with customizable content |
| 117 | * New keyboard shortcuts `\`/`|`: flip image vertically/horizontally |
| 118 | * New keyboard shortcut `Ctrl-6`: go to last/alternate image |
| 119 | * Added own EXIF orientation handling, removed dependency on libexif |
| 120 | * Fixed various bugs |
| 121 | |
| 122 | **[v1.0](https://github.com/muennich/sxiv/archive/v1.0.tar.gz)** |
| 123 | *(October 31, 2011)* |
| 124 | |
| 125 | * Support for multi-frame images & GIF animations |
| 126 | * POSIX compliant (IEEE Std 1003.1-2001) |
| 127 | |
| 128 | **[v0.9](https://github.com/muennich/sxiv/archive/v0.9.tar.gz)** |
| 129 | *(August 17, 2011)* |
| 130 | |
| 131 | * Made key and mouse mappings fully configurable in config.h |
| 132 | * Complete code refactoring |
| 133 | |
| 134 | **[v0.8.2](https://github.com/muennich/sxiv/archive/v0.8.2.tar.gz)** |
| 135 | *(June 29, 2011)* |
| 136 | |
| 137 | * POSIX-compliant Makefile; compiles under NetBSD |
| 138 | |
| 139 | **[v0.8.1](https://github.com/muennich/sxiv/archive/v0.8.1.tar.gz)** |
| 140 | *(May 8, 2011)* |
| 141 | |
| 142 | * Fixed fullscreen under window managers, which are not fully EWMH-compliant |
| 143 | |
| 144 | **[v0.8](https://github.com/muennich/sxiv/archive/v0.8.tar.gz)** |
| 145 | *(April 18, 2011)* |
| 146 | |
| 147 | * Support for thumbnail caching |
| 148 | * Ability to run external commands (e.g. jpegtran, convert) on current image |
| 149 | |
| 150 | **[v0.7](https://github.com/muennich/sxiv/archive/v0.7.tar.gz)** |
| 151 | *(February 26, 2011)* |
| 152 | |
| 153 | * Sort directory entries when using `-r` command line option |
| 154 | * Hide cursor in image mode |
| 155 | * Full functional thumbnail mode, use Return key to switch between image and |
| 156 | thumbnail mode |
| 157 | |
| 158 | **[v0.6](https://github.com/muennich/sxiv/archive/v0.6.tar.gz)** |
| 159 | *(February 16, 2011)* |
| 160 | |
| 161 | * Bug fix: Correctly display filenames with umlauts in window title |
| 162 | * Basic support of thumbnails |
| 163 | |
| 164 | **[v0.5](https://github.com/muennich/sxiv/archive/v0.5.tar.gz)** |
| 165 | *(February 6, 2011)* |
| 166 | |
| 167 | * New command line option: `-r`: open all images in given directories |
| 168 | * New key shortcuts: `w`: resize image to fit into window; `W`: resize window |
| 169 | to fit to image |
| 170 | |
| 171 | **[v0.4](https://github.com/muennich/sxiv/archive/v0.4.tar.gz)** |
| 172 | *(February 1, 2011)* |
| 173 | |
| 174 | * New command line option: `-F`, `-g`: use fixed window dimensions and apply |
| 175 | a given window geometry |
| 176 | * New key shortcut: `r`: reload current image |
| 177 | |
| 178 | **[v0.3.1](https://github.com/muennich/sxiv/archive/v0.3.1.tar.gz)** |
| 179 | *(January 30, 2011)* |
| 180 | |
| 181 | * Bug fix: Do not set setuid bit on executable when using `make install` |
| 182 | * Pan image with mouse while pressing middle mouse button |
| 183 | |
| 184 | **[v0.3](https://github.com/muennich/sxiv/archive/v0.3.tar.gz)** |
| 185 | *(January 29, 2011)* |
| 186 | |
| 187 | * New command line options: `-d`, `-f`, `-p`, `-s`, `-v`, `-w`, `-Z`, `-z` |
| 188 | * More mouse mappings: Go to next/previous image with left/right click, |
| 189 | scroll image with mouse wheel (horizontally if Shift key is pressed), |
| 190 | zoom image with mouse wheel if Ctrl key is pressed |
| 191 | |
| 192 | **[v0.2](https://github.com/muennich/sxiv/archive/v0.2.tar.gz)** |
| 193 | *(January 23, 2011)* |
| 194 | |
| 195 | * Bug fix: Handle window resizes correctly |
| 196 | * New keyboard shortcuts: `g`/`G`: go to first/last image; `[`/`]`: go 10 |
| 197 | images back/forward |
| 198 | * Support for mouse wheel zooming (by Dave Reisner) |
| 199 | * Added fullscreen mode |
| 200 | |
| 201 | **[v0.1](https://github.com/muennich/sxiv/archive/v0.1.tar.gz)** |
| 202 | *(January 21, 2011)* |
| 203 | |
| 204 | * Initial release |
| 205 | |