It regularly happens to me that I press the darktable icon to start it. Often darktable’s UI comes up normally and I start to work. But not always.
When this happens darktable is active as it’s process is visible in the System Monitor. It is functioning as it makes thumbnails in the background when needed. But I cannot access it. What I do is kill the darktable process and start anew. Usually it then works OK.
I have no trustworthy recollection about how or when this behavior started.
Does anybody know this and how to correct this?
Kind regards, Jetze
I’m on Ubuntu 24.04.3 // darktable 5.3.0+892~g3de2c7950f // I run darktable from a AppImage
How do you start the appimage? From terminal? If so, there should be output to help you finding the reason. If there is not enough output, the next step is to start it with the debug option (common should be enough I hope): -d common
I started darktable from CLI with the same command as is in the .desktopfile and added ‘-d common’ to it: "/home/jetze/.config/Darktable-PPR-AppImage/Darktable.AppImage" --configdir ~/.config/darktable-productie/ -d common
This time it did show its UI and after a short while I closed darktable with Ctrl-Q. I do not know if I can provoke the same behaviour in this way so will play around and start darktable a couple of times to see if I can.
Output at Opening darktable
darktable 5.3.0+892~g3de2c7950f
Copyright (C) 2012-2025 Johannes Hanika and other contributors.
I don’t know what logs darktable is writing into /tmp. But these are not the ones we need.
If you compare it to the output you posted above, when you started from cli, you see it is a completely different output. There you can see your environment and errors when trying to load modules.
I’m not a coder, but usually I get enough information from this output, to get an idea what’s wrong.
Your appimage starts so it is compatible. That there are some errors is not necessarily a problem. You need the output from a run, where it doesn’t start properly. Everything else is just guessing.
do you happen to know how I may gather this sort of output when using an AppImage and starting it through a Desktopfile. I failed there.
Otherwise I will easily follow @Popanz advise and start from CLI. But I have the idea this behavior where no UI comes up might find it’s cause somewhere around the Desktopfile as I could not provoke it by starting darktable quite often via CLI.
Thanks @Sulphur, this gives me the same result as yesterday in the sense that when starting darktable from CLI I get the required output.
What I hope to accomplish is a little different: I want to change the exec line in de Desktopfile so that I get this output. And there I cannot get it to work.
My exec line is like this now:
Exec=“/home/jetze/.config/Darktable-PPR-AppImage/Darktable.AppImage” --configdir ~/.config/darktable-productie/ -d common >/tmp/dtlog.txt 2>&1
And I do not get output.
The contents of the whole Desktopfile for clarity
[Desktop Entry]
Name=Darktable-productie
GenericName=Virtual Lighttable and Darkroom
Comment=Organize and develop images from digital cameras
Version=1.0
Type=Application
Categories=Graphics;Photography;GTK;
TRANSLATORS: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=graphics;photography;raw;
Exec=“/home/jetze/.config/Darktable-PPR-AppImage/Darktable.AppImage” --configdir ~/.config/darktable-productie/ -d common >/tmp/dtlog.txt 2>&1
Terminal=false
StartupNotify=false
MimeType=application/x-darktable;image/x-dcraw;image/x-adobe-dng;image/x-canon-cr2;image/x-canon-crw;image/x-fuji-raf;image/x-kodak-dcr;image/x-kodak-kdc;image/x-minolta-mrw;image/x-nikon-nef;image/x-nikon-nrw;image/x-olympus-orf;image/x-panasonic-rw;image/x-panasonic-rw2;image/x-pentax-pef;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/jpeg;image/png;image/tiff;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-portable-floatmap;image/vnd.radiance;image/avif;image/x-canon-cr3;image/x-exr;image/aces;image/heif;image/heic;image/hej2k;image/avci;image/jp2;image/jxl;image/webp;image/qoi;image/fits
Icon=darktable
StartupWMClass=/usr/share/icons/hicolor/scalable/apps/darktable.svg
X-Unity-IconBackgroundColor=#252525