GNOME Bugzilla – Bug 795786
Should shutdown speech when switching off from Xorg
Last modified: 2020-11-30 15:46:05 UTC
Hello, With pulseaudio being basically unavoidable these days, we have a problem of concurrent audio card access between the Xorg session's pulseaudio and the Linux console speech synthesis espeakup. Pulseaudio takes the audio card too strongly for espeakup to be able to use it when switching back to the Linux console. We'd thus need to have orca release the audio device when switching off from Xorg. It happens that Xorg provides the information through the root window XFree86_has_VT property, so Orca could just monitor that property and disable speech when it becomes 0. I'm however seeing that the main loop of Orca is actually the registry main loop, so it's not that simple. Perhaps we should add to the registry the ability to monitor it, and Orca would register for a notification? Samuel
(In reply to Samuel Thibault from comment #0) > I'm however seeing that the main loop of Orca is actually the registry main > loop, so it's not that simple. Perhaps we should add to the registry the > ability to monitor it, and Orca would register for a notification? That idea sounds sane to me. Have you opened a bug against AT-SPI2?
Not yet, I was looking for opinions, and Cced Mike and Alejandro :)
If this problem still exists and is an Orca issue (rather than an issue in some other application), please file a new issue in gitlab. Thanks!