Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Debby ‬⁂📎🐧:disability_flag:
@debby@hear-me.social  ·  activity timestamp 2 weeks ago

🗣️🎤📝 linux Speech to Text and Text to Speech on GNU/Linux disability_flag 📝🔊💻

Why This Matters to Me (and Maybe You Too)

If you’re anything like me—a Linux user who counts on voice typing and TTS because of visual impairment—you know that accessibility is not a luxury, it’s a necessity. Speaking from experience as someone who depends on voice typing (and TTS) , the quest for a seamless, local, FLOSS speech-to-text (STT) setup on Linux can be frustrating.
Here’s how you can succeed with modern tools using Linux. FLOSS means freedom and privacy; working locally means real control.
Let’s dive in! I’ll tell you what I’ve learned and what I use—and hope you’ll share your favorite tools or tips!

System-Wide Voice Keyboard: Speak Directly in Any App

Want to speak and have your words typed wherever your cursor is—be it a terminal, browser, chat, or IDE? Here’s what actually works and how it feels day-to-day:

- Speak to AI (Offline, Whisper-based, global hotkeys)
This tool is my current go-to. It uses Whisper locally, lets you use global hotkeys (configurable) to type into any focused window, and doesn’t need internet. Runs smoothly on X11 and Wayland; just takes a bit of setup (AppImage available!).
GitHub Repo https://github.com/AshBuk/speak-to-ai) | Dev.to Post https://dev.to/ashbuk/i-built-an-offline-voice-typing-app-for-linux-speak-to-ai-3ab5)

- DIY: RealtimeSTT + PyAutoGUI
For the true tinkerers, RealtimeSTT plus a Python script lets you simulate keystrokes. You control every step, can lower latency with your tweaks, but you’ll need to be comfortable with scripting.
RealtimeSTT Guide https://github.com/KoljaB/RealtimeSTT#readme)

- Handy (Free/Libre, offline, Whisper-based, acts as a keyboard)
I’ve read lots of positive feedback on Handy—even though I haven’t tried it myself. The workflow is simple: press a hotkey, speak, and Handy pastes your text in the active app. It’s fully offline, works on X11 and Wayland, and gets strong accuracy thanks to Whisper.
Heads up: Handy lets you pick your own shortcut key, but it actually overrides the keyboard shortcut for start/stop recording. That means it can clash with other tools that depend on major shortcut combos—including Orca’s custom keybindings if you use a screen reader. If your workflow relies on certain shortcuts, this might need adjustment or careful planning before you commit.
GitHub Repo https://github.com/cjpais/Handy) | Demo https://handy.computer)

Real-Time Transcription in a Window (Copy/Paste Workflow)

If you’re okay with speaking into a dedicated app, then copying, these options offer great GUIs and power features:

- Speech Note by @mkiol https://mastodon.social/@mkiol
FLOSS, offline, multi-language GUI app—perfect for quick notes and batch transcription. Not a system-wide keyboard, but super easy to use and works on both desktops and Linux phones.
Flathub https://flathub.org/apps/net.mkiol.SpeechNote | LinuxPhoneApps https://linuxphoneapps.org/apps/net.mkiol.speechnote/)

- WhisperLive (by Collabora)
Real-time transcription in a terminal or window—great for meetings, lectures, and captions. Manual copy/paste required to get the text to other apps.
GitHub Repo https://github.com/collabora/WhisperLive)

More Tools for Tinkerers

If you like building your own or want extra control, check out:
- Vosk: Lightweight, lots of language support. GitHub https://alphacephei.com/vosk/)
- Kaldi: Powerful, best for custom setups. Website https://kaldi-asr.org/)
- Simon: Voice control automation. Website https://simon-listens.org/)
- voice2json: Phrase-level and command recognition. GitHub https://github.com/synesthesiam/voice2json)

Pro Tips

- Desktop Environment: X11 vs. Wayland affects how keyboard hooks and app focus actually operate.
- Ready-Made vs. DIY: If you want plug-and-play, try Speech Note or Handy first. Into automation or customization? RealtimeSTT is perfect.
- Follow the Community: @thorstenvoice offers tons of open-source voice tech insights.

Screen Reader Integration

Looking for robust screen reader support? Linux has you covered:

- Orca (GNOME/MATE): The most customizable GUI screen reader out there. The default voice (eSpeak) is robotic, but you can swap it for something better and fine-tune verbosity so it reads only what matters.
- Speakup: Console-based, ideal for terminal.
- Emacspeak: The solution for Emacs fans.

💡 Orca is part of my daily toolkit. It took time to get the settings just right (especially verbosity!) but it’s absolutely worth it. If you use a screen reader—what setup makes it bearable or even enjoyable for you?

Final Thoughts

