Source: imagej
Version: 1.54g-1
Severity: normal
Tags: patch
Dear Maintainer,
The desktop file for ImageJ is missing this line (see attached patch):
StartupWMClass=ij-ImageJ
This is required for the ImageJ icon to be shown in the GNOME 3 dock.
Background information for the curious:
https://specifications.freedesktop.org/desktop-entry/latest/recognized-keys.html#StartupWMClass
https://discussion.fedoraproject.org/t/how-to-ensure-a-launcher-icon-gets-linked-to-the-application-it-launches/67688
https://askubuntu.com/questions/1553339/launch-icon-displays-config-icon-rather-than-specific-icon
https://github.com/flathub/com.google.Chrome/issues/446
-- System Information:
Debian Release: 13.6
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.95+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- original
+++ modified
@@ -42,3 +42,4 @@
Icon=imagej1
Categories=Graphics;Science;Biology;Education;ImageProcessing;
MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-fits;image/x-png;image/x-psd;image/x-xbitmap;application/dicom;
+StartupWMClass=ij-ImageJ