-
Notifications
You must be signed in to change notification settings - Fork 567
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
firefox: tts fails in reader view: cannot access espeak-ng #6484
Comments
Basic debugging information is missing; please follow the bug report template: |
Firejail logsRunning Notable system calls in the log
I think that this is the firefox code that calls speech-dispatcher Speech dispatcher logsAfter some digging I found out that speech dispatcher does write logs, but in /run directory (inside the firejail) file:///run/user/$UID/speech-dispatcher/log/espeak-ng.log
file:///run/user/$UID/speech-dispatcher/log/speech-dispatcher.log
|
So does it work if you whitelist it? |
Its been a while since I wrote a profile. At first I tried to |
Missing information:
Make sure you're using at least firejail 0.9.72.
Unless you want to override the entire /etc/firejail/firefox.profile, it's
Props for this debugging. Does it work with just the following in firefox.local?
Using the above is likely part of the issue, as /etc is not whitelisted for There were many changes to /etc handling in 0.9.73, so does it work with the
|
Description
When using reader view in firefox, the text to speech feature will fail, because it can't access espeak-ng and its data files.
Firefox on linux uses speech-dispatcher for text to speech.
speech-dispatcher may use espeak-ng (I think it has other backends).
So firefox needs to be able to access the
espeak-ng
binary and its data files.https://freebsoft.org/speechd
https://github.com/espeak-ng/espeak-ng
Steps to Reproduce
Run firefox under firejail.
Find an article with lots of text, use the reader view button.
In reader view press the headphones buttons and then the play buttons.
https://support.mozilla.org/en-US/kb/firefox-reader-view-clutter-free-web-pages
Expected behavior
Firefox should use espeak-ng to play a reading of the text.
Actual behavior
Speech dispatcher will play an error message about not being able to find any modules.
Something along the lines of "Its seems like your speech dispatcher is working but none of its sound modules are"
Additional context
I tried to play around with the profile config files.
I was able to make the text to speech work, but it broke other stuff, so this solution is not PR worthy.
Checklist
/usr/bin/vlc
) "fixes" it).https://github.com/netblue30/firejail/issues/1139
)browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)The text was updated successfully, but these errors were encountered: