The live waveform and silence auto-stop countdown were driven by a level meter that was the last user of sounddevice/PortAudio, which hangs opening the default input on PipeWire systems — so both stayed blank on the hotkey and wakeword paths alike. Rewrite LevelMeter to stream raw PCM from the same recorder as the WAV path (pw-record/parecord/arecord) and RMS it; identical API, scaling, and ~10 Hz cadence. Also fixes the Settings mic-level preview. Set GLib prgname/application name to "Blitztext" before any window is realized (and add StartupWMClass to the .desktop) so the taskbar and GNOME's "… is not responding" dialog show the app name instead of "__main__.py", without touching the `python -m blitztext` entry point. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
10 lines
383 B
Python
10 lines
383 B
Python
"""Blitztext for Linux — native dictation daemon.
|
|
|
|
Press a global hotkey, speak, and the transcribed (optionally LLM-rewritten)
|
|
text is typed into whatever text field currently has focus. This is the Linux
|
|
counterpart to the macOS Blitztext menu bar app: it runs natively on the host
|
|
(not in a container) so it can type into any application via xdotool.
|
|
"""
|
|
|
|
__version__ = "1.7.1"
|