From 67af47cfddbde630cb03d4367200857d5584277a Mon Sep 17 00:00:00 2001 From: Diogo Caveiro <50335724+diogocaveiro@users.noreply.github.com> Date: Wed, 21 May 2025 10:40:19 +0100 Subject: [PATCH] Fix generic Wayland icon on Flatpak On a desktop with KDE Plasma, it was being shown a generic Wayland icon for GPT4All (Flatpak) because it couldn't match the running window to the desktop entry. This was due to the missing StartupWMClass field in the .desktop file. By adding "StartupWMClass=io.gpt4all.chat" the window-class mismatch was fixed and allowed KDE to display the correct icon. Signed-off-by: Diogo Caveiro <50335724+diogocaveiro@users.noreply.github.com> --- gpt4all-chat/flatpak-manifest/io.gpt4all.gpt4all.desktop | 1 + 1 file changed, 1 insertion(+) diff --git a/gpt4all-chat/flatpak-manifest/io.gpt4all.gpt4all.desktop b/gpt4all-chat/flatpak-manifest/io.gpt4all.gpt4all.desktop index 881f8ed7..6de08b8c 100644 --- a/gpt4all-chat/flatpak-manifest/io.gpt4all.gpt4all.desktop +++ b/gpt4all-chat/flatpak-manifest/io.gpt4all.gpt4all.desktop @@ -7,3 +7,4 @@ Icon=io.gpt4all.gpt4all Type=Application Categories=Utility;Office; Keywords=GPT,Chat;AI +StartupWMClass=io.gpt4all.chat