ideasman42 / nerd-dictation

Simple, hackable offline speech to text - using the VOSK-API.
GNU General Public License v3.0
1.21k stars 104 forks source link

Connection refused #107

Open salimZenzouni opened 9 months ago

salimZenzouni commented 9 months ago

Hello,

I've installed ydotoold and ydotool after building them as describe in this repo : https://github.com/ReimuNotMoe/ydotool/tree/master

Then, I lunch the ydotoold as follows:

[salim: ~]$ sudo ydotoold [sudo] password for salim: Socket path: /tmp/.ydotool_socket Socket permission: 0600 READY WARNING: running xinput against an Xwayland server. See the xinput man page for details. unable to find device pointer:ydotoold virtual device

And I got the following error.

[salim: nerd-dictation]$ sudo ./nerd-dictation begin --simulate-input-tool=YDOTOOL --vosk-model-dir=/home/salim/.config/nerd-dictation/model Connection failure: Connection refused pa_context_connect() failed: Connection refused

Can somebody help me out! Thank you!

papoteur-mga commented 5 months ago

Hello, I didn't have success with ydotool without keyboard layout other then US. I prefer DOTOOL. But you error seems to be in pulseaudio capture.