A question about Fenrir on Arch linux

Linux for blind general discussion blinux-list at redhat.com
Tue May 18 19:14:07 UTC 2021


Howdy,

// Do I necessarily have to have pulseaudio? can't I manage with pipewire?

you can have pipewire as well. you can have anything what produce sound 
:). But i cant say anything about that sorry.

i don't know about the concept in the background. If pipewire has an 
similar concept as pulse audio (per user instance and isolation level), 
you might need an similar workarounds here. but the configuration 
scripts might not work then.

if you like experiments, its worth a try. if you find a way, let me 
know, then we can integrate a configure-pipewire as well.

// I ran the scripts, and i did hear fenrir's startup sound icon, but 
only when running Fenrir as current user, not as root, even after 
running the script you suggested.

yea this sounds like the symptom what the pulse configuration scripts 
solve. fenrir cant run as user currently (its planned, but not yet 
complete). so fenrir dont get any input data to process (so the 
screeenreader cant read your screen :), its  a non screen reader XD)

cheers chrys


Am 18.05.21 um 18:52 schrieb Linux for blind general discussion:
> Hi there,
>
>
> Do I necessarily have to have pulseaudio? can't I manage with pipewire?
>
> I ran the scripts, and i did hear fenrir's startup sound icon, but 
> only when running Fenrir as current user, not as root, even after 
> running the script you suggested.
>
> 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





More information about the Blinux-list mailing list