Speech-to-text and AI text processing for the Linux desktop. This repository is a Linux desktop port forked from the TypeWhisper project, which provides macOS and Windows versions. I ported it so I could use TypeWhisper on Linux, and I am making this branch available for other Linux users who want the same.
If the TypeWhisper project releases an official Linux version, or if this port is merged into the main TypeWhisper branch, I plan to use the upstream Linux version instead. Until then, this branch exists as a practical Linux port adapted around Avalonia, Linux desktop services, and Linux-friendly install and startup behavior.
Press a key, talk, and have clean, punctuated text land in whatever app you're in — tuned to feel as close to Wispr Flow as possible on Linux. TypeWhisper lets you dictate into other applications, transcribe audio files, record longer WAV sessions, apply dictionary, snippet, and spoken-number post-processing, and run prompt-based AI text actions through plugins.
A fix release: SIGTERM during a dictation (logout, kill) now puts paused media and ducked volumes back, and History retention no longer deletes a recording a kept entry still uses. Clipboard Paste and Auto keep text copied from apps that only offer COMPOUND_TEXT on X11, GNOME and Hyprland; on Sway, dictating into a GTK3 app with only wtype no longer reports Pasted while nothing arrived; and with two Firefox instances open, the focused one no longer borrows the other's URL, website profile and references. It also lets Chromium intranet addresses like qa-intranet:8080/page match URL profile rules, marks screen and clipboard references applied only when cleanup actually sent them, wraps long paths on the About page, and stops the Plugins page logging binding errors. See the 0.19.4 release notes for the full list and upgrade notes, and the 0.19.3 release notes for the previous release.
The full, step-by-step documentation lives in the Wiki. This README is a short overview — the wiki has the how-to detail, per-distro setup, and troubleshooting.
- Getting started — Installation · Quick Start · Setup Wizard · Requirements
- Using it — Dictation · Global Hotkeys · Text Insertion · Profiles · Text Cleanup
- Platform — Wayland Notes · GPU & CUDA · Desktop Integration · Tested Configurations · Troubleshooting
- Automation — HTTP API · CLI
- Plugins — Plugins · Transcription Engines · LLM Providers · Plugin SDK
- Project — Data & File Paths · Roadmap · Contributing
- Global dictation with Toggle, Push-to-talk, and Hybrid activation modes, a configurable recording overlay, recent-transcriptions, paste-last-transcription and transform-selection hotkeys, cancel-in-flight, and a built-in microphone test. See Dictation and Global Hotkeys.
- Plugin-backed transcription — local engines (whisper.cpp, sherpa-onnx, …) and cloud engines, with optional real-time websocket streaming and token-by-token LLM response streaming. See Transcription Engines.
- Local GPU acceleration — optional NVIDIA CUDA for the bundled whisper.cpp and sherpa-onnx engines, with the runtime downloaded on demand rather than bundled — resumable downloads, and an in-app reset to recover from a bad cache — and Vulkan for whisper.cpp on AMD, Intel and NVIDIA GPUs. Both engines transcribe in a supervised worker process: a crash is retried, and repeated GPU crashes fall back to the CPU. See GPU & CUDA.
- Smart per-app text insertion —
Auto/Clipboard Paste/Direct Typing/Copy Onlykeyed by process name, with session-aware Wayland backends (wtype/ydotool/xdotool). See Text Insertion. - AI text cleanup & formatting in the Wispr-Flow style, driven by your own LLM, with profile style presets, developer-safe formatting, and opt-in on-screen and clipboard text as spelling reference for names and identifiers. See Text Cleanup.
- Voice-native editing — start a dictation with a keyphrase ("TypeWhisper") and the rest becomes a command that edits your highlighted text or writes new text at the cursor, instead of being typed verbatim. Ships disabled; enable it in Prompts.
- File transcription and a recorder — batch queues, watch folders, subtitle (SRT/VTT) export, and longer WAV captures with pause/resume and in-app playback. See File Transcription and Recorder.
- Personalization — searchable history, a dictionary with term packs and optional acoustic boosting (misheard terms are checked against the audio, not just their spelling), snippets, and app/URL-matched profiles, each of which can choose its own memory source for prompt actions. History also has an opt-in Inspect panel that shows exactly what was sent to the LLM for each entry — the raw→final diff, the exact prompt, injected memory context, and the reply, with local-vs-cloud labelling. See Profiles and History.
- Learns from your corrections in the Wispr-Flow style — when you type over a dictated word in the target app to fix it, TypeWhisper silently learns the correction (via AT-SPI) and auto-applies it to future dictations. A brief toast shows what was learned and offers Undo. Off by default (it reads the focused field); enable it under Dictation settings, and review or remove learned entries in the Dictionary.
- A localized interface — English, German, Spanish, Russian, Japanese, or Simplified Chinese, switched live (or Auto, to follow your system locale). See General Settings.
- Automation — a local, authenticated HTTP API and a
typewhisper-cliCLI bundled in every package. - Authenticated provider CLIs — use installed, signed-in Codex, Claude Code, or OpenCode tools for LLM text processing through the Authenticated CLIs plugin, including further sessions (for example a second account) as their own providers. These are separate from
typewhisper-cli; their providers may process your text remotely. See LLM Providers. - Dictation recovery — retry a failed dictation from History while its recording is available. The recovered result is copied to the clipboard. Recovery audio is kept locally for 30 days by default; change Dictation → Recovery → Keep dictation recordings for recovery (days), or use
-1to delete captures when the app closes. History saving must be enabled. See History. - Your data, exportable — Export All Data writes one archive of your settings, history, dictionary, profiles and (optionally) recordings, with every credential removed and a settings backup that Restore accepts. Delete All Data starts over like a new installation, keeping installed plugins and, unless you choose otherwise, downloaded models. See Backup and Restore.
- Desktop integration — tray icon (with paste/copy last transcription), XDG autostart, single-instance handoff, and a user-level installer. See Desktop Integration.
Everything here is Linux-specific work adapted from the upstream macOS/Windows project: Wayland/X11 global hotkeys, compositor-native window and URL detection, session audio handling, and Linux packaging. The deep how-and-why for each lives in the wiki — start with Wayland Notes if you're on Wayland.
I run this branch as my daily driver and tune it to feel as close to Wispr Flow as I can get on Linux: press a key, talk, and have clean, punctuated text land in whatever app I'm in.
The stack I actually use day to day:
- Transcription — the bundled whisper.cpp engine on the GPU (CUDA 12), running the full
large-v3model. Since I'm running on a GPU there's headroom for it, so I moved up fromlarge-v3-turboto the full model. It's fully local, runs fine on my GTX 1070, and accurate enough that I rarely re-record. - Cleanup — an OpenAI-compatible LLM server (Ollama) running on a separate machine on my LAN — an RTX 3090 box. I now run cleanup through a custom dictation-cleanup model we're still putting together; it isn't released yet (more on that below). If you want the same setup today, I recommend
mistral-small:24b— it's what I ran before and still works well. My Auto Clean Up Text prompt drives the model, and it's written to clean dictation the way Wispr Flow does: strip filler words ("um", "uh", "like"), fix capitalization and punctuation, apply spoken self-corrections in place, and format lists when I clearly ask for one — without ever adding, answering, or dropping anything I actually said. The Auto Format profile binds that prompt to a single hotkey (Ctrl+Alt+E), so dictation goes straight through cleanup before it's inserted. Both ship seeded but disabled on a fresh install, so you can turn them on and point the cleanup at your own LLM. If your server runs a reasoning model, its thinking is stripped before insertion, and each OpenAI-compatible endpoint has a Thinking Mode setting to turn it off for cleanup entirely. - Insertion — auto-paste is on, and on GNOME Wayland the text is delivered through
ydotool. - Hotkeys — I run in Hybrid activation mode: a quick tap toggles recording, and holding acts as push-to-talk.
I keep the rest deliberately minimal for latency and predictability — audio ducking, media pause, sound feedback, live/streaming transcription, and silence auto-stop are all off. In this setup, the cleanup LLM is the only network hop for audio and text, and it lives on a separate box on my own LAN. Optional Sentry diagnostic reporting is described below.
Where this is going: the cleanup model I run now is an early, not-yet-released build of a model we're putting together purpose-built for dictation cleanup, so the behavior lives in the weights instead of being carried by a long system prompt (see docs/prompts/ for the prompt-driven approach mistral-small:24b still uses). The goal is cleanup that's faster, more consistent, and far less sensitive to prompt wording than leaning on a general model. Until it ships, mistral-small:24b is the one to use — and if you find a model that works better, let me know and I will update the documentation.
Tagged releases on GitHub Releases ship four linux-x64 formats — AppImage, Debian/Ubuntu .deb, Fedora/RHEL .rpm, and a no-root tarball — each bundling the self-contained .NET runtime and the Linux plugins. See Installation for which format to pick and the per-format commands, and Requirements for the optional desktop helpers (pactl, playerctl, wtype / ydotool / xdotool, pw-play / paplay / aplay, …).
The .deb and .rpm install required system libraries through the package manager; tarball and AppImage users must install the equivalent libraries from the Requirements page first.
Whichever format you install, the first-run Setup Wizard checks what's needed and gets you set up with everything required — the typing/paste backend, the global-dictation hotkey, active-window detection, and more — so you don't have to wire it up by hand.
Requires the .NET 10 SDK and python3. global.json pins a 10.0.100 floor so CI is reproducible, and rolls forward from there — your distribution's package is enough:
sudo dnf install dotnet-sdk-10.0 # Fedora / RHEL
sudo apt install dotnet-sdk-10.0 # Debian / UbuntuThe floor is deliberately on the 10.0.1xx feature band. Fedora, RHEL and Debian ship source-built .NET, which only ever tracks that band, so pinning one of Microsoft's 10.0.2xx/10.0.3xx bands would lock every distro contributor out — rollForward only rolls forward, never back. Microsoft's own builds are newer bands and satisfy the pin too, if you prefer one.
The build bundles the Linux plugins, reading the authoritative list in plugins/catalog.json via scripts/plugin-catalog-deploy-map.py. Skip that step with -p:DeployBundledLinuxPlugins=false.
git clone https://github.com/csmashe/typewhisper-linux.git
cd typewhisper-linux
dotnet build
dotnet run --project src/TypeWhisper.LinuxTo install a clickable launcher and icon for the current user (publishes self-contained, bundles the Linux plugins, and registers a .desktop entry):
./scripts/install-linux-app.sh # ./scripts/uninstall-linux-app.sh to remove (keeps your data; add --purge to delete it too)typewhisper-linux/
├── src/
│ ├── TypeWhisper.Core/ # Shared core logic, data models, persistence, services
│ ├── TypeWhisper.PluginSDK/ # Plugin SDK for transcription, LLM, actions, and events
│ ├── TypeWhisper.Linux/ # Avalonia-based Linux desktop application
│ └── TypeWhisper.Cli/ # CLI client for talking to the local API
├── plugins/ # Plugin source projects
├── scripts/ # Linux build, deploy, and install scripts
├── docs/ # Release notes and prompts
└── tests/ # Automated tests
Sending reports to Sentry is off by default. We would appreciate you turning it on, especially if you are having crashes, errors, or slow dictation: these reports help us find and fix problems across Linux setups.
Enable Advanced → Data → Send anonymous crash and performance reports. When enabled, TypeWhisper sends diagnostic data to the Excel on the Web Sentry project: app version, OS and hardware details, engine and model names, error types and stack traces, and startup/dictation timings. Reports also include audio duration and transcript character count, but never audio, transcript or prompt text, clipboard contents, window titles, or API keys. Exception message text and persistent user/install identifiers are excluded.
You can turn reporting off at any time; it stops immediately, and queued reports are discarded. This feature does not keep an offline report cache. See the Privacy Policy for the full details. Cloud transcription and LLM providers have their own data flows, independent of this switch.
If you would rather not send anything, two local options help with a support request instead: Advanced → Data → Keep a local diagnostic log (off by default) records dictation steps, timings and error types to a file on your computer, and About → Support Report → Export Report saves a JSON description of the app's current state. Neither contains audio, transcripts, prompts, names, file paths, API keys or error messages, and neither is sent anywhere.
This branch is tested on Pop!_OS (GNOME/X11), Linux Mint (Cinnamon/X11), Fedora (GNOME and KDE Wayland), and Arch (Hyprland/Wayland) — see Tested Configurations for the per-setup detail. Other Wayland compositors should work via their compositor-native providers but are untested.
If you hit a setup-specific issue, please open an issue or pull request with your distribution, desktop environment, display server, reproduction steps, and any relevant logs (the About page's Error Log captures errors, and Export Report there saves a content-free support report you can attach). See Troubleshooting and Contributing.
GPLv3 — see LICENSE for details. Trademark policy — see TRADEMARK.md.
Copyright and attribution — see NOTICE. TypeWhisper for Linux is © 2026 Excel on the Web and incorporates code from the upstream TypeWhisper project (© 2026 TypeWhisper).