Krolyxon
Commit 8494b43

Branches

Refs →

nsxivREADME.md

239 lines · 7.5 KB · Markdown

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