Some command line options are not GNU/POSIX compliant (4)
[geeqie.git] / README.md
1 # Geeqie Readme
2
3 Code Status:  
4 ![Build Status](https://github.com/BestImageViewer/geeqie/actions/workflows/check-build-actions.yml/badge.svg)
5
6 Package Status:  
7 [![Packaging status](https://repology.org/badge/tiny-repos/geeqie.svg)](https://repology.org/project/geeqie/versions)
8 [![latest packaged version(s)](https://repology.org/badge/latest-versions/geeqie.svg)](https://repology.org/project/geeqie/versions)
9
10 ## ![][image_ref_geeqie_png] Geeqie - an image viewer
11
12 This is Geeqie, a successor of GQview.
13
14 Geeqie is a free open software image viewer and organiser program for Linux, FreeBSD and other Unix-like operating systems
15
16 It can be used as a simple database-free image viewer but it also has extensive capabilities.
17
18 Please send any questions, problems or suggestions to the [mailing list](mailto:geeqie@freelists.org) or
19 open an issue on [Geeqie at GitHub](https://github.com/BestImageViewer/geeqie/issues).
20
21 (NB Unless you first subscribe to the mailing list, you will not receive automated responses)
22
23 Subscribe to the mailing list [here](https://www.freelists.org/list/geeqie).
24
25 The project website is <https://www.geeqie.org/> and you will find the latest sources in the
26 [Geeqie repository](http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git).
27
28 ## Contents
29
30 * [Features](#features)
31 * [Downloading](#downloading)
32 * [AppImages](#appimages)
33 * [Installation Scripts](#installation-scripts)
34 * [Compiling and Installing](#compiling-and-installing)
35 * [Notes and changes for the latest release](#notes-and-changes-for-the-latest-release)
36 * [Requirements](#requirements)
37 * [Required libraries](#required-libraries)
38
39 ### Features
40
41 Geeqie is a graphics file viewer. Basic features:
42
43 * Single click image viewing / navigation.
44
45 * Zoom functions.
46
47 * Thumbnails, with optional caching and .xvpics support.
48
49 * Multiple file selection for move, copy, delete, rename, drag and drop.
50
51 * Thumbnail preview of the destination for move, copy and rename functions.
52
53 * On-the-fly renaming for move and copy functions, with formatted and auto-rename features.
54
55 * File grouping (an image having jpeg, RAW and xmp files will appear as a single entity).
56
57 * Selectable exif auto-rotation of images.
58
59 * Single click file copy or move to pre-defined folders - with undo feature.
60 * Drag and drop.
61
62 * Collections.
63
64 * Support for stereoscopic images
65     * input: side-by-side (JPS) and MPO format
66     * output: single image, anaglyph, SBS, mirror, SBS half size (3DTV)
67
68 * Viewing raster and vector images, in the following formats:
69     * 3FR, ANI, ARW, AVIF, BMP, CR2, CR3, CRW, CUR, DDS, DjVu, DNG, ERF, GIF, HEIC, HEIF, ICO, JP2. JPE/JPEG/JPG, JPEG XL, JPS, KDC, MEF, MOS, MPO, MRW, NEF, ORF (including OM-1), PBM/PGM/PNM/PPM, PEF, PNG, PSD, QIF/QTIF (QuickTime Image Format), RAF, RAW, RW2, SCR (ZX Spectrum), SR2, SRF, SVG/SVGZ, TGA/TARGA, TIF/TIFF, WEBP, XBM, XPM.
70     * Display images in archive files (.ZIP, .RAR etc.).
71     * Animated GIF and WEBP files are supported.
72
73 * Preview and thumbnails of video clips can be displayed. Clips can be run via a defined external program.
74
75 * Images can be displayed singly in normal or fullscreen mode; static or slideshow mode; in sets of two or four per page for comparison; or as thumbnails of various sizes. Synchronised zoom when multi images are displayed.
76
77 * Pan(orama) view displays image thumbnails in calendar, grid, folder and other layouts.
78 * All available metadata and Exif/IPTC/XMP data can be displayed, as well as colour histograms and assigned tags, keywords and comments.
79
80 * Selectable image overlay display box - can contain any text or meta-data.
81
82 * Panels can be docked or floating.
83
84 * Tags, both predefined and custom, can be assigned to images, and stored either as image metadata (where the file format allows), sidecar files, or in directory metadata files. Keywords and comments can also be assigned.
85
86 * Basic editing in the form of lossless 90/180-degree rotation and flipping is supported; external programs such as GIMP, Inkscape, and custom scripts using ImageMagick can be linked to allow further processing.
87
88 * Advanced searching is available using criteria such as filename, file size, age, image dimensions, similarity to a specified image, or by keywords or comments. If images have GPS coordinates embedded, you may also search for images within a radius of a geographical point.
89
90 * Geeqie supports applying the colour profile embedded in an image along with the system monitor profile (or a user-specified monitor profile).
91
92 * Geeqie sessions can be remotely controlled from external software, so it can be used as an image-viewer component of a bigger application.
93
94 * Geeqie includes a 'find duplicates' tool which can compare images using a variety of criteria (filename, file size, visual similarity, dimensions, image content), either within a single folder or between two folders. Finding duplicates ignoring the rotation of images is also supported.
95 * Images may be given a rating value (also known as a "star rating").
96
97 * Maps from [OpenStreetMap](https://www.openstreetmap.org) may be displayed in a side panel. If an image has GPS coordinates embedded, its position will be displayed on the map - if Image Direction is encoded, that will be displayed also. If an image does not have embedded GPS coordinates, it may be dragged-and-dropped onto the map to encode its position.
98
99 * Speed of operation can be increased by caching thumbnails and similarity data of images. When Geeqie is run as a stand-alone command line program (`geeqie --cache-maintenance <path>`) these data will be recursively created from the defined start point. This program can be called from `cron` or `anacron` so that cache updating is automatically done at specified intervals.
100
101 * Extensible via plugins
102
103 ### Downloading
104
105 Geeqie is available:  
106
107 * as a package for Linux and BSD systems (See the [project web page](https://www.geeqie.org#download)).
108
109 * as a [flatpak](https://flathub.org/apps/details/org.geeqie.Geeqie) from the [Flathub site](https://flathub.org/home).
110
111 * as an [AppImage](https://github.com/BestImageViewer/geeqie/releases) - x86_64 and arm64 (Generated from the latest sources).
112
113 * as a [Homebrew](https://formulae.brew.sh/formula/geeqie) or [MacPorts](https://ports.macports.org/port/geeqie) package for macOS.
114
115 * via WSL2 on Windows 11 - see notes below.
116
117 ### AppImages
118
119 The Continuous Build release version has AppImages that are automatically generated each time the source code is updated. There are two versions - the full version is about 120MB and the minimal version is about 10MB and will therefore load much faster.
120
121 The minimal version can display jpegs, pngs and some other formats, but does not have the range of the full version.
122
123 This script file will download to $HOME/bin the latest Continuous Build AppImages for you:
124
125 ```sh
126 wget https://raw.githubusercontent.com/BestImageViewer/geeqie/master/scripts/geeqie-download-appimage.sh
127 chmod +x geeqie-download-appimage.sh
128 ```
129
130 The script can download either the full size or the minimal version of the AppIamge, and sets a symbolic link to the executable file. The ```--help``` option lists all options.
131
132 The full version takes a noticeable time to load, and runs slightly slower than a normal packaged release.
133 The above script has the option ```--extract``` which extracts the contents of either AppImage to a sub-directory under $HOME/bin.
134 With this option the loading and run time is the same as for a packaged release.
135
136 There are also options to install desktop icons, menu items, and to revert to earlier downloaded versions.
137
138 AppImages have a "portable mode" which is described [here](https://docs.appimage.org/user-guide/portable-mode.html).
139
140 **Note:**
141
142 Command line auto-completion does not work with AppImages. If you are using the AppImage `--extract` option, this is a work-around.
143
144 Assuming you have extracted the AppImage to `$HOME/bin/Geeqie-latest-x86_64-AppImage/`, create a symbolic link as follows:
145
146 ```sh
147 mkdir --parents $HOME/.local/share/bash-completion/completions/
148 ln --symbolic $HOME/bin/Geeqie-latest-x86_64-AppImage/squashfs-root/usr/local/share/bash-completion/completions/geeqie $HOME/.local/share/bash-completion/completions/geeqie
149 ```
150
151 ### Installation scripts
152
153 Geeqie is stable and you may compile the latest version from sources.
154
155 There are two scripts which will download and compile the sources for you.
156
157 The first script will install Geeqie to a defined location, and will run under any system. However, it is left to you to make sure dependencies are fulfilled.
158 To get the script, from the command line type:
159
160 ```sh
161 wget https://raw.githubusercontent.com/pixlsus/Scripts/master/build-geeqie
162 chmod +x build-geeqie
163 ```
164
165 The second script will run only on Debian-based system, but will fulfil all dependencies and also give you the opportunity to include additional pixbuf loaders and other useful programs.
166 To get the script, from the command line type:
167
168 ```sh
169 wget https://raw.githubusercontent.com/BestImageViewer/geeqie/master/geeqie-install-debian.sh
170 chmod +x geeqie-install-debian.sh
171 ```
172
173 If you wish to compile the sources yourself you may download the latest version (if you have installed git) from here:
174
175 `git clone http://git.geeqie.org/git/geeqie.git`
176
177 ### Compiling and Installing
178
179 `meson setup build`  
180 `ninja -C build install`
181
182 List compile options:  
183 `meson configure build`
184
185 Apply options e.g.:  
186 `sudo ninja -C build uninstall`  
187 `meson configure build -Dpdf=enabled -Dwebp=disabled`  
188 `ninja -C build install`
189
190 Re-display configuration data:  
191 `ninja -C build reconfigure`
192
193 Meaning of options:  
194 `auto` If the library is not found, continue the installation  
195 `enabled` If the library is not found, stop the installation  
196 `disabled` Do not look for the library  
197
198 Uninstall:  
199 `sudo ninja -C build uninstall`
200
201 Install new version:  
202 `sudo ninja -C build uninstall`  
203 `git pull`  
204 `ninja -C build install`
205
206 #### Note
207
208 It is recommended to always use `git clone  git://git.geeqie.org/geeqie.git` to download Geeqie. After installing Geeqie you may delete the folder you have cloned Geeqie into.
209
210 However if you leave the folder intact, whenever new features or patches are available, execute:
211
212 `sudo ninja -C build uninstall; git pull; ninja -C build install`
213
214 Only the changed sources are downloaded, which makes this a quick operation.
215
216 Your configuration file, history file and desktop files are not affected by this process.
217
218 ### Notes and changes for the latest release
219
220 See the NEWS file in the installation folder, or [Geeqie News at GitHub](https://github.com/BestImageViewer/geeqie/blob/master/NEWS)
221
222 And either the ChangeLog file or [Geeqie ChangeLog](http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=shortlog)
223
224 ### Required libraries
225
226 Required libraries for a Debian installation may be listed by:
227
228 ```sh
229 wget https://raw.githubusercontent.com/BestImageViewer/geeqie/master/geeqie-install-debian.sh
230 chmod +x geeqie-install-debian.sh
231 ./geeqie-install-debian.sh --list
232 ```
233
234 ### Code hackers
235
236 If you plan on making any major changes to the code that will be offered for
237 inclusion to the main source, please contact us first - so that we can avoid
238 duplication of effort.
239
240 ### Known bugs
241
242 See the Geeqie Bug Tracker at <https://github.com/BestImageViewer/geeqie/issues>
243
244 ### Windows
245
246 Geeqie can be run on Windows 11 (and possibly Windows 10) via Windows Subsystem for Linux (WSL2).
247
248 If the Ubuntu distribution is loaded by WSL, Geeqie can be run as an Ubuntu package or as an extracted AppImage. Geeqie can also be compiled from sources.
249
250 Note that some icons are not displayed correctly, and Help and Print do not work. However the Help manual is available [on-line](https://www.geeqie.org/help/GuideIndex.html)
251
252 [image_ref_geeqie_png]:
253 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1AsQCA8Zj1J3oAAADHhJREFUeNrtmntsW9d9xz+Xly9RpChRtkhR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