See gsettings. Orca is enabled via a key there. I believe at least qt may react to this, as you will risk not getting any accessibility if you run a qt app without this set, even with orca started from cmdline. Happened to me at least once. I am not sure how that key is named, I am not sure if that is gnome specific or not, like what about kde? but it definitely exists. W dniu 13.04.2020 o 14:29, Nolan Darilek pisze:
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_______________________________________________ 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
Attachment:
signature.asc
Description: OpenPGP digital signature