| 1 | .TH SXIV 1 sxiv\-VERSION |
| 2 | .SH NAME |
| 3 | sxiv \- Simple (or small or suckless) X Image Viewer |
| 4 | .SH SYNOPSIS |
| 5 | .B sxiv |
| 6 | .RB [ \-cdFfhpqrstvZ ] |
| 7 | .RB [ \-g |
| 8 | .IR GEOMETRY ] |
| 9 | .RB [ \-n |
| 10 | .IR NUM ] |
| 11 | .RB [ \-z |
| 12 | .IR ZOOM ] |
| 13 | .IR FILE ... |
| 14 | .SH DESCRIPTION |
| 15 | sxiv is a simple image viewer for X. It only has the most basic features |
| 16 | required for fast image viewing. |
| 17 | .P |
| 18 | sxiv opens all named |
| 19 | .IR FILE s, |
| 20 | or reads the names of the files to open from standard input, if only a single |
| 21 | hyphen\-minus |
| 22 | .RB ( \- ) |
| 23 | is given. |
| 24 | .P |
| 25 | sxiv has two modes of operation: image and thumbnail mode. The default is image |
| 26 | mode, in which only the current image is shown. In thumbnail mode a grid of |
| 27 | small previews is displayed, making it easy to choose an image to open. |
| 28 | .P |
| 29 | sxiv can also cache its thumbnails. Please see the section THUMBNAIL CACHING |
| 30 | for information on how to enable this feature. |
| 31 | .P |
| 32 | Please note, that the fullscreen mode requires an EWMH/NetWM compliant window |
| 33 | manager. |
| 34 | .SH OPTIONS |
| 35 | .TP |
| 36 | .B \-c |
| 37 | Remove all orphaned cache files from the thumbnail cache directory and exit. |
| 38 | .TP |
| 39 | .B \-d |
| 40 | Scale all images to 100%, but fit large images into window. |
| 41 | .TP |
| 42 | .B \-F |
| 43 | Make the window fixed/floating by setting the minimum and maximum width/height |
| 44 | size-hints to the window width/height. |
| 45 | .TP |
| 46 | .B \-f |
| 47 | Start in fullscreen mode. |
| 48 | .TP |
| 49 | .BI "\-g " GEOMETRY |
| 50 | Set window position and size. See section GEOMETRY SPECIFICATIONS of X(7) for |
| 51 | more information on |
| 52 | .IR GEOMETRY . |
| 53 | .TP |
| 54 | .BI "\-n " NUM |
| 55 | Start at picture number NUM. |
| 56 | .TP |
| 57 | .B \-h |
| 58 | Print brief usage information to standard output and exit. |
| 59 | .TP |
| 60 | .B \-p |
| 61 | Pixelize images, i.e. turn off anti-aliasing. |
| 62 | .TP |
| 63 | .B \-q |
| 64 | Be quiet, disable warnings to standard error stream. |
| 65 | .TP |
| 66 | .B \-r |
| 67 | Search the given directories recursively for images to view. |
| 68 | .TP |
| 69 | .B \-s |
| 70 | Scale all images to fit into window. |
| 71 | .TP |
| 72 | .B \-t |
| 73 | Start in thumbnail mode. |
| 74 | .TP |
| 75 | .B \-v |
| 76 | Print version information to standard output and exit. |
| 77 | .TP |
| 78 | .B \-Z |
| 79 | The same as `\-z 100'. |
| 80 | .TP |
| 81 | .BI "\-z " ZOOM |
| 82 | Scale all images to the current zoom level, use a zoom level of |
| 83 | .I ZOOM |
| 84 | at startup. |
| 85 | .SH KEYBOARD COMMANDS |
| 86 | The differences of the following key mappings between image view and thumbnail |
| 87 | mode are denoted via brackets. |
| 88 | .SS General |
| 89 | .TP |
| 90 | .B q |
| 91 | Quit sxiv. |
| 92 | .TP |
| 93 | .B Return |
| 94 | Switch to thumbnail mode [open selected image]. |
| 95 | .SS Navigate image list |
| 96 | .TP |
| 97 | .BR n ", " Space |
| 98 | Go to the next image. |
| 99 | .TP |
| 100 | .BR p ", " Backspace |
| 101 | Go to the previous image. |
| 102 | .TP |
| 103 | .B g |
| 104 | Go to [select] the first image. |
| 105 | .TP |
| 106 | .B G |
| 107 | Go to [select] the last image. |
| 108 | .TP |
| 109 | .B [ |
| 110 | Go 10 images backward. |
| 111 | .TP |
| 112 | .B ] |
| 113 | Go 10 images forward. |
| 114 | .SS Zooming |
| 115 | .TP |
| 116 | .BR + ", " = |
| 117 | Zoom in. |
| 118 | .TP |
| 119 | .B \- |
| 120 | Zoom out. |
| 121 | .TP |
| 122 | .B 0 |
| 123 | Set zoom level to 100%. |
| 124 | .TP |
| 125 | .B w |
| 126 | Set zoom level to fit image into window. |
| 127 | .SS Panning/Moving |
| 128 | .TP |
| 129 | .BR h ", " Left |
| 130 | Pan image [move selection] left. |
| 131 | .TP |
| 132 | .BR j ", " Down |
| 133 | Pan image [move selection] down. |
| 134 | .TP |
| 135 | .BR k ", " Up |
| 136 | Pan image [move selection] up. |
| 137 | .TP |
| 138 | .BR l ", " Right |
| 139 | Pan image [move selection] right. |
| 140 | .TP |
| 141 | .B H |
| 142 | Pan to left image edge. |
| 143 | .TP |
| 144 | .B J |
| 145 | Pan to bottom image edge. |
| 146 | .TP |
| 147 | .B K |
| 148 | Pan to top image edge. |
| 149 | .TP |
| 150 | .B L |
| 151 | Pan to right image edge. |
| 152 | .TP |
| 153 | .BR Ctrl-h ", " Ctrl-Left |
| 154 | Pan image one window width left. |
| 155 | .TP |
| 156 | .BR Ctrl-j ", " Ctrl-Down |
| 157 | Pan image one window height down. |
| 158 | .TP |
| 159 | .BR Ctrl-k ", " Ctrl-Up |
| 160 | Pan image one window height up. |
| 161 | .TP |
| 162 | .BR Ctrl-l ", " Ctrl-Right |
| 163 | Pan image one window width right. |
| 164 | .SS Rotation |
| 165 | .TP |
| 166 | .B < |
| 167 | Rotate image counter-clockwise by 90 degrees. |
| 168 | .TP |
| 169 | .B > |
| 170 | Rotate image clockwise by 90 degrees. |
| 171 | .SS Control window |
| 172 | .TP |
| 173 | .B W |
| 174 | Resize window to fit image. |
| 175 | .TP |
| 176 | .B f |
| 177 | Toggle fullscreen mode. |
| 178 | .SS Miscellaneous |
| 179 | .TP |
| 180 | .B a |
| 181 | Toggle anti-aliasing. |
| 182 | .TP |
| 183 | .B A |
| 184 | Toggle visibility of alpha-channel, i.e. image transparency. |
| 185 | .TP |
| 186 | .B D |
| 187 | Remove current [selected] image from file list and go to [select] next image. |
| 188 | .TP |
| 189 | .B r |
| 190 | Reload image. |
| 191 | .SH MOUSE COMMANDS |
| 192 | The differences of the following mouse mappings between image view and |
| 193 | thumbnail mode are denoted via brackets. |
| 194 | .SS Navigate image list |
| 195 | .TP |
| 196 | .B Button1 |
| 197 | Go to [select/open] next image. |
| 198 | .TP |
| 199 | .B Button3 |
| 200 | Go to the previous image. |
| 201 | .SS Zooming |
| 202 | .TP |
| 203 | .B Ctrl+ScrollUp |
| 204 | Zoom in. |
| 205 | .TP |
| 206 | .B Ctrl+ScrollDown |
| 207 | Zoom out. |
| 208 | .SS Panning/Moving |
| 209 | .TP |
| 210 | .B Button2 |
| 211 | Drag the image with the mouse while keeping this button pressed down. |
| 212 | .TP |
| 213 | .B ScrollUp |
| 214 | Pan image up [scroll up one thumbnail row]. |
| 215 | .TP |
| 216 | .B ScrollDown |
| 217 | Pan image down [scroll down one thumbnail row]. |
| 218 | .TP |
| 219 | .B Shift+ScrollUp |
| 220 | Pan image left. |
| 221 | .TP |
| 222 | .B Shift+ScrollDown |
| 223 | Pan image right. |
| 224 | .SH THUMBNAIL CACHING |
| 225 | To enable thumbnail caching, please make sure to create the directory |
| 226 | .I ~/.sxiv/ |
| 227 | with write permissions. sxiv will then store all thumbnails inside this |
| 228 | directory, but it will not create this directory by itself. It rather uses the |
| 229 | existance of this directory as an affirmation, that the user wants thumbnails |
| 230 | to be cached. |
| 231 | .P |
| 232 | Use the command line option |
| 233 | .I \-c |
| 234 | to keep the cache directory clean by removing all orphaned cache files. |
| 235 | Additionally, run the following command afterwards inside the cache directory |
| 236 | to remove empty subdirectories: |
| 237 | .P |
| 238 | .RS |
| 239 | find \-type d \-empty \-delete |
| 240 | .RE |
| 241 | .SH AUTHORS |
| 242 | .EX |
| 243 | Bert Muennich <ber.t at gmx.com> |
| 244 | Dave Reisner <d at falconindy.com> |
| 245 | Fung SzeTat <sthorde at gmail.com> |
| 246 | .EE |
| 247 | .SH HOMEPAGE |
| 248 | .TP |
| 249 | http://github.com/muennich/sxiv |
| 250 | .SH SEE ALSO |
| 251 | .BR feh (1), |
| 252 | .BR qiv (1) |