whisper.cpp/examples/whisper.linux/app
nnnet 8452ea1650 whisper.linux: replace pynput with Xlib XRecord for global hotkey
pynput's XRecord backend silently fails to receive keyboard events on
this system. Switch to direct Xlib XRecord API which works reliably.

- Replace pynput keyboard.Listener with Xlib XRecord context
- Hotkey in listen mode now acts as manual dictation trigger:
  LISTENING → DICTATING on press, DICTATING → LISTENING on next press
- Wake word continues to work in parallel with hotkey

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 21:15:11 +03:00
..
__init__.py add examples/whisper.linux 2026-02-08 17:25:49 +03:00
__main__.py add examples/whisper.linux 2026-02-08 17:25:49 +03:00
app.py whisper.linux: replace pynput with Xlib XRecord for global hotkey 2026-04-04 21:15:11 +03:00
audio.py whisper.linux: add global hotkey, fix X11 injection, improve tray UX 2026-04-04 18:18:50 +03:00
commands.py add examples/whisper.linux 2026-02-08 17:25:49 +03:00
config.py whisper.linux: add global hotkey, fix X11 injection, improve tray UX 2026-04-04 18:18:50 +03:00
injector.py whisper.linux: add global hotkey, fix X11 injection, improve tray UX 2026-04-04 18:18:50 +03:00
transcriber.py add examples/whisper.linux 2026-02-08 17:25:49 +03:00
tray.py whisper.linux: add global hotkey, fix X11 injection, improve tray UX 2026-04-04 18:18:50 +03:00