Install festival and esound-clients. To do so, follow this tutorial:
https://help.ubuntu.com/community/TextToSpeech
Install xsel:
Code:
sudo apt-get install xsel
Create new file in your home folder, call it "clipboardtospeech.sh" or something, edit it and paste the following line:
Code:
xsel --clipboard | festival --tts
Save and exit. Rightclick the file, properties, rights (is it called rights? i'm on a dutch system). Make the file executable
make a hotkey that launches the shell script:
Code:
/home/username/clipboardtospeech.sh
Other more or less usefull scripts:
Time
Code:
echo "It's $(date '+%-M') past $(date '+%-l')" | festival --tts
Info about track playing in Banshee (can be adapted to rhythmbox, just hit rhythmbox --help in the terminal)
Code:
banshee --query-artist | festival --tts && banshee --query-album | festival --tts && banshee --query-title | festival --tts
Bookmarks