-
-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flatpak TTS does not work #1126
Comments
It should work if speech-dispatcher is actively running on the host, but it does appear that it can't activate speech-dispatcher automatically if it isn't running. |
Are there any good human like tts voices who can do tts with foliate? |
Just found out https:/rhasspy/piper The voice samples, they are too good if we could get it working as a flatpak, that'd be nice. |
I've installed but with flatpak foliate even with talkname and full system access, it is throwing error: here's the error output:
|
Just to test this some more.
It did successfully speak. I've not added/removed any permissions for foliate's flatpak. I would note there are no controls for TTS though, so once you start it you can't stop it unless you back out of the book entirely. I assume it is trying to tap into the speechd.sock which only temporarily exists while an ongoing speech command is running. If you try to start tts in foliate without first starting spd-say in a terminal with some text line you get this (on fedora 39 workstation)
|
You can use
In older versions of speech-dispatcher, yes. But it supports socket activation starting from 0.11.4. The Ubuntu package for speech-dispatcher installs a But the packages for Debian (https://packages.debian.org/bookworm/amd64/speech-dispatcher/filelist) and Arch Linux (https://archlinux.org/packages/extra/x86_64/speech-dispatcher/files/) don't install this file. Presumably this is the case on Fedora as well.
No, that warning is about Tracker. I think it happens if you don't have |
Just tried the Flatpak on Ubuntu, and it seems to be working. |
Added a section in troubleshooting with an explanation and a workaround for this issue: https:/johnfactotum/foliate/blob/gtk4/docs/troubleshooting.md#text-to-speech-doesnt-work |
Thank you, starting I'm really thankful for such a wonderful ebook reader, and you've really done a great job with foliate. Do you by any chance know how to change the speech-dispatcher to use "piper" voices which are really good. the robotic voice is not so cool you know. |
|
Posting this here as well |
@qoijjj thank you so much, I've installed voices using pied. they work. in a terminal @johnfactotum could you integrate or suggest users to use pied to get great voices. |
Describe the bug
TTS does not work in the flatpak.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
TTS should start.
Screenshots
Version:
Additional context
I have speech dispatcher installed (via a distrobox container and exported to ~/.local/bin) on this host but the flatpak container does not pick it up. Though the flatpak should probably have that dependency installed in its own container if it's an actual dep.
The text was updated successfully, but these errors were encountered: