#linux #accessibility question: How the heck do I actually use `espeakup`? I have it running as a system service but I'm not sure how to make it do anything. e.g. I don't hear anything when it starts and my terminals aren't reacting any different. The man page is very sparse without any guide on how I'm supposed to actually use it.
@mauve eSpeakup is the bridge between Speakup and eSpeak. If you don't have one or the other, nothing will happen when you log in via shell or drop to shell. Also, it's been a while, but I think it only works on eSpeak, not eSpeakNG.
As an alternative, you might try Fenrir, which is an entire shell screen reader written in Python.
@bscross32 TY! It seems arch linux doesn't have "speakup" in their package manager. Must have misunderstood something somewhere.
I still haven't had luck getting fenrir to work. Could it be due to me using wayland as the "top level" window manager instead of the default linux terminal emulator? 😅 It starts, and it seems to capture Fenrir+H, but it's not reading my terminals.
@emassey0135 Good to know thank you! I use speech-dispatcher in other contexts so speechd-up is interesting. Is it strictly necessary to run it as root? Do you have your configs published somewhere by any chance?
@emassey0135 @mauve And this, right here, perfectly sums up why my Linux workflow has been for years, and likely will remain so for at least another decade, using a Windows machine with ssh and samba. Well, before I switched to a physical linux box I just used WSL's built-in WSL$ environment variable instead of samba, but headless linux boxes without any audio are how I've done most of my work in the past few years. But I refuse to touch Linux audio. And this whole reply...perfectly sums up why, haha. It's insanely impressive you've figured that out, but you should not have had to.
@TheQuinbox @mauve True, I think a good NixOS flake could solve a lot of this though. Or even just better default configurations with all of this set up on most distributions, although you pretty much expect Arch Linux to require you to configure everything yourself. But for other distributions like Ubuntu and Fedora that are supposed to be easy to use and already set up, they could just set all this up so you have console speech by default if you enable Orca on the desktop.
@mauve Another thing to be aware of is that when you compile speechd-up, you have to make a change to one of the C files because there is a compilation error. It is a very small change though. You also have to run "make speechd-up" instead of just "make", because the info documentation is broken for some reason. Here's the repository I get it from: https://github.com/williamh/speechd-up
@mauve Perhaps you could make a udev rule that changes the permissions of /dev/softsynth so you don't have to run it as root. Then you could create a Systemd user service for it. The difficult part with this is making it work on the login prompt. I think if you run "loginctl enable-lingering <your-user>" that might work, and add yourself to the audio group if you use Pipewire. Actually that might end up being more reliable then running it as root, because when I run it as root and make it use my user's Speech Dispatcher, there is no way to make it depend on it that I've found, so it often doesn't work at the login prompt and I have to restart the service manually. Although maybe I could make it depend on the socket file existing, since I already have my user's Speech Dispatcher running as a daemon with no timeout instead of using auto-spawn. But running it as your user and not as root might still be better because then auto-spawn might actually work so you wouldn't need to worry about adding an explicit dependency or making Speech Dispatcher run as a daemon. i have not published my configs, but I could look into running speechd-up as my user instead of root and see if it works and let you know what I did.