A question about Fenrir on Arch linux

Linux for blind general discussion blinux-list at redhat.com
Sat May 22 07:15:46 UTC 2021


Howdy,

Configure speech-dispatcher is not needed. By default fenrir uses the generic speech driver. This does  generate speech by suprocessing. So basically same like calling espeak-ng in shell.

I dont stay at home currently as i help a friend to knock down a wall in his house (thats fun).

Can you send me a debug file of fenrirs initialisation progress to analyze your issue?

sudo fenrir -d

Then press 
Ctrl + c 

You find a file /tmp/fenrir<PID>_<timestamp>.log
 
Where PID is replaced by process ID and timestamp wit current date. /time

Still looking forwart to meet you in IRC :D

Cheers chrys

Von meinem iPhone gesendet

> Am 22.05.2021 um 02:04 schrieb Linux for blind general discussion <blinux-list at redhat.com>:
> 
> Hi did you tell speech-dispatcher to use espeak-ng?.  You can change this in etc/speech-dispatcher/speechddccf. Speechddccf HTH.
> 
> Matthew
> 
> 
> 
> -----Original Message-----
> From: blinux-list-bounces at redhat.com <blinux-list-bounces at redhat.com> On Behalf Of Linux for blind general discussion
> Sent: Friday, May 21, 2021 7:39 AM
> To: blinux-list at redhat.com
> Subject: Re: A question about Fenrir on Arch linux
> 
> Hello there,
> 
> 
> removing espeak doesn't fix it, the same problem still persists.
> 
> Best regards.
> 
> Francisco.
> 
> 
>> On 5/21/21 12:36 PM, Linux for blind general discussion wrote:
>> Howdy
>> 
>>> I have espeak, sox, and xclip installed, plus pulseaudio, 
>>> pulseaudio-alsa, alsa-utils and plugins. 
>> espeak-ng is used by default instead of espeak. espeak-ng is the 
>> successor of espeak. do take care to not install espeak but espeak-ng 
>> and give another shot :).
>> 
>> 
>>> Am 21.05.21 um 11:47 schrieb Linux for blind general discussion:
>>> Hello there,
>>> 
>>> 
>>> Just for the heck of it, I redid a clean install of arch with 
>>> pulseaudio this time, and I configured everything I needed running 
>>> the sh script you indicated.
>>> 
>>> It half works, and half doesn't.
>>> 
>>> What I mean by that is that when I restarted the machine, just a few 
>>> seconds ago and ran fenrir as sudoer, it played the sound icon, thing 
>>> that with pipewire didn't happen, but gave me no speech at all.
>>> 
>>> I have espeak, sox, and xclip installed, plus pulseaudio, 
>>> pulseaudio-alsa, alsa-utils and plugins.
>>> 
>>> Any suggestions?
>>> 
>>> Thanks again.
>>> 
>>> Best regards.
>>> 
>>> Francisco.
>>> 
>>> On 5/18/21 5:06 PM, Linux for blind general discussion wrote:
>>>> Howdy,
>>>> 
>>>> do you have the requirements for the generic sound / voice drivers 
>>>> installed?
>>>> To get sure, reinstall it execute:
>>>> sudo pacman -S sox espeak-ng xclip
>>>> 
>>>> sox is used for play sound, espeak for voice output in the default 
>>>> configuration, xclip is a funny toy to let fenrir share the 
>>>> clipboard between your GUI and Terminal.
>>>> 
>>>> start fenrir for testing in foreground - you can stop it using CTRL + C
>>>> sudo fenrir
>>>> 
>>>> did you hear the startup sound? fenrir plays a little soundicon at 
>>>> startup.
>>>> 
>>>> if not, then pulseaudio is not configured.
>>>> short story execute:
>>>> # configure user
>>>> /usr/share/fenrirscreenreader/tools/configure_pulse.sh
>>>> # configure root
>>>> sudo /usr/share/fenrirscreenreader/tools/configure_pulse.sh
>>>> 
>>>> # need to restart that the configuration for both get active
>>>> 
>>>> restart
>>>> 
>>>> then retry
>>>> 
>>>> sudo fenrir
>>>> 
>>>> long storry: fenrir needs by default to run as root to collect the 
>>>> data on your screen or caputre the input devices. if fenrir speaks 
>>>> or creates sound, it does this as root user. you wont hear sound of 
>>>> an other user by pulseaudio (sound server) design. We need to 
>>>> transport the sound created as root to the sound server you have 
>>>> running as user to finally hear the sound.
>>>> 
>>>> fenrir provides 2 scripts (see above) to configure the root puse 
>>>> audio to send the data to your user and configure user pulse audio 
>>>> to listen to the sound sent by root and play it.
>>>> 
>>>> cheers chrys
>>>> 
>>>> 
>>>> 18.05.21 um 14:46 schrieb Linux for blind general discussion:
>>>> 
>>>>> Hello there,
>>>>> 
>>>>> 
>>>>> Thanks so much, now, that part of the problem is solved!
>>>>> 
>>>>> The other part, how ever, that is not solved, is that fenrir 
>>>>> doesn't speak with espeak, or espeak-ng.
>>>>> 
>>>>> Do I have to set something somewhere for that to happen?
>>>>> 
>>>>> Thanks again.
>>>>> 
>>>>> Best regards.
>>>>> 
>>>>> Francisco.
>>>>> 
>>>>> On 5/18/21 10:24 AM, Linux for blind general discussion wrote:
>>>>>> Howdy Francisco,
>>>>>> 
>>>>>> i dont know why those libs are not an dependency by 
>>>>>> python-pyenchant if those are spread warnings. Maybe this should 
>>>>>> be reported to the package maintainer. But anyway.
>>>>>> 
>>>>>> you can ask pacman what package contains the specific file you 
>>>>>> need by "sudo pacman -Fy filename". here i did this for for 
>>>>>> example in libvokko.so:
>>>>>> 
>>>>>> 10:14 [chrys at blackbeast ~] :) $ sudo pacman -Fy libvoikko.so
>>>>>> [sudo] Passwort für chrys:
>>>>>> :: Synchronisiere Paketdatenbanken...
>>>>>> core 903,5 KiB  6,17 MiB/s 00:00 
>>>>>> [#########################################################################] 
>>>>>> 100%
>>>>>> extra 9,3 MiB  26,9 MiB/s 00:00 
>>>>>> [#########################################################################] 
>>>>>> 100%
>>>>>> community 22,8 MiB  29,6 MiB/s 00:01 
>>>>>> [#########################################################################] 
>>>>>> 100%
>>>>>> multilib 222,5 KiB  12,8 MiB/s 00:00 
>>>>>> [#########################################################################] 
>>>>>> 100%
>>>>>> extra/libvoikko 4.3.1-1
>>>>>>    usr/lib/libvoikko.so
>>>>>> 10:15 [chrys at blackbeast ~] :) $
>>>>>> 
>>>>>> so the package you need for libvokko.so is "libvoikko"
>>>>>> to silence out all the warnings do this:
>>>>>> sudo pacman -S libvoikko nuspell hspell
>>>>>> 
>>>>>> this install all 3 (IMO optional dependency's, what should not 
>>>>>> create a warning, but well, it is like it is)
>>>>>> 
>>>>>> i use irssi as IRC (commandline) client. there is also Pidgin (as 
>>>>>> graphical client). both are very nice.
>>>>>> 
>>>>>> looking forward to see you in IRC :).
>>>>>> 
>>>>>> cheers chrys
>>>>>> 
>>>>>> 
>>>>>> Am 18.05.21 um 08:57 schrieb Linux for blind general discussion:
>>>>>>> Hello there,
>>>>>>> 
>>>>>>> 
>>>>>>> I managed to install one of the libraries, but not the other two,
>>>>>>> so thanks for that.
>>>>>>> 
>>>>>>> Also, thanks for suggesting to use yay, I just installed it, I 
>>>>>>> didn't know yaourt was deprecated.
>>>>>>> 
>>>>>>> My question now is, and this'll be dum, what are recommended IRC 
>>>>>>> clients? how do I get them working? what should I know before 
>>>>>>> joining an IRC channel, what ever it might be?
>>>>>>> 
>>>>>>> Thanks again.
>>>>>>> 
>>>>>>> Best regards.
>>>>>>> 
>>>>>>> Francisco.
>>>>>>> 
>>>>>>> On 5/17/21 9:19 PM, Linux for blind general discussion wrote:
>>>>>>>> Hi, I just posted a link to this message intended to chrys 
>>>>>>>> (Fenrir author) on the #a11y channel of irc.linux-a11y.org.
>>>>>>>> 
>>>>>>>> Maybe join him there?
>>>>>>>> 
>>>>>>>> Didier
>>>>>>>> 
>>>>>>>> Le 17/05/2021 à 20:15, Linux for blind general discussion a écrit :
>>>>>>>>> Hello everyone,
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> I just downloaded fenrir-git from the AUR using yaourt.
>>>>>>>>> 
>>>>>>>>> When I try to run fenrir with the command
>>>>>>>>> 
>>>>>>>>> fenrir
>>>>>>>>> 
>>>>>>>>> in a terminal, how ever, i get fenrir's startup sound, and this:
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> [francisco at Blueblink ~]$ fenrir
>>>>>>>>> ** (process:7008): WARNING **: 20:12:45.374: Error loading 
>>>>>>>>> plugin: libhspell.so.
>>>>>>>>> 0: cannot open shared object file: No such file or directory
>>>>>>>>> ** (process:7008): WARNING **: 20:12:45.374: Error loading 
>>>>>>>>> plugin: libvoikko.so.
>>>>>>>>> 1: cannot open shared object file: No such file or directory
>>>>>>>>> ** (process:7008): WARNING **: 20:12:45.377: Error loading 
>>>>>>>>> plugin: libnuspell.so
>>>>>>>>> .4: cannot open shared object file: No such file or directory
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Any ideas on how to fix it, and no speech either.
>>>>>>>>> 
>>>>>>>>> Thank you for any answer.
>>>>>>>>> 
>>>>>>>>> Best regards.
>>>>>>>>> 
>>>>>>>>> Francisco.
>>>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>>>> Blinux-list mailing list
>>>>>>>>> Blinux-list at redhat.com
>>>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> Blinux-list mailing list
>>>>>>>> Blinux-list at redhat.com
>>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> Blinux-list mailing list
>>>>>>> Blinux-list at redhat.com
>>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Blinux-list mailing list
>>>>>> Blinux-list at redhat.com
>>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>>> 
>>>>> _______________________________________________
>>>>> Blinux-list mailing list
>>>>> Blinux-list at redhat.com
>>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Blinux-list mailing list
>>>> Blinux-list at redhat.com
>>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>> 
>>> _______________________________________________
>>> Blinux-list mailing list
>>> Blinux-list at redhat.com
>>> https://listman.redhat.com/mailman/listinfo/blinux-list
>> 
>> 
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list at redhat.com
>> https://listman.redhat.com/mailman/listinfo/blinux-list
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
> 
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list





More information about the Blinux-list mailing list