The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
fix(linux): the running window belongs to its desktop entry
Jareer9f9507557257
diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.ymlindex 664b5bd6..19e54e80 100644--- a/.github/workflows/build-app.yml+++ b/.github/workflows/build-app.yml@@ -532,6 +532,7 @@ jobs:Icon=concatCategories=AudioVideo;Video;Terminal=false+ StartupWMClass=concatDESKTOPcp LICENSE THIRD_PARTY_NOTICES.md "stage/$name/"# The binary must resolve every library from the folder alone.diff --git a/flake.nix b/flake.nixindex 08682871..a2802f04 100644--- a/flake.nix+++ b/flake.nix@@ -189,6 +189,7 @@icon = "concat";desktopName = "Concat";comment = "Free and open source video editor";+ startupWMClass = "concat";categories = ["AudioVideo""AudioVideoEditing"diff --git a/src/crates/concat/src/platform.rs b/src/crates/concat/src/platform.rsindex aa2bb734..230551d7 100644--- a/src/crates/concat/src/platform.rs+++ b/src/crates/concat/src/platform.rs@@ -364,6 +364,12 @@ pub fn select_backend(.with_winit_window_attributes_hook(|attributes| attributes.with_decorations(false));}selector.select()?;+ // The desktop entry's name (concat.desktop, in every Linux package and+ // the flake), as the window's Wayland app_id and X11 class, so a dock+ // or a task switcher files the running window under the launcher it+ // came from - its icon, its pin - rather than as an unknown app. Slint+ // ignores it off Linux and the BSDs.+ let _ = slint::set_xdg_app_id("concat");Ok(gpu)}