Re: [orca-list] Programatically detecting if Orca is running
- From: Nolan Darilek <nolan thewordnerd info>
- To: orca-list gnome org
- Subject: Re: [orca-list] Programatically detecting if Orca is running
- Date: Mon, 13 Apr 2020 07:29:12 -0500
Put another way, how does/will Chrome know that
--force-renderer-accessibility isn't necessary and that a screen reader
is running? I promise it won't be by grepping the process table for
"orca" or looking for config files (no offense to those who suggested
either, but my point is that there's probably an API in place for this
and I'm hoping for a pointer to it.)
Thanks.
On 4/13/20 5:28 AM, Didier Spaier via orca-list wrote:
Le 13/04/2020 à 11:55, Volodymyr Dorozhinsky via orca-list a écrit :
I guess this problem can be solved by checking some setting in configuration files. Since when pressing
Super+Alt+S to start orca this setting is being recorded somewhere to be able to start orca automatically on
the next login. At least that's how this works in Ubuntu-Mate.
It all depends on the scope intended by the OP. If he only targets one desktop in one distribution, that's
fine. Else, more investigation is needed.
For instance in Slint this is recorded in ~/.config/autostart/startorca.desktop so this would work:
if [ -f ~/.config/autostart/startorca.desktop ] && grep -wq "Hidden=false" ~/.config/autostart/startorca.desktop; then
echo "user wants a screen reader on the desktop"; fi
But there are many other ways to record this setting...
Didier
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]