[BRLTTY] Making brltty speak

Halim Sahin halim.sahin at freenet.de
Wed Dec 8 10:57:08 EST 2021


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



More information about the BRLTTY mailing list