Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: set desktop name on Linux for Wayland portal permissions

Alcahesta6c59c2bc59f
diff --git a/main.js b/main.js
index 1577e9dec..ed83ef086 100644
--- a/main.js
+++ b/main.js
@@ -77,6 +77,12 @@ if (process.platform === "linux" && process.env.XDG_SESSION_TYPE === "wayland")
);
}
+// Set desktop filename so Wayland compositors can match windows to the .desktop entry.
+// This allows XDG portals (e.g. PipeWire) to persist permissions across sessions.
+if (process.platform === "linux") {
+ app.setDesktopName("open-whispr.desktop");
+}
+
// Group all windows under single taskbar entry on Windows
if (process.platform === "win32") {
const windowsAppId =