Closed anhill1948 closed 3 weeks ago
On August 25, 2024, Andrew wrote:
I have installed Read Text into LibreOffice 24.2 using Linux Mint 21.3
It won't use Python as the program for reading the text even though it is selected. It seems go straight onto the internet to some google translation program.
What can I do about it?
Check that the system speech-dispatcher works. Open a terminal and check if it plays:
spd-say "Hello Andrew."
If it doesn't play, then try:
espeak-ng "Hello Andrew."
If speech doesn't work, then check the Read Text Linux documentation to help select a compatible speech platform to install and guide you how to install it.
Try opening the Flatpak version of LibreOffice with a command.
flatpak run org.libreoffice.LibreOffice --nologo
If LibreOffice 24 does open, then the system could be blocking
speech-dispatcher due to Flatpak permission errors, security settings,
or using a system version of python3-speechd
that is
incompatible with the Flatpak.
The fact that Flatpak programs can block access to system resources is not an extension bug, it is a security feature of the Flatpak format. There is no issue to resolve in the extension code.
If the spd-say
command worked and the flatpak
command worked,
there is a good chance that you can use an alternative framework
that provides speech synthesis by installing the Pied voice model
manager for Piper and Ffmpeg. Instructions are in this
Code Description link.
Pied and Piper rely on specific computer architectures and operating system resources. Therefore, this workaround might not work on your computer. In this case, you should revert to the version of LibreOffice that worked previously or upgrade your Linux distribution.
Good luck!
I have installed Read Text into LibreOffice 24.2 using Linux Mint 21.3 It won't use Python as the program for reading the text even though it is selected. It seems go straight onto the internet to some google translation program. What can I do about it? Andrew.