Re: [orca-list] Programatically detecting if Orca is running



It's easier than that.  Lots easier.
Check for the existence of ~/.config/autostart/startorca.desktop
On Mon, 13
Apr 2020, Volodymyr
Dorozhinsky via orca-list wrote:

Date: Mon, 13 Apr 2020 05:55:11
From: Volodymyr Dorozhinsky via orca-list <orca-list gnome org>
Reply-To: Volodymyr Dorozhinsky <dorozhinsky ukr net>
To: orca-list gnome org
Subject: Re: [orca-list] Programatically detecting if Orca is running

Hi,


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.



Best regards

Volodymyr

On 4/13/20 10:50 AM, Arkadiusz Kozio? wrote:
this has already been explained, that getting a orca's process is not
interesting method. People, learn to read.
W dniu 12.04.2020 o?22:38, Jude DaShiell pisze:
pid orca;echo $?;if [ $? -eq 0 ]; then echo "orca is running."
On Sun, 12
Apr 2020, Nolan Darilek wrote:

Date: Sun, 12 Apr 2020 16:09:40
From: Nolan Darilek <nolan thewordnerd info>
To: Orca <orca-list gnome org>
Subject: [orca-list] Programatically detecting if Orca is running

Hey folks,


I'm working on a game engine accessibility project that is essentially a
screen reader running inside the engine. I'd like to enable my screen
reader
if I've detected that another is running. I know how to do this under
Windows
via Tolk, Android via accessibility APIs, but I'm not sure how to do this
for
Orca. Is there any way to detect whether Orca is running, or even better,
if
the user has indicated to GNOME/KDE that they'd like the screen reader
active?


If there isn't an easy way, I'll probably just check for the presence of
the
various magical environment variables we've almost certainly got set to
get
things running, but I'd like to avoid that if possible.


And yes, I know I can technically check running processes, but that's
hacky
and I'd rather not. :)


Thanks.

_______________________________________________
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


_______________________________________________
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
_______________________________________________
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]