- Get an SSD cloud server in less than a minute!
- Protect your important files with Dropbox. Get your free account today!
- Get paid for reading email!
I was told that speakup isn’t as difficult to install any more because you don’t have to recompile the kernel any more, So, I thought I would give it a go. It took a few minutes, but over all, it was very easy to get it up and running. If you too would like to install speakup, here are the instructions. Thanks goes to Paul Hunt for helping with the instructions. This was done an a Dell Studio 1536 running Ubuntu Intrepid.
First, we need to install the git-core package. In a terminal, type:
sudo apt-get install git-core
After that package is installed, get the speakup packages with this command:
git clone http://www.linux-speakup.org/speakup.git
This one takes a while, so play a game or something, but keep checking back on it. It will finish eventually. After that happens, it is time to compile and install. To do this, type:
sudo make modules_install
After the above three commands have completed, you need to move some files around because they aren’t installed in the right place. Enter the following commands:
cd /lib/modules/`uname -r`/extra/speakup
sudo cp * ..
Once that has been done, activate by typing:
sudo depmod -a
Now everything should be ready. So to start the module, type:
sudo modprobe speakup_soft start=1
So that you don’t have to type the above line every time your computer is restarted, do the following:
sudo vi /etc/modules
This will open the vim text editor. Press the escape key to make sure you are in command mode. Use down arrow to move to the bottom of the file. Once there, press shift A to get in to append mode. Type the following line exactly as it is here:
Press the escape key to get back in to command mode. Then type the following to save and exit vim:
Once you press enter the file will be saved. To get espeak working with speakup, do the following:
unzip espeakup with the following:
tar xvf espeakup-0.60.tar
sudo make install
Launch it with:
sudo espeakup –default-voice voice name
So, for US English, the command would be:
sudo espeakup –default-voice en-us
You can add espeakup to /etc/init.d/rc.local, so you won’t need to launch espeakup every time your system is restarted. Place the line at the very end of the file.
You can not use speakup with plain old gnome-terminal. You need to open a text console. You can do this with control+alt+f1 through f6. You can get back to your normal desktop with control+alt+f7. when you bring up the text console you will need to log in with your user name and password. You can read the speakup manual in the ~/speakup/doc directory. For those of us who don’t like using key echo, you can disable it. You need to be root to make this change, so type:
sudo su – root
then, to disable it, type:
echo 0 > /sys/module/speakup/parameters/key_echo
after that is done, type exit to logout from the root account. To do this automatically, add it to /etc/init.d/rc.local. There are other parameters you can change as well such as volume and rate. In the above command change the number 0 to 9 and key_echo to rate to set the voice rate.
echo 9 > /sys/module/speakup/parameters/rate
That’s about it, have fun. Remember, when you find a setting you like, just add it in to the end of /etc/init.d/rc.local to make it happen at startup.