No Face (@ADTVP)
Posted
0 replies · 0 reposts · 5 likes
Homework part 4. I am using Linux Mint 20.1. Also full disclosure this lesson is stolen from these videos: https://www.youtube.com/watch?v=cloONmLZo4o = explanation of festival with extra Arch Linux additions https://www.youtube.com/watch?v=4uKTamXonPs = where I got the steps being used https://www.youtube.com/watch?v=T2fDWJKeotM = a good lesson on how your computer copies (explanation of xsel) By the end of this lesson if done properly you will be able to highlight text, enter a key combination of your choosing (I use control+t) and have that text read to you. Step 16: sudo apt install festival Step 17: sudo apt install xsel Step 18: cat << eof > http://talk.sh (later on in future lessons we will be doing more with sh files look forward to ventoy coming soon if not next) Step 19: #!/bin/bash (enter) xsel | festival --tts --pipe (enter) eof (enter) chmod +x http://talk.sh (to be clear when you see (enter) that means to hit the enter key) Step 20: hit super (the windows key on your keyboard) type keyboard to open your keyboard settings. On the top middle button/tab you see the one that says Shortcuts? click on it. Then in the lower left click the add custom shortcut. Name the shortcut whatever you want (festival or tts or anything) then where it says command click on the file explorer button and find that http://talk.sh file you created. lastly see the 3 "unassigned" options in the bottom box? Click one of them and enter the shortcut you want to use (I chose control+t though you can use whatever you want a lot of people use super+t) With all of that done now you can highlight any text hit your shortcut and the words will be read out loud to you. Any issues let me know. If you want to watch someone run though the steps watch the second video.