Skip to content

TuxTalk 0.18.0: no typing into password boxes, faster typing, and COSMIC

Choose a tag to compare

@ronb1964 ronb1964 released this 23 Oct 22:11

Quick note before anything else: I don't write code. Claude writes TuxTalk, and I design it, test it, and dictate nearly everything I write with it. I hold the code to the standard an experienced developer would respect, readable and tested with no leftovers, and the About page says how.

It won't type into password boxes. If your cursor is in a password field when you let go of F8, nothing gets typed. You hear the low beep and a note pops up over the window saying why, and those words don't land in Recent Dictations either. Saying just "press enter" still works there, so you can log in after typing the password yourself. Thing is, TuxTalk can only tell when the app says it's a password box. GTK apps do, so most of GNOME, Cinnamon and Xfce. KDE apps and Firefox do with accessibility switched on. Chrome, Brave and apps built on them like Discord and VS Code mostly don't, so there it can't tell. The box your desktop pops up asking for your admin password counts too, on GNOME, KDE, Cinnamon, COSMIC and Xfce.

Typing is about six times faster, and ydotool is gone. TuxTalk has its own virtual keyboard built in now. A 25 letter sentence that took about six tenths of a second to show up takes about a tenth. There's no background program to keep running anymore, so no more "TuxTalk's typing helper had stopped", and first run doesn't install ydotool. You'll notice the speed most on X11, like Mint, where TuxTalk types everything. If you have a slow computer and letters ever go missing, key_delay in config.toml slows it back down (6 or 12 are safe). Tell me if that happens.

COSMIC works now. On Pop!_OS 24.04 TuxTalk knows which window you're in, so a terminal gets plain text, and F8 doesn't leave junk like ^[[19~ in the terminal anymore. Typing follows the keyboard layout you set in COSMIC Settings too.

Same fix on the other X11 desktops, Mint with Cinnamon, Xfce and MATE. Dictating into a terminal there typed ^[[19~ before your words. That's gone.

If your keyboard isn't a US one, a shortcut like Ctrl+Alt+P for Paste Last Dictation now uses the key with that letter printed on it. On a German keyboard Ctrl+Alt+Y used to do nothing while the key labelled Z ran it and typed a z as well. And Alt+F8, which resizes a window on KDE and GNOME, doesn't start a dictation on top of that anymore.

Before this went out we went through the code one more time and found a few things. One was a security problem. On a system without systemd, where the hotkey helper can't run, Fix Typing wrote its setup script to a temp file and ran it as root after you typed your password, and another program running as you could have swapped that file in between. Now the script goes straight to root and never touches the disk. A couple of things were also landing in the log that shouldn't have, like every key pressed during the first-run hotkey test on those same systems. Those are out.

On a French keyboard, "clear the whole box" pressed Ctrl+Q, which quits most apps. That's fixed, and pasting works on Dvorak now too. In KWrite and Kate, saying "new line" after a line that started with $45 gave you $$25, because those editors copy the start of the line above. Fixed. Hands-free with a fan running could keep recording forever, and if the AI for self-corrections ever crashed it stayed off until you restarted TuxTalk. Both fixed.

Windows fit smaller screens. On a 1280x800 laptop Setup Complete and About were as tall as the screen and their buttons ended up behind the dock. Now every window leaves room and scrolls if it has to, with its buttons in view, and that goes for two monitors of different sizes too.

Emoji show up on every computer now. On one with no emoji font installed, like Tony's Mint, the markers in Preferences and Help were little boxes with a code in them. TuxTalk carries the few it uses in a small font of its own.

A few smaller ones. Notifications say what happened in the title instead of just "TuxTalk". Uninstall leaves the speech models in the shared Hugging Face folder alone unless you tick the box, since other apps might use them, and it tells you if it couldn't remove something instead of saying it's all done. The Parakeet update offer doesn't start a 670 MB download anymore if you happen to hit Enter while it pops up. And Transcribe a File's audio library brings FFmpeg and a bunch of other libraries with it, and their license notices are all in there now. They should have been from the start.

Got an idea for TuxTalk? Feature Requests is where to post it, and you can vote on what's already there. The changelog has the rest.

Using TuxTalk on Arch? A vote on the AUR page helps other Arch users find it.