# Geeqie Readme

GitHub Code Status:

Package Status:

## Geeqie - an image viewer

This is Geeqie, a successor of GQview.

Geeqie is a free open software image viewer and organiser program for Linux, FreeBSD and other Unix-like operating systems

It can be used as a simple database-free image viewer but it also has extensive capabilities.

Please send any questions, problems or suggestions to the mailing list or open an issue on Geeqie at GitHub.

(NB Unless you first subscribe to the mailing list, you will not receive automated responses)

Subscribe to the mailing list here.

The project website is https://www.geeqie.org/ and you will find the latest sources in the Geeqie repository.

## Contents

- Features
- Downloading
- AppImages
- Snaps
- Installation Scripts
- Compiling and Installing
- Notes and changes for the latest release
- Required libraries
- Translators
- Windows

### Features

Geeqie is a graphics file viewer. Basic features:

- Single click image viewing / navigation.

- Zoom functions.

- Thumbnails, with optional caching and .xvpics support.

- Multiple file selection for move, copy, delete, rename, drag and drop.

- Thumbnail preview of the destination for move, copy and rename functions.

- On-the-fly renaming for move and copy functions, with formatted and auto-rename features.

- File grouping (an image having jpeg, RAW and xmp files will appear as a single entity).

- Selectable exif auto-rotation of images.

- Single click file copy or move to pre-defined folders - with undo feature.

- Drag and drop.

- Collections.

- Support for stereoscopic images

  - input: side-by-side (JPS) and MPO format
  - output: single image, anaglyph, SBS, mirror, SBS half size (3DTV)

- Viewing raster and vector images, in the following formats:

  - 3FR ANI ARW AVIF BMP CR2 CR3 CRW CUR DDS DJVU DNG ERF EXR FIT FITS FTS GIF GQV HEIC HEIF ICO JP2 JPE JPEG JPG JPS JXL KDC MEF MOS MPO MRW NEF NPY NRW ORF PBM PDF PEF PGM PNG PNM PPM PSD QIF QTIF RAF RAW RW2 SCR SR2 SRF SVG SVGZ TGA TIF TIFF WEBP XBM XPM.
  - Display images in archive files (.ZIP, .RAR etc.).
  - Animated GIF and WEBP files are supported.

- Preview and thumbnails of video clips can be displayed. Clips can be run via a defined external program.

- 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.

- Pan(orama) view displays image thumbnails in calendar, grid, folder and other layouts.

- All available metadata and Exif/IPTC/XMP data can be displayed, as well as colour histograms and assigned tags, keywords and comments.

- Selectable image overlay display box - can contain any text or meta-data.

- Panels can be docked or floating.

- 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.

- 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.

- 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.

- Geeqie supports applying the colour profile embedded in an image along with the system monitor profile (or a user-specified monitor profile).

- Geeqie sessions can be remotely controlled from external software, so it can be used as an image-viewer component of a bigger application.

- 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.

- Images may be given a rating value (also known as a “star rating”).

- Maps from OpenStreetMap 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.

- 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 (`GQ_CACHE_MAINTENANCE=y geeqie --cache-maintenance=&lt;path&gt;`) 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.

- Extensible via plugins

### Downloading

Geeqie is available:

- as a package for Linux and BSD systems (See the project web page).

- as a flatpak from the Flathub site.

- as an AppImage - x86_64 and arm64 (Generated from the latest sources).

- as a Homebrew or MacPorts package for macOS.

- as a Snap (x86_64 only) from the Snapcraft site (Edge channel).

- via WSL2 on Windows 11 - see notes below.

### AppImages

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.

The minimal version can display jpegs, pngs and some other formats, but does not have the range of the full version.

This script file will download to `$HOME/bin` the latest Continuous Build AppImages for you:

    wget https://raw.githubusercontent.com/BestImageViewer/geeqie/master/tools/geeqie-download-appimage.sh
    chmod +x geeqie-download-appimage.sh

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.

The full version takes a noticeable time to load, and runs slightly slower than a normal packaged release. The above script has the option `--extract` which extracts the contents of either AppImage to a sub-directory under `$HOME/bin`. With this option the loading and run time is the same as for a packaged release.

