Re: [orca-list] Programatically detecting if Orca is running
- From: Didier Spaier <didier slint fr>
- To: orca-list gnome org
- Subject: Re: [orca-list] Programatically detecting if Orca is running
- Date: Mon, 13 Apr 2020 12:28:10 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]