From d306eff15d8a857d2eaf676c2320149aa2526003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20de=20la=20Martini=C3=A8re?= Date: Fri, 6 Jun 2025 15:22:25 +0200 Subject: [PATCH] fix(linux): Fix app icon not showing on Gnome+Wayland (#5258) --- .changes/fix-dock-icon-gnome-wayland.md | 5 +++++ .../tauri-bundler/src/bundle/linux/freedesktop/main.desktop | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changes/fix-dock-icon-gnome-wayland.md diff --git a/.changes/fix-dock-icon-gnome-wayland.md b/.changes/fix-dock-icon-gnome-wayland.md new file mode 100644 index 000000000000..e00ad6f1f17a --- /dev/null +++ b/.changes/fix-dock-icon-gnome-wayland.md @@ -0,0 +1,5 @@ +--- +"tauri-bundler": patch:bug +--- + +Fixes app icon not being displayed on Gnome dock and grid view when using Wayland. diff --git a/crates/tauri-bundler/src/bundle/linux/freedesktop/main.desktop b/crates/tauri-bundler/src/bundle/linux/freedesktop/main.desktop index 721648d07ec0..b99875009220 100644 --- a/crates/tauri-bundler/src/bundle/linux/freedesktop/main.desktop +++ b/crates/tauri-bundler/src/bundle/linux/freedesktop/main.desktop @@ -4,6 +4,7 @@ Categories={{categories}} Comment={{comment}} {{/if}} Exec={{exec}} +StartupWMClass={{exec}} Icon={{icon}} Name={{name}} Terminal=false