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