Skip to content

Files and privacy

Glimt sends nothing anywhere: no telemetry, no update checks, no network library in it. It reads the folders you open and writes only the files listed below. The network is used only when you ask: a share you open (through GVfs), and the browser for a photo's place on OpenStreetMap, for Get More Themes or for a link in Help → About Glimt. The desktop is asked for its dark style, accent colour, contrast and screen profile over D-Bus, and GNOME for its text size.

Tools and added formats are programs on your computer, which Glimt starts with the files you chose; Glimt sends their files nowhere. Remote commands reach only your own Glimt windows on this computer, through a private socket; Glimt opens no network port.

What Where
Preferences ~/.config/glimt/config
Keyword tree ~/.config/glimt/keywords, a path such as Places|Norway|Oslo on each line
Own themes ~/.config/glimt/themes/*.theme
Sort manager folders ~/.config/glimt/sort-folders
The window's size and place, and the last folder (when enabled) ~/.local/state/glimt/state
File → Open Recent, unless turned off in Preferences ~/.local/state/glimt/recent
What File → Copy for Sharing left out last time ~/.local/state/glimt/sharing
A job that changes files (Rename and Rename Many, Rename Folder, Move and its Undo, Delete, Move to Trash, Move Folder to Trash, Undo from the trash) while it runs, and after a crash until a start has put it right, so that the marks and stars follow the files ~/.local/state/glimt/jobs/
Marks and stars (until 0.95 in ~/.local/state/glimt/marks, where a link to the new place is left) ~/.local/share/glimt/marks
Collections ~/.local/share/glimt/collections, as .gqv files; a plain list (.txt, .m3u) is written only where you save one with File → Save List As…, and one you open is never changed
Tools of your own ~/.local/share/glimt/tools/*.desktop
Added formats ~/.local/share/glimt/formats/*.desktop
Keywords, comment, alt text and extended description, stars when chosen, and the orientation of a saved turn photo.jpg.xmp beside the image
Remote-control sockets and sidecar locks, only your user can reach them $XDG_RUNTIME_DIR/glimt (the Flatpak's sockets in $XDG_RUNTIME_DIR/app/io.github.thornbux.Glimt/glimt)
Thumbnails, new ones only with "Save new thumbnails" on (the default) ~/.cache/thumbnails, shared with other programs
Saved file lists, only with "Remember file lists for faster loading" on (off by default), in a folder only you can open ~/.cache/glimt/lists

The folders follow XDG_CONFIG_HOME, XDG_STATE_HOME, XDG_DATA_HOME, XDG_CACHE_HOME and XDG_RUNTIME_DIR when they are set. In the Flatpak, Glimt's own folders are under ~/.var/app/io.github.thornbux.Glimt/ (config/glimt, data/glimt and .local/state/glimt, and cache/glimt for the saved file lists), so a Flatpak and a package each have their own settings; the thumbnails are the host's.

Thumbnails are small copies of the pictures. They stay readable in your home folder after the photos are on an encrypted volume or a stick that is taken away, so turn "Save new thumbnails" off in Preferences before looking at such photos.

Saved file lists name the files of each folder you open. They are compressed binary files that only you can read, written only while "Remember file lists for faster loading" is on, which it is not by default. Turn it off before looking at private folders: that removes the lists, as Clear saved lists in Preferences does.

Glimt's own files are plain text (the saved file lists in the cache aside), written to a temporary file and renamed, so a crash never leaves half of one. Beside each file that several windows share, and beside a collection Glimt changes, also one opened from another folder, it keeps an empty hidden lock file, such as .config.lock or .trip.gqv.lock. Several Glimt windows share them: settings, collections, marks and the keyword tree keep what another window wrote meanwhile. A sidecar is written whole, and windows changing the same photo's keywords or stars wait for each other, also a Flatpak window and a package window. A sidecar or a collection that another program writes while Glimt changes it keeps what that program wrote, and Glimt says that its own change could not be saved. An edit of the keywords field changes only the keywords added or taken out there, so keywords that another window or an import wrote meanwhile are kept.

The marks file and a collection keep one name to a line, so a file whose name has a line break cannot be marked, starred or added to a collection: Glimt says so instead of dropping it at the next save.

Copies are new files: Crop, Save As and Copy for Sharing never change the image they start from.

A photo carries more than its picture: the place it was taken (GPS), the camera and lens with their serial numbers, the date, the photographer, and often a preview of the image as it was before you cropped it. Before you publish photos, File → Copy for Sharing… copies the selected JPEG, PNG and WebP images into a folder you choose, without the tags you leave out: whole groups (place, camera, date and time, photographer and copyright, software, keywords, comment and alt text, the preview), single tags of a group, or every one with Remove All. A block that can hold tags of several groups, such as a maker note or a phone's extra images, goes when any of them is left out. Content credentials (C2PA) are never copied, as every copy changes the bytes they vouch for. The pixels are copied byte for byte, and the orientation and the colour profile are always kept, so the copy looks the same. The originals are not changed.

The text Glimt keeps in a sidecar, such as alt text and keywords, goes into the copy's own XMP unless you leave it out, so a description you wrote reaches the published copy. A copy keeps the original's file name, which can hold the date (IMG_20231004_…), unless you tick File name: the copies are then named image-1.jpg, image-2.jpg and so on, numbered past every name in the folder. Remove All ticks it too.

File → Save As… with Remove EXIF and GPS is the choice for a single image at a smaller size or in another format; it leaves out the camera, date and place, the XMP and the sidecar.

The only change Glimt makes inside a photo is a turn you save into it. A file that is read-only, or another user's, is never written over, by a turn, a sidecar, Save As or a collection: Glimt says that the file is read-only instead.

A saved file is a new file under its name. When the file has other names (hard links), Glimt says that those keep the old version once the save went through; a job over many such files says it once, with their count.

A turned PNG or WebP, a sidecar, a file saved over by name and a file moved to another disk keep their extended attributes, as mv does: your own (user.*, where Dolphin and Gwenview keep tags, ratings and comments) and the file's ACL. A copy keeps your own but not the ACL, as cp does.

Renaming, moving, copying, deleting and moving to the trash in Glimt take the sidecar photo.jpg.xmp along, and Undo brings it back. Beside a RAW file, such as IMG_1.CR2, the IMG_1.xmp (or IMG_1.XMP) that Lightroom, Camera Raw, Bridge or Capture One write goes along too, so the next IMG_1.CR2 in that folder does not get its edits and keywords. Glimt neither reads nor changes that file. It is left where it is:

  • beside a DNG or a JPEG, which keep that metadata inside them;
  • when two RAW files share the name, such as IMG_1.CR2 and IMG_1.NEF, unless both are moved together.

A photo and its sidecars go together or not at all. When a sidecar cannot follow, because the target disk has no room for it or it cannot go to the trash, the photo stays where it was, and Glimt says so.

Delete moves files to the trash with gio, or in the Flatpak through the desktop. Without gio, Glimt moves them itself, as the freedesktop.org trash spec says: a file on another disk, such as a USB stick, goes into .Trash/UID or .Trash-UID at the top of that disk, named from there, so it goes back to its own folder wherever the stick is mounted. A network share has no trash, and Glimt asks whether to delete for good instead.

Undo (Ctrl+Z) of a delete waits for the marks and stars to be written, with Stop in the status bar, so the files come back with them; a stopped Undo puts nothing back and can be done again. Files that could not go back, after a delete or a move (a name taken, a share that did not answer), stay to be undone again.

Your marks, stars, collections and keyword tree are in these files, not in the photos: back them up with your photos. File → Back Up Glimt's Data… copies the config, state and data folders, without the thumbnails, which are made again, to a new folder glimt-backup-DATE wherever you choose. glimt --back-up FOLDER does the same without a window, from cron or a systemd timer. They are plain text, which any program can read. To restore, close Glimt and copy them back:

Terminal window
cp -r glimt-backup-2026-10-16/config/. ~/.config/glimt/
cp -r glimt-backup-2026-10-16/state/. ~/.local/state/glimt/
cp -r glimt-backup-2026-10-16/data/. ~/.local/share/glimt/

For the Flatpak, copy them back into its three folders under ~/.var/app/io.github.thornbux.Glimt/. A backup made by Glimt 0.95 or older has the marks file in state/, and a marks file in the data folder would be used in its place, so copy it to the data folder as well:

Terminal window
mkdir -p ~/.local/share/glimt
cp glimt-backup-2026-10-16/state/marks ~/.local/share/glimt/marks

Keywords, comments and alt text are in the XMP sidecars beside the photos, so a backup of the photo folders takes them along. Glimt keeps no database of its own: a Lightroom catalog is Lightroom's, which Glimt only reads.

Glimt is free software under the MIT licence. The source is on GitHub.