Skip to content

Troubleshooting

Glimt writes what goes wrong to the terminal: start it from one (glimt ~/Pictures) to see it.

  • No window opens. The window needs OpenGL (EGL), xkbcommon and the X11 or Wayland libraries, which the .deb and .rpm install since 0.87.0. With the .tar.gz or the AppImage on a minimal system, install libegl1, libxkbcommon-x11-0, libx11-xcb1, libxcursor1, libxrandr2 and libxi6 (Debian, Ubuntu) or libglvnd-egl, libxkbcommon-x11, libX11-xcb, libXcursor, libXrandr and libXi (Fedora, RHEL). To try X11 instead of Wayland, run env -u WAYLAND_DISPLAY glimt.
  • The AppImage does not start and speaks of FUSE: install fuse3 (or fuse), or run it with --appimage-extract-and-run.
  • HEIC, AVIF or videos show nothing. They are decoded by ffmpeg, which must be installed; HEIC needs ffmpeg and ffprobe 8.0 or newer, and AVIF an ffmpeg built with dav1d.
  • Open, Copy or Move show no dialog. Install zenity (or kdialog on KDE).
  • Network shares do not open: install gio (glib, in libglib2.0-bin on Debian and Ubuntu) and GVfs. Delete to the trash works without gio: Glimt moves the files into the trash itself, on another disk such as a USB stick into .Trash/UID or .Trash-UID at its top.
  • A network share stays at Connecting…. Glimt gives up after a minute ("No answer from the server in a minute"): wake the NAS or start the VPN, then open it again. Every program Glimt asks something of has a time limit like that: ffmpeg, ffprobe, sqlite3, the Open With list, lp.
  • A network share says the server is unknown. Many home servers are found only by their .local name or their address: try smb://nas.local/share or smb://192.168.1.10/share.
  • A network or cloud folder is slow, or misses changes. A folder on smb://, sftp://, NFS or an rclone or s3fs mount is slow the first time, while its images and thumbnails come over the network. Changes made there from another computer show when the mount reports them; an rclone or s3fs mount can keep its listing for minutes: press F5 to read it again now. A Windows share or NAS is much faster mounted with CIFS than opened as smb://: see the FAQ. While a tree is read, the status bar counts the folders and images read so far, and a thin line pulses at the bottom of the file list, so you can see that it moves. Remember file lists for faster loading (Preferences) shows a folder's list from the last time at once.
  • A share stopped answering (a NAS gone to sleep, Wi-Fi lost). The window does not hang: opening a folder, a file or a collection, Open Recent, the size and date columns, the status bar's file size, editing a collection and Copy or Move to a folder look at the disk in the background. A folder that takes more than three seconds to open says that it is still opening. Open another folder to leave the silent one, and with "Start in the last used folder" on in Preferences, the next start opens its window at once.
  • Delete on a network or cloud folder, or a virtual machine's shared folder (virtiofs, VirtualBox), asks to delete for good. There is no trash there, so Glimt asks whether to delete the files for good instead of only showing an error. Nothing is deleted unless you say so.
  • "…may be under both names or only at…; check both before removing either". A share (NFS, SMB, sshfs) did not answer whether it removed the old name of a moved or renamed file. Glimt keeps both names rather than guess, so no photo is lost. Look at both: if the photo is at both, remove one; if only at the new name, nothing is left to do.
  • A turn is not saved: "the file looks incomplete". The file was still being copied in, or it is cut short. Wait until the copy is done and turn it again.
  • A rename on a share, cloud folder or phone fails. Where the file system has neither a safe rename nor hard links (rclone, s3fs, a phone), Glimt looks first that the new name is free, then renames. A rename the file system still refuses is told in plain words with the mount's type (fuse.rclone, cifs …).
  • A rename, copy or move onto a camera card is refused. FAT and exFAT allow none of : ? * " < > | \ in a name. Rename, Rename Many, renaming a folder, Copy, Move and the sort manager's buttons say so before doing anything, and Rename Many's preview warns as you type, for example for a pattern that puts a time with : in the name. An exFAT card mounted through FUSE (fuseblk, not the kernel's own exFAT) is known only where udev's data can be read, so not in the Flatpak: there the card's own error, "Invalid argument", tells instead.
  • Saving says "the file is read-only". A file without a write bit, or another user's, is never written over: not by a saved turn, its sidecar, Save As, a collection or Print to File. Make it writable (chmod u+w photo.jpg) if you mean to change it, or save under another name.
  • Rename or Rename Many says "Could not save the plan of the renames …, so nothing was renamed". Glimt saves the plan of the renames in ~/.local/state/glimt/jobs/ before it renames anything, so that a crash can be put right. Most often the home disk is full: make room and rename again.
  • A Rename Many cut short is asked about at every start. When another program changed a photo since, Glimt refuses to put the names right, and the question offers Save the list… (as a .txt or .m3u file) and Copy the list: each line names a file as it is now, then the name it was to get. Once the list is saved or copied, Leave the names as they are ends the question, and you rename those files by hand.
  • A keyword, stars, a rename or a delete says "another file has taken its name: the folder is read again". Another program, or another window's Rename Many, renamed files in the folder since Glimt read it. Glimt does not put the change on the photo now at that name, and reads the folder again: look at the file and do it again. FAT and exFAT cards are not told apart this way.
  • A Move, Copy or Move to Trash says that a photo "stays where it was, with its sidecar". A photo and its sidecars go together or not at all: when a sidecar could not follow, for example onto a disk with room for the photo alone, the photo is put back and the message names the sidecar and why.
  • After a crash or power cut during a Copy, a hidden .glimt-tmp-… file is in the target folder. It is the copy of a photo, whole, that had not yet taken its name; its sidecars are already beside the name it was to get. Rename it to that name (show hidden files with View → Show Hidden Files), or delete it and the sidecars and copy again. The original was not touched.
  • Print to File says "Not saved over an image: choose a name ending in .pdf". A PDF is never saved under an image's name, such as a.jpg: give it a name ending in .pdf.
  • A tool leaves out some of the selected files. Its desktop file has MimeType=, and those files are of another type. The types are shared-mime-info's own names, not their aliases or parent types: add the type of the files it should take, or image/*.
  • An action says "Still working on these files: try again in a moment". Glimt starts no file operation on a folder or collection before it has read it whole, nor on files that a job still changes, nor on the files of a list remembered from last time, until the folder is read: wait a moment. Marks or stars on a collection's entries are refused until the collection is read too. A mark, stars or a change of a collection on files that a Rename or Rename Many has just renamed waits too, until their marks and collection entries have followed the new names; while an Add to Collection is written, its files are not moved, renamed or deleted. Right after a start, every file waits until Glimt has read the logs of the jobs that a crash cut short, and the files those logs name until it has put them right; when such a log names a share that stopped answering, they wait, with the busy pointer, until the share answers. When reading the folder broke off ("Reading the folder stopped unexpectedly"), waiting does not help: press F5 to read it again.
  • A rename, move, delete, mark or stars says "A job that Glimt stopped during holds these files until a later start can finish it". Glimt was stopped (a crash, kill -9, a power cut) during a Move, a delete or another job on these files, and the start after it could not finish that job: it could not tell that the card or disk the job worked on is the one there now, or a photo was being deleted for good. That start said so, and keeps the job's log, with the marks and stars of its files, so that none of them lands on another file. Until a later start has finished it, Glimt does not rename, move, copy, delete, crop or turn these files, mark or star them, run a tool on them, or put another file at their names; a Crop, Export Frames or Copy for Sharing gives its copy another name. Keywords, comments and alt text are still written to their sidecars. Put the card back if it was taken out, then quit Glimt and start it again.
  • An action says "The search hides files this would act on: clear it first". The selected files are not among the search's matches, and Glimt will not act on the shown image in their place. Clear the search field, or select among the matches.
  • With Include Subfolders, a linked folder is missing. A link to a folder outside the one opened, such as another drive or a NAS, is not followed: open both folders at once, glimt ~/Pictures /mnt/nas/Photos. The FAQ says why.
  • An SVG is not shown. SVGs are drawn in a process of their own, with limits: four times the picture's memory and 512 MB besides, and 30 seconds. One that needs more is told as not shown. Linked pictures show only from the SVG's own folder or below it, at most 32 megapixels each and 96 MB together.
  • A file whose name starts with - does not open. Put -- before it, which ends the options: glimt -- -photo.jpg.
  • A thumbnail is turned or coloured otherwise than the image. Thumbnails made by an older Glimt stay in the cache as they were. Remove ~/.cache/thumbnails to have them made again; other programs make theirs again too.
  • Import Lightroom Catalog says sqlite3 is missing or too old. Install sqlite3 (Debian, Ubuntu) or sqlite (Fedora, RHEL). It must be 3.37 or newer (2021), which reads a catalog in its safe mode; RHEL 8 and other older systems have an older one.
  • An added format shows nothing. The image area shows its program's error: check that the program is installed and run its Exec line by hand on the file. It has 30 seconds and 512 MB of output, and at most 4096 MB of memory (Preferences → Memory and CPU); new formats are seen after a restart. See Tools and formats.
  • A format is not loaded, or a tool gets no files, after 0.80. Its Exec has %f only inside "quotes", as in sh -c "convert %f ppm:-", where it is not the file. Glimt names the desktop file at start and in glimt --check-config. Rewrite it with %f as a word of its own: sh -c "convert \"$1\" ppm:-" sh %f (why).
  • A tool or a format I had is gone after 0.96.0. Since 0.96.0 the old folders, ~/.local/share/glimt/plugins and decoders, and the old header [Glimt Decoder] are no longer read. Glimt says so at start and in glimt --check-config: move the desktop files into tools and formats; see the old folder names.
  • A tool, an added format or your video player does nothing in the Flatpak. They run on the host, which the Flatpak reaches only after a permission given once: see the FAQ.
  • Glimt closes with the terminal it was started from. Start it with nohup glimt, or from the desktop's menu: an ignored SIGHUP stays ignored. Why Glimt waits when it closes says what the signals do.
  • Settings in a strange state. glimt --check-config tells what is wrong in the settings file, line by line, and Glimt tells the first of it when it starts: also a value a setting does not take, such as layout=3x3, which is put back to its default, and an own key in keys= that names no action. With no settings file yet it says that the defaults are used, and exits with 0. Or quit Glimt and remove ~/.config/glimt/config; the defaults come back.

