Prasit Mankad

Voice as the missing layer in my AI workflow

Typing is the bottleneck for AI-assisted work, not thinking. Here is how I fixed that on Linux with a push-to-talk setup.

The bottleneck in my AI workflow isn’t thinking. It’s typing. I can describe what I want in 30 seconds of speech. Typing the same thing takes three minutes, and I lose the thread halfway through.

I’ve known this for a while. What I didn’t have was a setup that worked reliably on Linux without being annoying to use.

The Linux voice input problem

The options on Linux for speech-to-text fall into a few categories. Local models (Whisper running on your machine) are private but slow on CPU, and fast only if you have a GPU you’re willing to dedicate to transcription. Cloud-based tools are faster but require an always-on connection and usually an API key. Most of the tools I tried, including linux-whispr and LinuxWhispr, worked but had friction: setup complexity, inconsistent hotkey behavior, or latency that broke the flow.

What I ended up using is speaksy. Push-to-talk hotkey, audio sent to Groq’s Whisper API, transcription typed directly into whatever application has focus. No wake word. No always-listening microphone. No local model required. The Groq API is fast enough that the transcription appears within a second of releasing the hotkey.

The Wayland complication

On KDE Plasma with Wayland, injecting keystrokes into another application is harder than it sounds. X11 had xdotool, which could type into any window. Wayland’s security model restricts this. Applications need to support the XDG portal for input injection, or you need ydotool, which requires access to the uinput kernel module.

Getting ydotool working meant adding my user to the input group and loading the uinput module at boot. Not complicated, but not obvious either. Once it was set up, speaksy could type into any application, including the terminal and my AI coding tool.

The hotkey I use is Super+V. Speaksy runs as a persistent service started at login. Hold the hotkey, speak, release, and the transcription appears at the cursor.

What changed in practice

I now dictate first drafts of prompts. A complex prompt that would take me three minutes to type takes 30 seconds to speak. The AI handles grammar cleanup. I’m not trying to dictate perfect prose; I’m trying to get the idea out fast enough that I don’t lose it.

The workflow for a typical coding session looks like this: I hold Super+V and describe what I want the AI to build. Something like “create a React component for a product card that takes a title, price, image URL, and an optional badge label, and matches the card style in the existing design system.” That sentence took me about 8 seconds to say. It would have taken me 45 seconds to type, and I would have edited it twice along the way.

The AI gets a richer, more specific prompt because I’m not rationing words to save typing time.

Where it doesn’t work

Code dictation is bad. Indentation, syntax, special characters, variable names with underscores: speech is not the right interface for any of that. I don’t try to dictate code. The AI writes the code; I write the instructions.

It also doesn’t work well in noisy environments. I work from home most of the time, so this isn’t usually a problem. But in a café or on a call, the push-to-talk model picks up background noise and the transcription degrades.

Long, complex technical specifications are also better typed. If I’m writing a detailed architecture description with specific constraints, I want to be able to edit as I go. Speech-to-text gives you a linear transcript; you can’t go back and insert a clause in the middle of a sentence you spoke two minutes ago.

The interesting implication

Voice input combined with AI changes what a “prompt” is. When I type a prompt, I’m already editing it as I write. I cut words, rephrase, second-guess. The prompt I send is a polished version of what I wanted to say.

When I dictate, I send the raw version. And the AI often does better with the raw version, because it has more context. The hedging and editing I do when typing sometimes removes information the AI would have used.

The transcription becomes the instruction, and the AI refines and structures it. I’m not writing prompts anymore. I’m talking to the tool, and the tool is doing the writing.

That’s a different relationship with the software than I had a year ago.