odilia-app / odilia

A fast screenreader for the *nix desktop.
https://odilia.app
GNU General Public License v3.0
105 stars 15 forks source link

Automatically Start Speech Dispatcher #143

Open TTWNO opened 2 months ago

TTWNO commented 2 months ago

Speech dispatcher does not start automatically, and our current methods don't appear to wake it up.

Running spd-say 'hi', followed immediately by cargo run appears to work. So let's find out what it does differently to get speech dispatcher working.

petrovvvv commented 1 month ago

Is this still an issue? Speech dispatcher seems to start automatically when I run Odilia.

TTWNO commented 1 month ago

I still have the issue.

petrovvvv commented 1 month ago

Looking into this now. To clarify, does this only happen the first time you run it after installing, or every time? Also, what system are you on? I'm trying to figure out why it's not happening on my computer.

TTWNO commented 1 month ago

It happens the first time when Speech Dispatcher has not been used in some time. For example if the background process has shut down, then it will not automatically start when Odilia asks for it to.

Running spd-say 'hi' seems to wake SD up for some reason; then, Odilia launches fine. I want Odilia to do the same, without the command spd-say actually running.