Skip to content
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

Pied wipes speech dispatcher config #27

Open
C-Loftus opened this issue Feb 27, 2025 · 2 comments
Open

Pied wipes speech dispatcher config #27

C-Loftus opened this issue Feb 27, 2025 · 2 comments

Comments

@C-Loftus
Copy link

C-Loftus commented Feb 27, 2025

Thank you for your work on this repo. I was hoping to use it with the Orca screen reader but unfortunately in my testing I am finding that upon installing a voice it wipes the speech dispatcher config located at ~/.config/speech-dispatcher. This is a problem for non-visual users since speech dispatcher is tricky to configure and when the config is wiped, all the synthesizers need to be reconfigured. Very often a user will want to switch between synthesizers quickly and just having one like piper installed at a time makes this a longer process to switch.

I tried to solve this myself but couldn't figure it out given some local issues building flatpak and my unfamiliarity with dart. Any tips would be much appreciated. I presume this is a simple fix just with path issues and would help a lot of visually impaired folks!

This is the cause of #25 , and prevents users from using other voices with other client apps using speech dispatcher

The screenshot below shows the config folder before running pied. Note how there are many modules and a full speechd.conf file with many options inside

config before running pied which shows many modules installed

However after running pied and selecting a voice from the GUI all of these modules are wiped. Its possible that this is the result of a files being moved or something analogous. Also once the config is applied the speechd.conf file becomes just the pied template and no longer contains any of the global settings the user had before

config after running pied which shows only piper and others deleted

@C-Loftus
Copy link
Author

I saw that there is an existing discussion about a way to revert the install by moving the config back, but ideally, unless I'm missing something, can't you just append to the speech dispatcher config and not mutate / move anything else?

#17 (comment)

@sthibaul
Copy link

sthibaul commented Mar 4, 2025

(I don't see a reason for overwriting everything, if pied wants to update piper.conf, it can limit itself to that. Actually, the tendency is to just not have to modify a .conf file, and just auto-detect everything and let users choose the voice inside e.g. the orca configuration panel)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants