Hi again,

if you're using a desktop as well you can reconfigure pulseaudio to
store it's socket in /tmp.
That way you can access one running pulseaudio from diferent user
accounts.

Another dirty hack is to set dmix for pulseaudio.
That way it can not block the audio device and speechd can use alsa
at the same time with pulseaudio.

To get this working edit /etc/pulse/default.pa and search the line
#load-module module-alsa-sink

uncomment that line by remove the # and change it to
load-module module-alsa-sink device=dmix

a 3rd method:
set a symlink so that user root can use speech-dispatcher of the desktop
user.

1. logon as root
2. 
ln -sf /run/user/1000/speech-dispatcher/speechd.sock 
~/.cache/speech-dispatcher/speechd.sock

In Ubuntu 20.04 LTS> I use the last described setup.
BR.
Halim

_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to