Hi.
Many thanks. If possible, could you outline the process some more? Do I
have to place the script in a certain location? Or can I just paste the
commands at a prompt and hope they persist across restarts? At the
moment I have SSH access to the box. If you could give me a rough idea
of what to place where that would be fantastic.
Cheers,
Mo.
On 19/05/2017 14:03, Jacob Kruger wrote:
I used the following bit of code in python to turn speakUp off:
#!/usr/bin/env python
from subprocess import call
call(["sudo", "systemctl", "stop", "piespeakup"])
To then restart speakUp again, later on, the code:
call(["sudo", "systemctl", "start", "piespeakup"])
#end code
The first actual command equates to:
sudo systemctl stop piespeakup
And, the second, restarting one is:
sudo systemctl start piespeakup
HTH
Jacob Kruger
Blind Biker
Skype: BlindZA
"Resistance is futile, but, acceptance is versatile..."
On 2017-05-19 14:35, Mobeen Iqbal wrote:
Hi people.===========================================================
I'm setting up a headless server running Debian. I had to use speech
during the install, but now I'd like to disable speakup until I actually
need it as I have a speaker plugged in to the server for various
reasons. How can I do this? I have pressed print screen and I receive a
message stating that I've killed speakup. but it comes back on the next
reboot.
Cheers,
Mo.
===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.
This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.
Mike Ray, list creator, January 2013
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.
This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.
Mike Ray, list creator, January 2013