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>
This commit is contained in:
Diogo Caveiro 2025-05-21 10:40:19 +01:00 committed by GitHub
parent cd70db29ed
commit 67af47cfdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,3 +7,4 @@ Icon=io.gpt4all.gpt4all
Type=Application
Categories=Utility;Office;
Keywords=GPT,Chat;AI
StartupWMClass=io.gpt4all.chat