Something else? Open an issue on GitHub.

glimt --remote prints what went wrong on standard error, and its exit status tells a script the same: 0 done, 1 no Glimt runs or none answered, 2 a command that could not be sent (unknown, wrong arguments, or a path that cannot be sent), 3 the window did not do it.

  • glimt: not done: the place is no longer being opened (exit 3). The command waited for a glimt --remote open, and a further open replaced it before the place was looked up, so the command was not done. Send it again once the new place is open. See After open.
  • glimt: not done: its time ran out while it waited (exit 3). The command waited behind a place being opened, a listing or a dialog until its time was nearly up, and was not done, so a script can send it again.
  • glimt: not done: no answer (exit 3). The window took the command but could not do it within 10 seconds, most often because it still waits for a place on a share that stopped answering. Wake the share, or send open with another place, and try again.
  • glimt: no answer from … (exit 1). The window did not answer within 10 seconds, for info within 10 seconds of the file before. Try again in a moment. With --remote-all, a window that does not answer while another did gives exit 3, not 1, so a script that tries again on 1 does not do the command twice in the windows that did it.
  • glimt: not done: and a failed write (exit 3), after glimt --wait --remote: a file the command or other work in the window changed could not be written, or the window closed before its writes were done. The window shows the failure too. See Waiting for the work.
  • glimt: not done: with another reason (exit 3): a run refused while a dialog asks you or a text field has the focus, by a kiosk, or with no image to act on. The reason says which.
Needed for Program Without it
Showing images OpenGL 3 (Mesa, EGL), xkbcommon, Wayland or X11 no window
Open / Copy / Move dialogs zenity kdialog
Move to trash gio (glib); in the Flatpak, the desktop portal Glimt moves the files itself (.Trash/UID or .Trash-UID on another disk), but not on a network share
Open With gio; in the Flatpak without the host permission, the desktop's application chooser xdg-open (default application only)
smb://, sftp:// shares gio mount (GVfs) mount the share yourself
HEIC, AVIF, video ffmpeg, ffprobe not shown
Import Lightroom Catalog sqlite3, 3.37 or newer the import says that sqlite3 is missing or too old
Printing lp (CUPS); in the Flatpak, the desktop's print dialog Save as PDF
No screen saver in full screen gnome-session-inhibit or systemd-inhibit; in the Flatpak, the desktop portal the screen saver may start
An added format the program its Exec line names the image shows the program's error