say command not working on command line only Debian install
up vote
1
down vote
favorite
uname -a
prints the output Linux debian 4.9.0-3-686-pae #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) i686 GNU/Linux
I have only the core system utilities installed with no graphical interface.
I did sudo apt-get install gnustep-gui-runtime
to get the say
command.
when i run the command say foo
the cursor blinks a few times on the line below the prompt before exiting.
echo $?
returns 1
text-to-speech gnustep
|
show 2 more comments
up vote
1
down vote
favorite
uname -a
prints the output Linux debian 4.9.0-3-686-pae #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) i686 GNU/Linux
I have only the core system utilities installed with no graphical interface.
I did sudo apt-get install gnustep-gui-runtime
to get the say
command.
when i run the command say foo
the cursor blinks a few times on the line below the prompt before exiting.
echo $?
returns 1
text-to-speech gnustep
You may havespd-say
available. Check, maybe you can use that.
– Tomasz
Jan 26 at 18:01
@tomasz spd-say is not working either. However, a 0 exit status is returned
– mree
Jan 27 at 19:55
That's strange. Tryman spd-say
. Or what do you mean by not working?
– Tomasz
Jan 28 at 6:07
man spd-say
andman say
both work. No sound is coming out of the audio device
– mree
Jan 28 at 18:27
Sound in Linux can be difficult. I'd start a new question for this. Something like "no sound in Debian" or "no sound from spd-say in Debian". Is there sound when you use other apps?
– Tomasz
Jan 28 at 18:38
|
show 2 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
uname -a
prints the output Linux debian 4.9.0-3-686-pae #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) i686 GNU/Linux
I have only the core system utilities installed with no graphical interface.
I did sudo apt-get install gnustep-gui-runtime
to get the say
command.
when i run the command say foo
the cursor blinks a few times on the line below the prompt before exiting.
echo $?
returns 1
text-to-speech gnustep
uname -a
prints the output Linux debian 4.9.0-3-686-pae #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) i686 GNU/Linux
I have only the core system utilities installed with no graphical interface.
I did sudo apt-get install gnustep-gui-runtime
to get the say
command.
when i run the command say foo
the cursor blinks a few times on the line below the prompt before exiting.
echo $?
returns 1
text-to-speech gnustep
text-to-speech gnustep
asked Jan 26 at 17:53
mree
61
61
You may havespd-say
available. Check, maybe you can use that.
– Tomasz
Jan 26 at 18:01
@tomasz spd-say is not working either. However, a 0 exit status is returned
– mree
Jan 27 at 19:55
That's strange. Tryman spd-say
. Or what do you mean by not working?
– Tomasz
Jan 28 at 6:07
man spd-say
andman say
both work. No sound is coming out of the audio device
– mree
Jan 28 at 18:27
Sound in Linux can be difficult. I'd start a new question for this. Something like "no sound in Debian" or "no sound from spd-say in Debian". Is there sound when you use other apps?
– Tomasz
Jan 28 at 18:38
|
show 2 more comments
You may havespd-say
available. Check, maybe you can use that.
– Tomasz
Jan 26 at 18:01
@tomasz spd-say is not working either. However, a 0 exit status is returned
– mree
Jan 27 at 19:55
That's strange. Tryman spd-say
. Or what do you mean by not working?
– Tomasz
Jan 28 at 6:07
man spd-say
andman say
both work. No sound is coming out of the audio device
– mree
Jan 28 at 18:27
Sound in Linux can be difficult. I'd start a new question for this. Something like "no sound in Debian" or "no sound from spd-say in Debian". Is there sound when you use other apps?
– Tomasz
Jan 28 at 18:38
You may have
spd-say
available. Check, maybe you can use that.– Tomasz
Jan 26 at 18:01
You may have
spd-say
available. Check, maybe you can use that.– Tomasz
Jan 26 at 18:01
@tomasz spd-say is not working either. However, a 0 exit status is returned
– mree
Jan 27 at 19:55
@tomasz spd-say is not working either. However, a 0 exit status is returned
– mree
Jan 27 at 19:55
That's strange. Try
man spd-say
. Or what do you mean by not working?– Tomasz
Jan 28 at 6:07
That's strange. Try
man spd-say
. Or what do you mean by not working?– Tomasz
Jan 28 at 6:07
man spd-say
and man say
both work. No sound is coming out of the audio device– mree
Jan 28 at 18:27
man spd-say
and man say
both work. No sound is coming out of the audio device– mree
Jan 28 at 18:27
Sound in Linux can be difficult. I'd start a new question for this. Something like "no sound in Debian" or "no sound from spd-say in Debian". Is there sound when you use other apps?
– Tomasz
Jan 28 at 18:38
Sound in Linux can be difficult. I'd start a new question for this. Something like "no sound in Debian" or "no sound from spd-say in Debian". Is there sound when you use other apps?
– Tomasz
Jan 28 at 18:38
|
show 2 more comments
1 Answer
1
active
oldest
votes
up vote
2
down vote
I was facing the same problem while I was using it in a script. You can execute spd-say -w "Message"
and see the exit code to be sure if spd-say is able to send signal to the speech dispatcher. If it fails, then you have to reset the spd configuration.
To reset the spd configuration run spd-conf
on terminal.
After running 'spd-conf' a prompt will be appeared where most of the cases the default option can be kept(that means you can press enter several times).
Eventually you will see an option as follows "Can't start Speech Dispatcher. Exited with status 256. Perhaps this is because your Speech Dispatcher is already running.
Do you want to kill all running Speech Dispatchers and try again? [yes] :"
Now press enter and you should hear a message through your speaker.
Now spd-say should work fine.
@JeffSchaller after you recommended I have tried to explain a little more which I think should be helpful for the users. Thank you.
– Shawan Chowdhury
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
I was facing the same problem while I was using it in a script. You can execute spd-say -w "Message"
and see the exit code to be sure if spd-say is able to send signal to the speech dispatcher. If it fails, then you have to reset the spd configuration.
To reset the spd configuration run spd-conf
on terminal.
After running 'spd-conf' a prompt will be appeared where most of the cases the default option can be kept(that means you can press enter several times).
Eventually you will see an option as follows "Can't start Speech Dispatcher. Exited with status 256. Perhaps this is because your Speech Dispatcher is already running.
Do you want to kill all running Speech Dispatchers and try again? [yes] :"
Now press enter and you should hear a message through your speaker.
Now spd-say should work fine.
@JeffSchaller after you recommended I have tried to explain a little more which I think should be helpful for the users. Thank you.
– Shawan Chowdhury
2 days ago
add a comment |
up vote
2
down vote
I was facing the same problem while I was using it in a script. You can execute spd-say -w "Message"
and see the exit code to be sure if spd-say is able to send signal to the speech dispatcher. If it fails, then you have to reset the spd configuration.
To reset the spd configuration run spd-conf
on terminal.
After running 'spd-conf' a prompt will be appeared where most of the cases the default option can be kept(that means you can press enter several times).
Eventually you will see an option as follows "Can't start Speech Dispatcher. Exited with status 256. Perhaps this is because your Speech Dispatcher is already running.
Do you want to kill all running Speech Dispatchers and try again? [yes] :"
Now press enter and you should hear a message through your speaker.
Now spd-say should work fine.
@JeffSchaller after you recommended I have tried to explain a little more which I think should be helpful for the users. Thank you.
– Shawan Chowdhury
2 days ago
add a comment |
up vote
2
down vote
up vote
2
down vote
I was facing the same problem while I was using it in a script. You can execute spd-say -w "Message"
and see the exit code to be sure if spd-say is able to send signal to the speech dispatcher. If it fails, then you have to reset the spd configuration.
To reset the spd configuration run spd-conf
on terminal.
After running 'spd-conf' a prompt will be appeared where most of the cases the default option can be kept(that means you can press enter several times).
Eventually you will see an option as follows "Can't start Speech Dispatcher. Exited with status 256. Perhaps this is because your Speech Dispatcher is already running.
Do you want to kill all running Speech Dispatchers and try again? [yes] :"
Now press enter and you should hear a message through your speaker.
Now spd-say should work fine.
I was facing the same problem while I was using it in a script. You can execute spd-say -w "Message"
and see the exit code to be sure if spd-say is able to send signal to the speech dispatcher. If it fails, then you have to reset the spd configuration.
To reset the spd configuration run spd-conf
on terminal.
After running 'spd-conf' a prompt will be appeared where most of the cases the default option can be kept(that means you can press enter several times).
Eventually you will see an option as follows "Can't start Speech Dispatcher. Exited with status 256. Perhaps this is because your Speech Dispatcher is already running.
Do you want to kill all running Speech Dispatchers and try again? [yes] :"
Now press enter and you should hear a message through your speaker.
Now spd-say should work fine.
edited 2 days ago
answered Nov 10 at 2:16
Shawan Chowdhury
214
214
@JeffSchaller after you recommended I have tried to explain a little more which I think should be helpful for the users. Thank you.
– Shawan Chowdhury
2 days ago
add a comment |
@JeffSchaller after you recommended I have tried to explain a little more which I think should be helpful for the users. Thank you.
– Shawan Chowdhury
2 days ago
@JeffSchaller after you recommended I have tried to explain a little more which I think should be helpful for the users. Thank you.
– Shawan Chowdhury
2 days ago
@JeffSchaller after you recommended I have tried to explain a little more which I think should be helpful for the users. Thank you.
– Shawan Chowdhury
2 days ago
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f419894%2fsay-command-not-working-on-command-line-only-debian-install%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You may have
spd-say
available. Check, maybe you can use that.– Tomasz
Jan 26 at 18:01
@tomasz spd-say is not working either. However, a 0 exit status is returned
– mree
Jan 27 at 19:55
That's strange. Try
man spd-say
. Or what do you mean by not working?– Tomasz
Jan 28 at 6:07
man spd-say
andman say
both work. No sound is coming out of the audio device– mree
Jan 28 at 18:27
Sound in Linux can be difficult. I'd start a new question for this. Something like "no sound in Debian" or "no sound from spd-say in Debian". Is there sound when you use other apps?
– Tomasz
Jan 28 at 18:38