[Bug 1291105] Re: After using spd-say (with pico TTS) with the root account, spd-say stops working for users

2014-03-17 Thread Jean-Philippe Guérard
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

[Bug 1291105] Re: After using spd-say (with pico TTS) with the root account, spd-say stops working for users

2014-03-17 Thread Jean-Philippe Guérard
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:

Re: [Bug 1291105] Re: After using spd-say (with pico TTS) with the root account, spd-say stops working for users

2014-03-16 Thread Luke Yelavich
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

[Bug 1291105] Re: After using spd-say (with pico TTS) with the root account, spd-say stops working for users

2014-03-14 Thread Jean-Philippe Guérard
** 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

[Bug 1291105] Re: After using spd-say (with pico TTS) with the root account, spd-say stops working for users

2014-03-12 Thread Jean-Philippe Guérard
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

Re: [Bug 1291105] Re: After using spd-say (with pico TTS) with the root account, spd-say stops working for users

2014-03-11 Thread Luke Yelavich
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:

[Bug 1291105] Re: After using spd-say (with pico TTS) with the root account, spd-say stops working for users

2014-03-11 Thread Jean-Philippe Guérard
** 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