Dictation in your apps
Speech to Text on Linux: Dictation on Ubuntu and Mint
Neither Ubuntu nor Linux Mint has a dictation feature that we could find in its current release documentation, so speech to text on Linux means adding an open-source app. The app runs an offline engine such as Whisper or Vosk on your computer and types the words into the window that has focus. The hard part is the typing step, which works differently on the X11 and Wayland display systems.
Updated October 17, 202612 min read32 cited facts, each traced to its source
50megabytes per language model
Alpha Cephei says Vosk's per-language models are about 50 MB each, and that much bigger server models are also available.
Alpha Cephei, 2026
10GB of VRAM
The Whisper README gives about 10 GB of required VRAM for the large model, which the table rates as the 1x speed baseline.
OpenAI, GitHub (OpenAI repository), 2023
2GB of VRAM
The Whisper README gives about 2 GB of required VRAM for the small model.
OpenAI, GitHub (OpenAI repository), 2023
Ubuntu and Linux Mint do not include a dictation feature that we could find in their current release documentation. To dictate on Ubuntu or Mint, you install an open-source app. That app runs a speech engine on your own computer, usually Whisper or Vosk, and types the recognized words into whatever window has focus. The engine is the easier part. Vosk's portable language models are about 50 MB each 1, and Whisper's small model needs about 2 GB of graphics memory 2. The harder part is the typing step. On Ubuntu 26.04 LTS, Wayland is the default session on modern graphics hardware 3, and xdotool, the classic typing tool, does not work there 4.
So the answer depends on your session. On a Wayland desktop such as Ubuntu 26.04 with GNOME, use a tool that types through ydotool or lists it as a method. On an X11 session, the xdotool-based tools work. This guide covers the tools we could verify, the install route for each, and the setup that a tested Ubuntu 26.04 configuration needed.
Yap, which we make, runs on Mac, Windows and phones, not on Linux, so the tools below are open-source projects made by other people. If you only need dictation in a web browser, the free dictation page in your browser works without an install.
Linux desktops have no built-in dictation, so you add an open-source tool
The roadmap for Ubuntu 26.04 LTS and the Linux Mint 22.3 release page do not describe a dictation feature, so the dictation tools in this guide are third-party apps.
Linux Mint 22.3 is the release we checked, and it has an Ubuntu Noble package base 5. Because Mint shares that package base, Ubuntu-built packages usually install on Mint 22.3 too. The desktop matters more than the packages. Cinnamon, Mint's desktop, is due to get fully supported Wayland sessions in Mint 23.0, which is planned for Christmas 2026 6. Until then, Wayland on Mint is the less settled choice.
Dragon NaturallySpeaking has no Linux edition on Nuance's pages
Dragon is a widely known dictation product, so people ask about it first. Nuance's Dragon Professional page describes version 16 as optimized for Windows 11 and backwards-compatible to Windows 10 7. We found no Linux edition on Nuance's pages. Our full answer, with the alternatives, is in the question on Dragon on Linux. For a wider comparison of free options, see the guide to open-source dictation software.
Offline engines like Whisper and Vosk do the recognition on your own machine
An offline engine runs the speech model on your computer, so the audio does not have to leave the machine once the model is downloaded. Two engines appear most often in the open-source tools covered here.
Whisper is OpenAI's speech recognition model. Whisper Large v3 had an average word error rate of 7.44 percent on one track of the Open ASR Leaderboard 8. That figure comes from one benchmark, and your own voice in your own room may score differently. Word error rate is explained in our guide to word error rate.
Whisper also has a known failure mode. In a 2024 study of recordings from speakers with and without aphasia, using a 2023 version of Whisper, roughly 1 percent of audio transcriptions contained entire phrases or sentences that did not exist in the audio 9. Read your dictated text before you send it.
Vosk is a smaller engine from Alpha Cephei. Its portable per-language models are about 50 MB each, and the project also offers much bigger server models 1. The small size is why Vosk suits modest hardware. The trade-off is accuracy. The Vosk home page gives no word error rate, so we cannot put a number on Vosk's accuracy here.
Whisper's cost depends on the model you choose. The table sets the engines side by side. The graphics memory figures come from the Whisper model table and are approximate.
| Engine and model | Typical size | Runs on | What we could verify |
|---|---|---|---|
| Vosk, per-language model | About 50 MB | CPU, including small devices | Size and offline use. No accuracy figure on the project page. |
| Whisper small | About 2 GB of graphics memory | GPU, with CPU as an option | Memory from the Whisper model table |
| Whisper medium | About 5 GB of graphics memory | GPU, with CPU as an option | Memory from the Whisper model table |
| Whisper large | About 10 GB of graphics memory | A large GPU | Memory from the table, and 7.44 percent word error rate on one benchmark track |
Typing the text into apps is harder on Wayland than on X11
Recognition works on Linux. Typing the result into the focused app is where dictation most often breaks, and the reason is the display system. X11 lets one program send keystrokes to another. Wayland does not offer that general mechanism, so a dictation tool needs a different route.
The xdotool README is direct about this. It says that on Wayland, "Typing, window searching, and many other functions of xdotool do not work, and it is unclear if they could ever work" 4. The nerd-dictation project uses xdotool as its default input tool 10, so that tool fits an X11 session and not a Wayland one.
ydotool takes a different route. It emulates an input device through the Linux kernel's uinput framework, so it works below the display server, and its daemon needs access to /dev/uinput 11. Vocalinux, a dictation app covered below, lists five text-insertion methods for both X11 and Wayland: xdotool, IBus, wtype, ydotool and a clipboard fallback 12.
| Typing method | How it types | X11 session | Wayland session |
|---|---|---|---|
| xdotool | Sends X11 input events | Works | Does not work, per its README |
| ydotool | Emulates a kernel input device through uinput | Works | Works, once its access to /dev/uinput is set up |
A tested Ubuntu 26.04 setup uses ydotool for typing
Handy, a dictation app covered below, publishes a troubleshooting guide for Ubuntu 26.04. The guide was tested on Ubuntu 26.04.1 LTS with GNOME on Wayland and Handy 0.9.8 13. Its fix is to use ydotool for typing and handy_keys for shortcuts 14. The steps below follow that guide. The full guide on GitHub has the exact wording.
- Confirm that you are in a Wayland session. Run
echo "$XDG_SESSION_TYPE"in a terminal. The answer should bewayland. - Add your user to the input group, because the uinput device belongs to that group. Run
sudo usermod -aG input "$USER", then log out and back in. - Install and start ydotool. Run
sudo apt install ydotool, thensystemctl --user start ydotool. - Test the typing. Run
ydotool type "HELLO FROM YDOTOOL"with a text field focused. The words should appear in that field. If nothing appears, check the group membership in step 2 before you change anything else. - Configure Handy to type with ydotool. Step 3 of the guide gives the command, and the settings key can change between versions, so follow the guide's wording for your release.
The input group matters for security. Membership gives your user access to the input device that ydotool writes to, so add only accounts you trust.
Command-line tools suit developers, and desktop apps suit everyone else
There are two kinds of Linux dictation tool. Command-line tools run from a terminal or bind to a key. Desktop apps have a window, a settings screen and an installer. The choice depends on how much setup you want to do.
nerd-dictation is the best-known command-line option. It describes itself as offline speech to text for desktop Linux, built on the VOSK-API 15. Its README lists Windows and macOS support only as a possible future item 16, so it is a Linux-only choice. Use it on an X11 session, since its default input tool is xdotool.
Handy is a desktop app for offline speech to text. Its README lists Windows, macOS and Linux as supported platforms 17.
Vocalinux is an open-source Linux app for offline dictation. After you download a model, its local engines run speech to text on your machine. The default is whisper.cpp, and OpenAI Whisper, Faster Whisper, VOSK and Parakeet are also available 18.
Speech Note is a Linux desktop app for note taking with offline speech to text. Its README gives the Flatpak route through Flathub, with the package name net.mkiol.SpeechNote 19. Its speech to text uses several engines, including Vosk and whisper.cpp with Parakeet 20. You need Flatpak installed first.
The maintained tools differ by engine, desktop and install route
The table compares the tools we checked against their own README pages. Each row names what its documentation says, so you can check it before you install.
| Tool | Speech engines | Desktops it names | Install route | Notes |
|---|---|---|---|---|
| Vocalinux | whisper.cpp by default, plus Whisper, Faster Whisper, VOSK and Parakeet | X11 and Wayland | Packages from its GitHub releases page | Lists typing methods for both sessions |
| Handy | Whisper (Small, Medium, Turbo, Large) and Parakeet V3 | Windows, macOS and Linux | Packages from its releases page | Tested on Ubuntu 26.04 GNOME Wayland |
| OpenWhispr | Local Whisper and Parakeet, and optional cloud models | macOS, Windows and Linux | Linux packages from its download page | Desktop app with a settings window |
| Speech Note | Vosk, whisper.cpp with Parakeet, Faster Whisper and others | Linux desktop | Flatpak from Flathub | Engine list from its README |
| nerd-dictation | Vosk | Linux, with xdotool input | Command line | Default input tool is for X11 |
| HEX (Linux beta) | Parakeet and Whisper models | Linux beta | Source build or Nix | Smaller feature set |
| Murmure | Parakeet TDT 0.6B v3 | Windows installers | MSI or setup .exe from its releases page | Install steps name Windows only |
The table cells cannot carry citations, so the facts behind them are cited here. Handy's README lists its Whisper models in four sizes 21, and it sends you to the releases page for the download 22. OpenWhispr's README names macOS, Windows and Linux 23. HEX's Linux beta has a smaller feature set and needs a source build or Nix 24. For Murmure, the README tells you to download the Windows installer, Murmure_x64.msi or Murmure_x64-setup.exe 25, so we list it as a Windows app.
Our order of preference for an Ubuntu 26.04 user on GNOME is Handy or Vocalinux. Handy has a tested guide for this exact setup, and Vocalinux lists Wayland support and ydotool among its typing methods. For a Mint 22.3 user on an X11 session, nerd-dictation is the lightest option. Speech Note suits anyone who wants a graphical app with a choice of engines. These are judgments from the documentation. We did not run every tool on a test machine, so try your choice on a short note before you rely on it.
A GPU makes large Whisper models practical, and small models run on a CPU
The Whisper model table gives the required graphics memory for each size. The figures are approximate, and they describe GPU memory, not system memory. The medium model needs about 5 GB 26, the large model about 10 GB 27. The same table rates the tiny model at about 10 times the relative speed of the large model, which it rates 1x 28.
The chart shows the graphics memory each size needs. A GPU with less memory than the figure cannot hold that model at full size, so the tool has to fall back to a smaller model or to the CPU.
You do not need a GPU to run Whisper. whisper.cpp lists support for CPU-only inference among its features 29. The table's relative speeds are ratios, not times, so they do not tell you how long a CPU run takes. The question on running Whisper without a GPU covers this in more detail, and our guide to running Whisper locally covers the setup.
Browser dictation covers Google Docs in Chrome, but not your whole desktop
Browser dictation is the simplest route when the text you need goes into a web app. Google's voice typing in Google Docs works with the latest versions of Chrome, Edge and Safari, and the browser controls the speech to text service 30. So the browser's speech to text service handles the speech, not an engine you install. If you need on-device dictation, use a desktop tool from the sections above.
Google's Chrome help page says Chrome is compatible with devices that run Windows and Mac operating systems 31. It does not name Linux, and we did not find a Linux statement on the pages we opened. Before you rely on voice typing in Docs on Ubuntu or Mint, test it in the browser you use there. The guide to Google Docs voice typing covers the menu steps, and the guide to speech to text in Chrome lists the other options.
Browser dictation does not reach the rest of your desktop. A chat window, a terminal or a note app that is not a web page will not receive the text. The guide to dictating into any app compares the system-wide options on each platform.
Voice control on Linux is handled by Talon, which lists X11
Dictation turns speech into text. Voice commands, such as opening a window or pressing keys by voice, are a different job, and the question on voice commands on Linux covers that in full. The main option we found is Talon, whose home page lists Linux with the note X11 32. That note means the Linux build is documented for X11, so check Talon's documentation before you use it on a Wayland session. Talon Voice is built around hands-free control, so for dictating prose, the desktop tools above are the better fit.
What to install, depending on your desktop
The right tool depends on two things: whether your session is X11 or Wayland, and whether you want a graphical app or a terminal tool.
- Ubuntu 26.04 on GNOME, Wayland: Start with Handy and the ydotool setup above, which was tested on this configuration. Vocalinux is the alternative, because it lists ydotool among its typing methods.
- Mint 22.3 on Cinnamon: Check your session type first. On an X11 session, xdotool-based tools such as nerd-dictation fit. On a Wayland session, use the ydotool route. Fully supported Wayland sessions in Cinnamon are planned for Mint 23.0 6.
- A computer without a graphics card: Use Vosk through Speech Note or nerd-dictation, or whisper.cpp with a small model. Vosk's models are about 50 MB each 1.
- Dragon or a Windows-only workflow: Dragon does not run on Linux as a supported product. See the question on Dragon on Linux, and the guide to offline speech to text on Windows if you can use a Windows machine.
Whatever you install, speak a sentence, check that the words appear in the right window, and then dictate a longer passage. Recognition errors and typing failures show up at different points, so you want to know which one you have. The word error rate guide covers how accuracy is measured if you want to test your own voice.
Linux dictation is less polished than on Mac or Windows. The engines are the same kind, but the display system, the desktop and the input permissions vary. Check the release notes of the tool you pick, and re-test after an Ubuntu or Mint upgrade, because the session and input rules can change between releases.
Evidence
Every number on this page, with where it comes from. Open a fact to see the exact words in its source.
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
- 26.
- 27.
- 28.
- 29.
- 30.
- 31.
- 32.
Questions about this
- Can you control Linux with voice commands?Partly. Linux has voice command software, but the choice is narrow: Talon offers the most control, yet its home page lists Linux only as X11 and a report says its developer will drop Linux. Serenade lists a Linux build for speaking code, and dictation tools such as Vocalinux type your words without running commands.
- Does Dragon NaturallySpeaking work on Linux?No. Nuance lists only Windows as the operating system for its current Dragon products, and we found no Linux edition. On Linux, an open-source app such as Vocalinux is the practical route, since it runs its speech engine on your own computer.
- How do you use Whisper for dictation on Linux?Whisper is a speech model, so on Linux you use it through an app that runs it on your computer. For dictation into other windows, Vocalinux is the route we checked most closely, since it uses whisper.cpp by default and works on X11 and Wayland. Check your session type first, because it decides which typing method will work.
- What is the best speech to text software for Linux?There is no single best app, because your display session decides which typing method works. On Ubuntu 26.04 with GNOME on Wayland, Handy is the choice to start with, since its setup guide was tested on that configuration. On an X11 session, nerd-dictation is the command-line option to try, and Canonical's Myna is an opt-in option to test.
More in Dictation in your apps
- Voice Typing in Google Docs, Word and Every Other AppThe overview of this topic
- Google Docs Voice Typing: How to Use It and Its Limits
- Dictate in Word: Voice Typing on Web, Windows and Mac
- How to Dictate Into Any App: Built-in vs System-Wide
- Dictate Emails in Outlook and Gmail
- Speech to Text in Chrome: Built-in Options and Extensions
- Dictation in ChatGPT and Claude: Speaking Your Prompts
- Dictate in PowerPoint, OneNote and Excel
- Voice Coding: How to Program by Voice
- Voice Input for Claude Code, Cursor and AI Coding Tools
- Voice to Text in Teams, Slack and Notion
- Chromebook Dictation: How to Turn It On and Use It
- Web Speech API: Speech Recognition in the Browser
Referenced by
- Voice Typing in Google Docs, Word and Every Other AppTopic
- How to Dictate Into Any App: Built-in vs System-WideGuide
- Voice Coding: How to Program by VoiceGuide
- Voice Input for Claude Code, Cursor and AI Coding ToolsGuide
- Chromebook Dictation: How to Turn It On and Use ItGuide
- Can you control Linux with voice commands?Question
- Does Dragon NaturallySpeaking work on Linux?Question
- How do you use Whisper for dictation on Linux?Question
- What is the best speech to text software for Linux?Question
- WaylandGlossary