Skip to content

FAQ

Can I move around with vim keys (h, j, k, l)?

Section titled “Can I move around with vim keys (h, j, k, l)?”

Yes: Glimt lets you give any action your own keys.

In Preferences → Keyboard, Change gives an action the next key you press, and Reset gives it its default keys back. Change gives one key, which replaces the action's default keys: give Next the key L, and Space and → no longer go to the next image.

In the config file, an action can have several keys. Quit Glimt, and put this line in ~/.config/glimt/config (or change the line that starts with keys=, if there is one):

keys=Next=L;Next=J;Next=Space;Next=ArrowRight;Next=ArrowDown;Previous=H;Previous=K;Previous=Backspace;Previous=ArrowLeft;Previous=ArrowUp;First=G;First=Home;Last=Shift+G;Last=End
Key Does
l, j Next image (Space and the arrow keys still work)
h, k Previous image
g First image (Glimt has single keys, so not vim's gg)
G (Shift+G) Last image

Good to know:

  • Your own keys win over the defaults of other actions. With the line above, K (the histogram), J (logarithmic histogram), L (next layout), G (thumbnails in the image area) and Shift+G (the view filter) no longer do that; they are still in the View menu, and can get other keys, for example Histogram=Shift+K. Ctrl+H, Ctrl+J and Ctrl+K are not affected.
  • The names of the actions are those in the config file: Next, Previous, First, Last, ZoomIn, ZoomOut, FullScreen and so on. Preferences → Keyboard and Help → Keyboard Shortcuts list every action with its keys. Every action can get a key, also one without a default key, such as Toolbar or OpenWith.
  • Old names. glimt --check-config names a line with an action or setting name that is no longer read. 0.107.0 renamed ThumbnailGrid to ImageAreaGrid (a keys= line with the old name is read and saved with the new one; --remote run takes only the new one). The changelog lists every rename.
  • q already leaves full screen and closes dialogs; Ctrl+Q quits.
  • / puts the cursor in the file name search, as in vim.

Sort by name puts the names in byte order, so 1 comes before 2 whatever follows it. Choose Sort by number in the status bar: numbers in names are then compared by value, and a(1), a(2) … a(10) … a(100) come in that order. The choice is kept.

Why does the list not show the subfolders, or forget that it did?

Section titled “Why does the list not show the subfolders, or forget that it did?”

View → Include Subfolders lists the images of every folder below, with their folders in the name. It is kept across starts like the other View settings. A script can set it with glimt --remote subfolders on or off. File → Open Folder Recursive… opens a folder with it on.

A link to a folder is followed only when it leads to a folder inside the one opened, so a downloaded folder cannot bring your other folders into the list, where Select All and Delete would reach them. A folder on another drive or a NAS that is linked from the tree is therefore not listed: open that folder itself, or several folders at once (glimt ~/Pictures /mnt/nas/Photos).

Why is a Windows share or NAS slow, and how do I make it faster?

Section titled “Why is a Windows share or NAS slow, and how do I make it faster?”

A share opened as smb:// (in Glimt, the file manager or Other Locations) goes through GVfs: every read passes from Glimt through a FUSE folder under /run/user/…/gvfs to the GVfs daemon, and from there to the server, one request at a time. That is fine for a few photos, but a folder of thousands, with its thumbnails and EXIF dates, waits in that one line.

The kernel's own SMB client (CIFS) mounts the share as an ordinary folder instead. It sends many requests at once and caches what it has read, so a large folder lists, sorts and fills its thumbnails several times faster. Glimt needs nothing changed for it: open the folder like any other. The Flatpak reaches it too.

Once, by hand (Debian and Ubuntu: sudo apt install cifs-utils; Fedora: sudo dnf install cifs-utils):

Terminal window
sudo mkdir -p /mnt/nas
sudo mount -t cifs //nas.local/photos /mnt/nas \
-o username=YOU,uid=$(id -u),gid=$(id -g)

At every start, put the user name and password in a file only root can read, /etc/nas-credentials:

username=YOU
password=SECRET

(sudo chmod 600 /etc/nas-credentials), and this line in /etc/fstab, with your own user id and group id (id -u, id -g, often 1000):

//nas.local/photos /mnt/nas cifs credentials=/etc/nas-credentials,uid=1000,gid=1000,_netdev,nofail,x-systemd.automount 0 0

Then sudo systemctl daemon-reload and open /mnt/nas. x-systemd.automount mounts the share the first time a program looks in the folder, so a NAS that is asleep or a VPN that is not up does not hold up the start of the computer, and nofail lets the computer start without it. When the server is too old for the kernel's default, add vers=3.0 (or vers=2.1).

Good to know:

  • Marks, stars and collections follow the path. A photo marked while the share was opened through GVfs has another path under /mnt/nas, so its marks and stars do not show there. Keywords, comments and stars saved to its sidecar do, as the sidecar lies beside the photo.
  • A share that stops answering does not hang the window either way; see Troubleshooting.
  • Delete asks to delete for good when the share has no trash that Glimt may write to.

Why are my RAW files, or videos, missing from the list?

Section titled “Why are my RAW files, or videos, missing from the list?”

The Types menu in the status bar (All types) says which kinds are listed: images, camera RAW files and videos. Files whose names start with a dot show with View → Show Hidden Files; while they are hidden, Rename, Rename Many, New Folder and Rename Folder refuse a new name that starts with a dot, so no file vanishes from the list. A RAW file or a video opened directly, glimt photo.CR2, is shown with its folder even when its kind is off; the next folder goes by the menu again.

Why does the mouse wheel zoom instead of going to the next image?

Section titled “Why does the mouse wheel zoom instead of going to the next image?”

Zooming is the default. Turn it off in Preferences → Image → Mouse wheel zooms: the wheel then goes to the next and previous image, and Ctrl+wheel zooms.

Esc and Q stop the slideshow and leave full screen, and close a dialog; they never quit, so a key pressed one time too many does not end a slideshow session. Ctrl+Q quits. A kiosk (glimt --kiosk) refuses even that: only glimt --remote quit ends it, or Ctrl+Q where remote control cannot work.

Not without being asked. Browsing, zooming and turning an image write nothing. A turn is saved into the file only when you ask: Edit → Orientation → Save Orientation to File for the shown image, or Save rotation to the file in Preferences → Image for every change of image (a JPEG gets an orientation field, PNG and WebP are saved again). Keywords, comments and the alt text go to an XMP sidecar next to the image (photo.jpg.xmp), never into the image; stars go to Glimt's own marks file, and to the sidecar too if you ask. A saved turn also sets the orientation in a sidecar the photo has, so other programs show it turned the same way. Crop and Save As write a new file beside the image and never change the image itself. A file made read-only is never written over: Glimt says "the file is read-only" instead. See Files and privacy.

Yes, one at a time: File → Save As… (Ctrl+Shift+S) saves the shown image as JPEG, PNG or WebP, at its size or smaller (the longest side in pixels, or a percentage), at a quality you choose, and if you tick Remove EXIF and GPS without the camera, date and place, its XMP and its sidecar, for sharing. File → Copy for Sharing… copies many images at once without the tags you leave out: see Can I share photos without the place and camera tags? Edit → Crop… (Shift+C) saves a part you drag out over the image.

Can I share photos without the place and camera tags?

Section titled “Can I share photos without the place and camera tags?”

Yes: select them and choose File → Copy for Sharing…. It copies JPEG, PNG and WebP images into a folder you choose, without the groups of tags you leave out (place, camera and lens, date and time, photographer and copyright, software, keywords, comment and alt text, the preview) or single tags; Remove All leaves out every one. The pixels, the orientation and the colour profile stay as they are, and the originals are never changed. A copy keeps the original's file name, which can hold the date, unless you tick File name: the copies are then named image-1.jpg, image-2.jpg and so on. When images from several folders have the same name, as with View → Include Subfolders, the dialog says how many, and the copies can be named NAME-2.EXT instead of being left out. Sharing without the metadata says more.

For one image at a smaller size or in another format, use File → Save As… with Remove EXIF and GPS instead.

In ~/.local/share/glimt/collections, as .gqv files, which other viewers open too. A file renamed or moved in Glimt keeps its place in every saved collection, not only in the one open. A plain list of file names (.txt, .m3u) works as a collection too: Glimt never changes one you open, and File → Save List As… writes a new one.

Glimt crashed (or the power went) in the middle of Rename Many. What now?

Section titled “Glimt crashed (or the power went) in the middle of Rename Many. What now?”

Nothing is lost. Rename Many writes its plan to disk before it starts and marks each step done; at the next start Glimt tells that it was cut short and offers to finish the renaming or put the old names back, and marks, stars and collections follow the files either way. When every name was done and only the marks had still to follow, the next start lets them follow without asking. Files under a hidden .glimt-rename-… name are the ones in the middle of a step. When another program changed a photo since, the names cannot all be put right: save the list and leave the names.

It finishes what it is writing: copies, moves and renames, a turn being saved, keywords, the settings. The status bar shows what it waits for. A Copy or Move that you close the window right after is done too. A second close stops the file operation after the file at hand (a Rename Many puts back the names it did) and then waits for that; a third ends at once.

A logout, a session manager or kill closes Glimt the same way: SIGTERM and SIGHUP count as Ctrl+Q, so a logout waits for a move that is running, and the marks follow the moved files. A second signal stops after the file at hand, and a third ends Glimt at once (exit status 143), also while it waits for a write to a share that stopped answering. SIGKILL (kill -9) always ends it at once, halfway through a job; the next start puts right what it can of that job: Rename Many offers to finish, the marks follow the files a Move had moved, and those of files a Delete or Move to Trash had already removed are forgotten, and those files wait until it has. When it cannot tell where a file went, because the card the job worked on was taken out or swapped, it keeps the job's log and the marks for a later start, says so, and changes none of those files until then; the name of a photo that was being deleted for good waits until the start after. A signal that was ignored when Glimt started stays ignored, so nohup glimt outlives its terminal.

As little as it can: every image is decoded to the size it is shown at, and at full resolution only when you zoom in. Preloading of the next and previous images has a fixed budget, set under Preferences → Memory and CPU. One image may take at most 512 MB to decode, and all the images being decoded at once (the view, the thumbnails, printing, Check Images) at most 2 GB together, so a broken or hostile file cannot take the computer's memory. The program of an added format may take at most 4096 MB, which Preferences → Memory and CPU can raise. A folder of 500,000 files lists as fast as one of ten, and the file list draws only the rows on the screen.

A tool or my video player does nothing in the Flatpak

Section titled “A tool or my video player does nothing in the Flatpak”

The Flatpak brings its own programs (the file dialog, ffmpeg, sqlite3) and uses the desktop's portals for the trash, printing and Open With, so nothing needs installing on the host. Your own programs are on the host, though: tools, added formats, a video player of your own, the applications listed under Open With, and network shares (smb://, sftp://). The Flatpak may reach the host only after you allow it once:

Terminal window
flatpak override --user --talk-name=org.freedesktop.Flatpak io.github.thornbux.Glimt

Until then Glimt says so instead of running them, and Open With offers the desktop's own application chooser.

AppImage or .deb/.rpm: which should I take?

Section titled “AppImage or .deb/.rpm: which should I take?”

The .deb or .rpm if your distribution takes them: the menu entry, icon and man page come with it. There is no package repository yet, so a new release is downloaded and installed the same way. The AppImage is one file that needs no installing, for a quick try or a machine you do not administer. Both have every format built in; see Download. A Flatpak, and Glimt on Flathub, come with 1.0; the releases 0.108.0 to 0.113.0 had a Flatpak bundle, and the two answers here about the Flatpak are for it.

I use the Flatpak. What should I know about my data?

Section titled “I use the Flatpak. What should I know about my data?”

The Flatpak keeps Glimt's own files apart from a package's, under ~/.var/app/io.github.thornbux.Glimt/; Files and privacy says what is in each. Three things follow from that:

  • Back it up. Some backup setups leave out ~/.var. File → Back Up Glimt's Data… copies the right folders, also in the Flatpak, and flatpak run io.github.thornbux.Glimt --back-up FOLDER does it from a timer; see Backup for what the sidecars beside your photos hold.
  • flatpak uninstall --delete-data deletes it all: marks, collections, and stars not written to the sidecars. Back up first.
  • A package and the Flatpak do not share it. Moving from the .deb, .rpm or AppImage to the Flatpak, or back, starts with no marks or collections. Close Glimt and copy the folders over:
Terminal window
F=~/.var/app/io.github.thornbux.Glimt
mkdir -p $F/config/glimt $F/data/glimt $F/.local/state/glimt
cp -r ~/.config/glimt/. $F/config/glimt/
cp -r ~/.local/share/glimt/. $F/data/glimt/
cp -r ~/.local/state/glimt/. $F/.local/state/glimt/

The sqlite3 the Flatpak brings is only for reading a Lightroom catalog: Glimt keeps nothing in a database. Thumbnails are the host's cache, shared with a package Glimt.

Yes: glimt --remote next, previous, first and last; slideshow, random and fullscreen (each with on or off, or alone to switch); subfolders on|off, open PATH, title TEXT, name NAME, identify, select FILES…, current, selection, info [FILES…], quit, and run ACTION for any action that changes no file, such as run ZoomIn (glimt --action-list lists them), which does nothing while a dialog asks you or you type in a text field; --remote-all sends to every window, and --name tells windows apart. No remote command changes, moves or deletes a file. Scripts and AI says what info prints, how windows are named and what waits after open; the command line lists every option.

Yes, and it is welcome. Glimt speaks English and fourteen more languages (Czech, Danish, Dutch, Finnish, French, German, Icelandic, Italian, Norwegian bokmål and nynorsk, Polish, Brazilian Portuguese, Spanish and Swedish). Only Norwegian bokmål has been read by someone whose language it is. The other thirteen are machine translations, marked as such in their files, so a correction from someone who speaks one of them is especially welcome. For a new language, copy po/glimt.pot to po/<code>.po (for example po/pt.po), fill in its header and write a translation under each text; its first lines say how. A text left empty shows in English. Then open a pull request, or an issue with the file attached. An improvement to a language already there is welcome the same way, by editing its file in po/. The manual (F1) stays in English. See Translating Glimt.

Yes. View → Theme → Save as Theme… writes the current colours and settings as a .theme file in ~/.config/glimt/themes, which the Theme menu lists; edit the file and choose the theme again to see the change. The built-in themes (Dark, Light, Nord, High Contrast, High Contrast Light, Desktop) are the examples to start from, and View → Theme → Get More Themes… opens the themes in Glimt's repository.

Yes. Glimt is developed with AI assistance: the code, tests and documentation are written with Claude (Anthropic), under the maintainer's direction. Every change is planned and decided by the maintainer, tested by unit tests and the release tests, and audited by an independent review before a release is tagged. The rules every change follows are in AGENTS.md.