Skip to content

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

fix: try xdotool on Wayland when XWayland is available

Gabriel Stein3c812b6d4833
diff --git a/src/helpers/clipboard.js b/src/helpers/clipboard.js
index e053aa812..e653d1503 100644
--- a/src/helpers/clipboard.js
+++ b/src/helpers/clipboard.js
@@ -554,7 +554,7 @@ class ClipboardManager {
const canUseWtype = isWayland && !isGnome;
const canUseYdotool = isWayland;
- const canUseXdotool = isWayland ? !!xdotoolWindowClass : xdotoolExists;
+ const canUseXdotool = isWayland ? xwaylandAvailable && xdotoolExists : xdotoolExists;
// Define paste tools in preference order based on display server
// For X11, use windowactivate to ensure correct window receives the keystroke