If you’re starting from scratch, try Handy for direct typing (just watch those shortcuts if you use a screen reader!) or Speech Note for GUI-based transcription. Both are privacy-friendly, local, and accessible—ideal for everyday Linux use.

Is there a FLOSS gem missing here?
Sharing what works (and what doesn’t!) helps the entire community.

Resources:
Speech Note on Flathub https://flathub.org/apps/net.mkiol.SpeechNote
Handy GitHub https://github.com/cjpais/Handy
Speak to AI Guide https://dev.to/ashbuk/i-built-an-offline-voice-typing-app-for-linux-speak-to-ai-3ab5
RealtimeSTT https://github.com/KoljaB/RealtimeSTT

#Linux #SpeechToText #FLOSS #Accessibility #VoiceKeyboard #ScreenReader #Whisper #Handy #SpeechNote #OpenSource #Community #voicetyping #LocalSTT #TTStools #SpeechRecognition #A11y #Linuxtools #Voicekeyboard #Whisper #Handy #speech-to-text #SpeechNote #review #ScreenReaders #ORCA #FOSS

VOSK Offline Speech Recognition API

Accurate speech recognition for Android, iOS, Raspberry Pi and servers with Python, Java, C#, Swift and Node.
Speech to Text and Text to Speech on GNU/Linux 
A diagram showing the flow of speech to text and back to speech on GNU/Linux, with microphone, text document, and Linux logo icons illustrating open-source voice tools flexibility. 

Quick Comparison Table:
 Which One Should You Try First?
| Use Case               | Best Tool               | Notes                                  |
--------------------------
| System-wide typing | Handy or Speak to AI     | Acts like a keyboard in any app.     |
| Real-time window   | Speech Note or WhisperLive | Copy/paste workflow.                  |
| DIY flexibility    | RealtimeSTT + PyAutoGUI | For those who love scripting.        |
Speech to Text and Text to Speech on GNU/Linux A diagram showing the flow of speech to text and back to speech on GNU/Linux, with microphone, text document, and Linux logo icons illustrating open-source voice tools flexibility. Quick Comparison Table: Which One Should You Try First? | Use Case | Best Tool | Notes | -------------------------- | System-wide typing | Handy or Speak to AI | Acts like a keyboard in any app. | | Real-time window | Speech Note or WhisperLive | Copy/paste workflow. | | DIY flexibility | RealtimeSTT + PyAutoGUI | For those who love scripting. |
Speech to Text and Text to Speech on GNU/Linux A diagram showing the flow of speech to text and back to speech on GNU/Linux, with microphone, text document, and Linux logo icons illustrating open-source voice tools flexibility. Quick Comparison Table: Which One Should You Try First? | Use Case | Best Tool | Notes | -------------------------- | System-wide typing | Handy or Speak to AI | Acts like a keyboard in any app. | | Real-time window | Speech Note or WhisperLive | Copy/paste workflow. | | DIY flexibility | RealtimeSTT + PyAutoGUI | For those who love scripting. |
  • Copy link
  • Flag this post
  • Block
Matt Chambers
@IzzyChambers@social.vivaldi.net replied  ·  activity timestamp 2 weeks ago

@debby @mkiol @thorstenvoice Nice summary. Have you tried Talon? https://talonvoice.com

  • Copy link
  • Flag this comment
  • Block
Debby ‬⁂📎🐧:disability_flag:
@debby@hear-me.social replied  ·  activity timestamp 2 weeks ago

@IzzyChambers Oh, thanks for the tip! I haven’t tried Talon, but from what I’ve seen, it looks more like a voice command interface rather than a pure speech-to-text tool for transcription or dictation. It’s super powerful for automation and accessibility—but it’s not FOSS, which is a bummer.

If you’re looking for something FOSS and focused on transcription/dictation, the tools I mentioned earlier (like Handy, Speech Note, or Subtitle Edit) might be a better fit.

But if you’ve used Talon, I’d love to hear your thoughts!

  • Copy link
  • Flag this comment
  • Block
Matt Chambers
@IzzyChambers@social.vivaldi.net replied  ·  activity timestamp 2 weeks ago

@debby I should add that I think Talon is very good for commands, but not very good for dictation and editing.

  • Copy link
  • Flag this comment
  • Block
Matt Chambers
@IzzyChambers@social.vivaldi.net replied  ·  activity timestamp 2 weeks ago

@debby I've used Talon, but before I retired I used Dragon Professional on Windows, which I greatly preferred. Now that I'm retired, I don't need speech to text that much. I've only used the free version of Talon, not the "beta", which costs something like $25/month. I found Talon very hard to use, perhaps because I was used to the Dragon way of doing things. BTW, on Linux Talon runs on X11, not Wayland.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.7 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login