That seems like a good idea.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1291105
Title:
After using spd-say (with pico TTS) with the root account, spd-say
stops working for users
To manage
I did some additional tests. This does not work in all cases.
If I switch to root with a sudo su -, XDG_RUNTIME_DIR is not defined.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1291105
Title:
I've actually got a better idea. Instead of checking the user id, we can
use XDG_RUNTIME_DIR as a base for the wav file. So something like
$XDG_RUNTIME_DIR/speech-dispatcher. That will be cleaned up when the
user logs out, and nobody then knows that another user is using speech-
dispatcher's
** Description changed:
The command definition (GenericExecuteSynth) in /etc/speech-
dispatcher/modules/pico-generic.conf use a fixed file name for the wave
file ($TMPDIR/pico.wav):
GenericExecuteSynth \
pico2wave -w $TMPDIR/pico.wav -l $VOICE \'$DATA\' $PLAY_COMMAND
Yes, the fix is tested and works nicely.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1291105
Title:
After using spd-say (with pico TTS) with the root account, spd-say
stops working for users
Have you tested this fix? I only ask because I am not sure shell
constructs like environment variable declaration work in that context.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1291105
Title:
** Description changed:
The command definition (GenericExecuteSynth) in /etc/speech-
dispatcher/modules/pico-generic.conf use a fixed file name for the wave
file ($TMPDIR/pico.wav):
GenericExecuteSynth \
pico2wave -w $TMPDIR/pico.wav -l $VOICE \'$DATA\' $PLAY_COMMAND