There are also options to install desktop icons, menu items, and to revert to earlier downloaded versions.

AppImages have a “portable mode” which is described here.

Note:

Command line auto-completion does not work with AppImages. If you are using the AppImage `--extract` option, this is a work-around.

Assuming you have extracted the AppImage to `$HOME/bin/Geeqie-latest-x86_64-AppImage/`, create a symbolic link as follows:

    mkdir --parents $HOME/.local/share/bash-completion/completions/
    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

Note:

Calling an extracted AppImage (`./squashfs-root/AppRun`) via a symbolic link does not work. The script `geeqie-download-appimage.sh --extract` will fix the problem for you. Otherwise create an intermediate script e.g.

    geeqie-symbolic.sh
    #!/bin/sh
    cd ./squashfs-root
    ./AppRun

### Snaps

Snaps run in a sandboxed environment which prohibits access to, amongst other areas, hidden folders in the `$HOME` folder.

If you have already run Geeqie with some other installation type and now want to migrate to a Snap, some significant data will not be available. That data is in:

    $HOME/.config/geeqie (Configuration files)
    $HOME/.local/share/geeqie (Collections and local Metadata)

You may copy this data to the sandboxed area used by Geeqie by running these commands:

    cp -avr "$HOME/.config/geeqie/." "$HOME/snap/geeqie/common/.config/geeqie/"
    cp -avr "$HOME/.local/share/geeqie/." "$HOME/snap/geeqie/common/.local/share/geeqie/"

Thumbnails and similarity data will also not be available. You must regenerate them or copy them manually from whichever folder they are stored in to a folder under:

    $HOME/snap/geeqie/common/.cache

### Installation scripts

Geeqie is stable and you may compile the latest version from sources.

There are two scripts which will download and compile the sources for you.

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. To get the script, from the command line type:

    wget https://raw.githubusercontent.com/pixlsus/Scripts/master/build-geeqie
    chmod +x build-geeqie

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. To get the script, from the command line type:

    wget https://raw.githubusercontent.com/BestImageViewer/geeqie/master/geeqie-install-debian.sh
    chmod +x geeqie-install-debian.sh

If you wish to compile the sources yourself you may download the latest version (if you have installed git) from here:

`git clone http://git.geeqie.org/git/geeqie.git`

### Compiling and Installing

    meson setup build
    ninja -C build install

List compile options:

    meson configure build

Apply options e.g.:

    sudo ninja -C build uninstall
    meson configure build -Dpdf=enabled -Dwebp=disabled
    ninja -C build install

Re-display configuration data:

    ninja -C build reconfigure

Meaning of options:
`auto` If the library is not found, continue the installation
`enabled` If the library is not found, stop the installation
`disabled` Do not look for the library

Uninstall:

    sudo ninja -C build uninstall

Install new version:

    sudo ninja -C build uninstall
    git pull
    ninja -C build install

#### Note

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.

However if you leave the folder intact, whenever new features or patches are available, execute:

`sudo ninja -C build uninstall; git pull; ninja -C build install`

Only the changed sources are downloaded, which makes this a quick operation.

Your configuration file, history file and desktop files are not affected by this process.

### Notes and changes for the latest release

See the NEWS file in the installation folder, or Geeqie News at GitHub

And either the ChangeLog file or Geeqie ChangeLog

### Required libraries

Required libraries for a Debian installation may be listed by:

    wget https://raw.githubusercontent.com/BestImageViewer/geeqie/master/geeqie-install-debian.sh
    chmod +x geeqie-install-debian.sh
    ./geeqie-install-debian.sh --list

### Translators

Please see file `./TRANSLATORS.md`.

### Code hackers

If you plan on making any major changes to the code that will be offered for inclusion to the main source, please contact us first - so that we can avoid duplication of effort.

### Known bugs

See the Geeqie Bug Tracker at https://github.com/BestImageViewer/geeqie/issues

### Windows

Geeqie can be run on Windows 11 (and possibly Windows 10) via Windows Subsystem for Linux (WSL2).

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.

Note that some icons are not displayed correctly, and Help and Print do not work. However the Help manual is available on-line