ESpeak: Difference between revisions

Eben (talk | contribs)
Use Espeak-ng to read text on your system from any application
Eben (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 39: Line 39:




This setup will let you read text with mimic tts from '''any application''' on your system simply by pressing a keyboard command.
 
This setup will let you read text with eSpeak-NG from '''any application''' on your system simply by pressing a keyboard command.


After installing eSpeak-ng on your system adding this line to a custom keyboard shortcut in KDE or Gnome.
After installing eSpeak-ng on your system adding this line to a custom keyboard shortcut in KDE or Gnome.
Line 47: Line 48:
To stop espeak-ng we can use the following command:
To stop espeak-ng we can use the following command:
  <code>pkill espeak-ng</code>
  <code>pkill espeak-ng</code>
'''Important:''' as these commands are run as a scrip instead of in a full shell environment its best to put the full path to each application you call, for example: usr/bin/xsel & usr/bin/espeak-ng etc.
In gnome open system settings then go to: Keyboard » Customise Shortcuts » Custom Shortcuts » + and make two new shortcuts, one to start reading using the line above and another shortcut to stop reading with the <code>pkill espeak-ng</code> command.
In gnome open system settings then go to: Keyboard » Customise Shortcuts » Custom Shortcuts » + and make two new shortcuts, one to start reading using the line above and another shortcut to stop reading with the <code>pkill espeak-ng</code> command.