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










share|improve this question






















  • 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 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

















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










share|improve this question






















  • 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 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















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










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 26 at 17:53









mree

61




61












  • 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 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




















  • 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 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


















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












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.






share|improve this answer























  • @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











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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

























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.






share|improve this answer























  • @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















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.






share|improve this answer























  • @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













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.






share|improve this answer














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.







share|improve this answer














share|improve this answer



share|improve this answer








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


















  • @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


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt