Dictation on Linux: type with your voice on Ubuntu, Fedora and more
By the Dictr team ·
Most Linux desktops do not ship with a dictation key the way Windows and macOS do, so typing by voice means adding a tool. This guide covers what to check first, the kinds of tool there are, and how to set one up so it types into any window.
Check the microphone before anything else
- Open your sound settings and find the Input tab.
- Choose the microphone you will use and speak: the level bar should move.
- If it does not, check that the microphone is not muted and that the right device is chosen. On most current desktops sound runs through PipeWire or PulseAudio, and a tool such as pavucontrol shows every input.
Every dictation tool reads the same input, so a microphone that works here will work in the tool.
The two kinds of tool
- Tools that recognize speech on your own computer. They work with no connection and nothing leaves the machine. They need a speech model downloaded first, and accuracy depends on the model and on how strong your computer is. Open-source projects such as nerd-dictation work this way.
- Apps that send the sound to a speech service while you talk. They need a connection. They tend to be more accurate across accents and languages and add punctuation without being told.
Neither is better for everyone. If you work without a connection or must keep sound on the machine, choose the first kind. If you want the least setup and the cleanest text, choose the second.
X11 or Wayland: why it matters
A dictation tool has to do two things outside its own window: notice a key held down anywhere, and type into whatever window has the cursor. X11 lets any program do both. Wayland is stricter by design, so some tools need an extra step there, or work only in some desktops.
To see which one you are on, run "echo $XDG_SESSION_TYPE" in a terminal. If a tool misbehaves on Wayland, most login screens let you pick an X11 session from the gear on the sign-in screen.
Setting up Dictr on Linux
Dictr runs on Linux (x86_64) and comes as an AppImage or Debian and Ubuntu (.deb).
- Download the file for your system from the download page.
- For the AppImage, make it executable (right click, Properties, Permissions, or "chmod +x" in a terminal) and open it. For the .deb, install it with your package manager.
- The app opens your browser to sign in.
- Click into any window, hold Ctrl + Super, speak, and let go. The words are typed at the cursor.
It needs a connection to turn speech into text. If the connection drops while you talk, what you said is kept on your computer and sent when the connection is back. Dictr is free for 2,000 words every week with no card. Personal is $6 a month for 30,000 words a month, and Business is $9 a seat a month for 45,000 words a seat.
Getting good text
- A headset microphone beats a laptop microphone, most of all near a fan.
- Speak in full sentences. Recognition uses the neighbouring words.
- For commands and file names in a terminal, read the result before pressing Enter.
Hold a key, speak, and your words are typed in any app. 2,000 words free every week, no card.
Download DictrMore guides
- Voice typing on Windows 11: how to turn it on and get clean text
- How to dictate in VS Code and other code editors
- How to dictate email and documents that read well
- Is speaking faster than typing? What the studies found
- Typing by voice when your hands or wrists hurt
- Voice typing for students and writers: getting a first draft down
- Speech to text in more than one language: what works
- How to choose a dictation app: seven things to check