In Kubuntu 18.04 Okular can read any selection text, or the whole document by default.
That is great, it is using
- How do I set the language?
- How can I use it from the CLI?
Can't find any setting in system-settings for speech.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
As for now (also in 19.04) Okular rely on libflite1 which supports only English via only one available qtspeech5-flite-plugin.
jovieand in tray you can configure it and select language. You can use it from command line like
qdbus org.kde.kttsd "/KSpeech" say "Hello World." 0.
orcawhich is configured from: System Settings → Accessibility → Screen reader → Launch Orca Configurator.
sudo apt install python-pip sox libsox-fmt-mp3
pip install gTTS.
~/.local/bin$ ./gtts-cli Hello\ World | play -t mp3 -