-
Notifications
You must be signed in to change notification settings - Fork 3
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
speech-dispatcher doesn't come with the necessary socket to make it work with some Flatpak apps #569
Comments
Looks like this should definitely be a user unit and not a system one. Can you file a bug in bugzilla for this package and link it here? Thanks |
Looks like the package should be using another configure flag to get user units instead of a system one. |
Ah, this is not yet available in a released version of speechd :/ |
Double checking this then, couldn't we patch the package in the meanwhile? We could look at how Ubuntu is packaging it to have the socket work, as AFAIK they have a fully working package. Could you link me the Bugzilla page for the package, I'll open an issue and hope for the best. |
To open a bug for speech-dispatcher: https://bugzilla.redhat.com/enter_bug.cgi?component=speech-dispatcher&product=Fedora Specfile in: https://src.fedoraproject.org/rpms/speech-dispatcher |
Ubuntu is shipping an non-stable (rc) version: https://packages.ubuntu.com/source/noble/speech-dispatcher |
Issue opened! Thanks for the help! |
Describe the bug
The speech-dispatcher package needed for screen reader support doesn't come with the necessary
/usr/lib/systemd/user/speech-dispatcher.socket
to make it work with some Flatpak apps (in my testing mainly Firefox through Flatpak and Foliate).The current workaround is to manually run
/usr/bin/speech-dispatcher -d -t 0
in the terminal before opening the apps to make them work, but we shouldn't need it.Currently, if you try to use the
speech-dispatcher.service
and thespeech-dispatcherd.service
both of them give out this error:I'm not 100% sure if this is an issue just with Silverblue or with both SB and Workstation, but as I found it on SB I decided to report it here, and I couldn't find an open issue about it for Workstation. As far as I'm aware the only distro properly shipping it is Ubuntu.
To Reproduce
Please describe the steps needed to reproduce the bug:
ls /usr/lib/systemd/user | grep speech
to make sure the file socket file isn't there, which it probably isn't./usr/bin/speech-dispatcher -d -t 0
You can try the same thing with Foliate, as you'll get this error message if you try to use the read aloud option without running the command.
Expected behavior
Speech-dispatcher would be able to read aloud the content in apps run through Flatpak.
Screenshots
2. Firefox's Reader mode working after manually running the server.
OS version:
I've been using the latest Universal Blue Silverblue image, but also tested in the latest vanilla Silverblue image, I just haven't tested on Workstation.
Additional context
This merge request for Flatpak might be related in some level, but I'm not 100% sure:
flatpak/flatpak#5272
The text was updated successfully, but these errors were encountered: