Skip to content

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

Remove GlobalShortcutsPortal to fix KDE Wayland hotkey prompt

Alcahest435df81768d2
diff --git a/main.js b/main.js
index 52605b972..6aa853eb6 100644
--- a/main.js
+++ b/main.js
@@ -75,13 +75,15 @@ if (process.platform === "win32") {
app.commandLine.appendSwitch("disable-gpu-compositing");
}
-// Enable native Wayland support: Ozone platform for native rendering,
-// and GlobalShortcutsPortal for global shortcuts via xdg-desktop-portal
+// Enable native Wayland support: Ozone platform for native rendering.
+// GlobalShortcutsPortal is intentionally omitted — GNOME uses its own
+// D-Bus shortcut manager, and on KDE the portal causes unwanted permission
+// dialogs while XWayland globalShortcut works fine without it.
if (process.platform === "linux" && process.env.XDG_SESSION_TYPE === "wayland") {
app.commandLine.appendSwitch("ozone-platform-hint", "auto");
app.commandLine.appendSwitch(
"enable-features",
- "UseOzonePlatform,WaylandWindowDecorations,GlobalShortcutsPortal"
+ "UseOzonePlatform,WaylandWindowDecorations"
);
}