diff --git a/CHANGELOG.md b/CHANGELOG.md
index b1eab9d..90811b1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
One section per version, newest first.
+## v0.10.4 (2026-11-07)
+
+### Bug fixes
+
+- The dock and taskbar show the remus icon for its window. The window now carries the app id me.anshorei.Fettleshed.Remus, which links it to the installed desktop file.
+
## v0.10.3 (2026-11-07)
### Features
diff --git a/Cargo.lock b/Cargo.lock
index 1cab8a1..ab9da27 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4385,7 +4385,7 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
[[package]]
name = "remus"
-version = "0.10.3"
+version = "0.10.4"
dependencies = [
"anyhow",
"directories",
diff --git a/Cargo.toml b/Cargo.toml
index feacd01..4ed8823 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "remus"
-version = "0.10.3"
+version = "0.10.4"
edition = "2024"
license = "MIT"
diff --git a/flatpak/me.anshorei.Fettleshed.Remus.desktop b/flatpak/me.anshorei.Fettleshed.Remus.desktop
index 260cdcf..1b8ae9b 100644
--- a/flatpak/me.anshorei.Fettleshed.Remus.desktop
+++ b/flatpak/me.anshorei.Fettleshed.Remus.desktop
@@ -8,3 +8,4 @@ Terminal=false
Categories=AudioVideo;Audio;Player;
Keywords=music;subsonic;navidrome;player;
StartupNotify=true
+StartupWMClass=me.anshorei.Fettleshed.Remus
diff --git a/flatpak/me.anshorei.Fettleshed.Remus.metainfo.xml b/flatpak/me.anshorei.Fettleshed.Remus.metainfo.xml
index 0781bc5..23defc9 100644
--- a/flatpak/me.anshorei.Fettleshed.Remus.metainfo.xml
+++ b/flatpak/me.anshorei.Fettleshed.Remus.metainfo.xml
@@ -20,6 +20,7 @@
+
diff --git a/src/main.rs b/src/main.rs
index e68e67c..07fa46a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -15,6 +15,9 @@ mod subsonic;
use std::time::Duration;
+/// The Flatpak app id, which is also the name of the desktop file.
+const APP_ID: &str = "me.anshorei.Fettleshed.Remus";
+
fn main() -> anyhow::Result<()> {
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("remus=info")).init();
@@ -27,6 +30,10 @@ fn main() -> anyhow::Result<()> {
.build()?;
let ui = AppWindow::new()?;
+ // Docks match the window to the desktop file by this id, on Wayland as
+ // the app id and on X11 as the WM_CLASS. It needs the platform that
+ // AppWindow::new sets up, and has to be set before the window is shown.
+ slint::set_xdg_app_id(APP_ID)?;
ui.set_version(env!("CARGO_PKG_VERSION").into());
app::install(&ui, rt.handle().clone());
// The controller is read from the device, whichever window is in front, so