For your information, if trying this in a snap, make sure to supply a correct XDG_RUNTIME_DIR as that seems to be modified by snapcraft or snapd.
Namely, in a `snap run --shell {snap-name-with-spd}`, this fails:
```
$ spd-say bye
Failed to connect to Speech Dispatcher:
Error: Can't connect to unix socket /run/user/1000/snap.geheim/speech-dispatcher/speechd.sock: No such file or directory. Autospawn: Autospawn failed. Spawn error 8: Failed to execute child process “/usr/bin/speech-dispatcher” (No such file or directory)
```
For your information, if trying this in a snap, make sure to supply a correct XDG_RUNTIME_DIR as that seems to be modified by snapcraft or snapd.
Namely, in a `snap run --shell {snap-name- with-spd} `, this fails:
``` 1000/snap. geheim/ speech- dispatcher/ speechd. sock: No such file or directory. Autospawn: Autospawn failed. Spawn error 8: Failed to execute child process “/usr/bin/ speech- dispatcher” (No such file or directory)
$ spd-say bye
Failed to connect to Speech Dispatcher:
Error: Can't connect to unix socket /run/user/
```
but this works:
``` DIR=/run/ user/1000 spd-say bye
$ XDG_RUNTIME_
```