Krolyxon
Commit aabc2bd

Branches

Refs →

nsxivREADME.md

206 lines · 6.6 KB · Markdown

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