Local speech-to-text Linux

Four ways to get
speech into text on Linux.

All four run recognition on your machine and send no audio to a service.
The differences are the desktop they support, how the text reaches the field you are typing in, and what you still have to assemble.

Checked 2026-11-30 against each project's own READMEWe are the authors of hyprvoice, not of the other three.

01 · WHAT RUNS WHERE

Same idea,
different desktops.

Every option below turns speech into text locally. What separates them is where the program expects to run and how it presses the result into another application — that is where most "it installed but it does not type" failures come from.

hyprvoice
Hyprland only. A floating preview bar, streaming recognition plus an offline refinement pass. Text is copied and pasted into the focused field with wl-clipboard.
nerd-dictation
Any desktop. A single Python script over Vosk models, started and stopped by two commands you bind yourself. Text is simulated: xdotool for X11, ydotool, dotool, or wtype for Wayland.
Speech Note
A Flatpak note app with offline engines (Vosk, whisper.cpp, Faster Whisper, april-asr, Qwen3-ASR). Global shortcuts go through the XDG portal's GlobalShortcuts interface.
Whisper scripts
whisper.cpp and similar engines as a command-line tool. You write the wrapper: record, transcribe, then copy or type the result.
02 · HYPRLAND

hyprvoice
one shortcut, one preview.

hyprvoice is built for Hyprland on Wayland and nothing else: it requires HYPRLAND_INSTANCE_SIGNATURE at startup and reads seats, the active window, and input targets through hyprctl. It is worth the restriction if you want the preview: recognition streams while you speak, an offline pass refines the sentence, and the floating bar shows the text before it is entered, so you can edit or re-say it.

What you assemble: a source build (C++20, CMake, GTK4, gtk4-layer-shell, PipeWire, AT-SPI, libcurl, sherpa-onnx, wl-clipboard), then about 271 MB of models, then scripts/configure.py and hyprvoice doctor. What you do not assemble: the shortcut logic, the preview, or the paste step.

Limits, stated plainly: Hyprland only, source-only releases, no packaged binary, and no quality guarantee for a real microphone. The install steps and checks say what was actually verified.

03 · ANY DESKTOP

nerd-dictation
small and composable.

nerd-dictation describes itself as offline speech-to-text for desktop Linux, "without being tied to a desktop environment". It is one Python script over the Vosk API, with no background process: you bind nerd-dictation begin and nerd-dictation end to two shortcuts, and text manipulation is done with Python string operations in its configuration.

The catch is delivery. Its README lists xdotool for X11 and ydotool, dotool, or wtype for Wayland, which means you also set up an input-simulation helper and, for the virtual-device route, permission on /dev/uinput. There is no preview bar; the sentence appears in the field as it is produced.

Best fit: a minimal window manager or X11 session where you would rather read a 100-line script than install a GUI. Source and setup ↗

04 · FLATPAK APP

Speech Note
a note app that also dictates.

Speech Note is on Flathub as net.mkiol.SpeechNote and processes text and voice entirely offline. It is a note-taking application first — its README lists Vosk, whisper.cpp, Faster Whisper, april-asr, and Qwen3-ASR as speech engines, plus text-to-speech and translation — and models are downloaded inside the app through a model browser rather than with curl.

It can work as voice typing: its README says that with global keyboard shortcuts or command-line actions you can start listening and insert the decoded text into the focused window. Global shortcuts rely on the XDG Desktop Portal's GlobalShortcuts interface, which its README says the latest KDE Plasma and GNOME implement — so on another compositor, check that path first.

Best fit: GNOME or KDE, a graphical model browser, and one app that also reads text aloud and translates. Source and documentation ↗

05 · ROLL YOUR OWN

Whisper
and a script you write.

whisper.cpp is a C/C++ implementation of Whisper with CPU-only inference, model files you download separately, and examples rather than an installed desktop tool. People wrap it in a shell script: record with pw-record or ffmpeg, run the model, then push the text out with wl-copy and a paste shortcut.

That gives you the most control and the most assembly. There is no preview, no shortcut, and no text delivery unless your script adds them; sentence quality depends entirely on the model size you can afford to run. It is a reasonable choice if you already have a transcription script and only need the input step.

Best fit: you want one engine for dictation, file transcription, and subtitles, and you are comfortable maintaining the glue. Source and examples ↗

01

Which language, which model

Chinese and English come from the model, not the program. hyprvoice ships zh-en X-ASR models; the others make you pick a model per language, and a small English-only model will not transcribe Chinese at all.

02

How text reaches the field

Keystroke simulation through xdotool does not reach Wayland windows. Virtual devices need /dev/uinput permission. Clipboard paste needs a clipboard tool and a paste shortcut. Match the mechanism to your session before blaming recognition.

03

Disk, CPU, and first run

Model weights are hundreds of megabytes in every option and are never inside the program package. All four run on the CPU; speed and accuracy trade off against model size. Budget the download before the first sentence.

None of these tools uploads audio by default, but "local" still has edges worth reading: hyprvoice sends text — not audio — to an OpenAI-compatible endpoint only when you enable correction, cleanup, translation, or spoken revision. Check the same question in the other projects' documentation rather than assuming.

ON HYPRLAND

Start with the preview.

If you already run Hyprland, hyprvoice is the option that gives you a sentence to read before it is entered. The install page has the exact release tag, the three model URLs, the PATH fix for ~/.local/bin, and the shortcut bindings.

On GNOME or KDE, Speech Note is the shorter path. On X11, nerd-dictation plus xdotool still works with the least ceremony.

Sources read for this page

hyprvoice
github.com/mainliufeng/hyprvoice · own project, GPL-3.0
nerd-dictation
github.com/ideasman42/nerd-dictation · README read 2026-11-30
Speech Note
github.com/mkiol/dsnote · README read 2026-11-30
whisper.cpp
github.com/ggerganov/whisper.cpp · README read 2026-11-30

Facts about the other three projects come from their README files on the date above and may change; versions, engines, and shortcut support are theirs to update. This page does not compare recognition accuracy, because we have not measured the other tools on the same audio.

Is there a free offline speech-to-text option for Linux?
Yes. hyprvoice, nerd-dictation, Speech Note, and Whisper-based scripts all run recognition on the machine and need no account. The model weights are a separate download in every case: hyprvoice's two sherpa-onnx models plus the VAD file are about 271 MB in total, and the other tools also ship models outside the program package.
Can I dictate into any application on Wayland?
It depends on how the tool delivers text. Some simulate keystrokes with xdotool, which only reaches X11 windows; some write through a virtual input device such as ydotool or dotool, which needs permission on /dev/uinput; hyprvoice copies the result and pastes it into the focused field with wl-clipboard. On a Wayland compositor, check the delivery method before assuming an X11 dictation tool will type into Wayland windows.
Which option works on both Chinese and English?
It depends on the model, not the program. hyprvoice's default models are the X-ASR zh-en models, which produce punctuated Chinese and English from the same stream. nerd-dictation, Speech Note, and Whisper-based setups support both languages too, but you choose and download the model, and quality depends on which one you pick.
Do these tools replace my Fcitx or IBus input method?
No. They add a separate recording shortcut and insert a finished sentence; they do not provide candidates, key remapping, or the Ctrl+Space switch. Chinese input keeps working as before, and hyprvoice's install script does not touch Fcitx or Hyprland configuration.

Four options. One field to fill.

Install hyprvoice