GNOME Bugzilla – Bug 411506
use AT hints from gdm
Last modified: 2020-10-30 14:32:13 UTC
It would be nice to autostart the same kind of AT's the user manually enabled in gdm - see bug 411501 for details. With a patched gdm that passes such hints in the $GDM_ATS environment, this patch will make gnome-session read this variable and if it's set will enable AT for the session. Then it will start up these AT's. This patch is just a rough prototype and is not yet ready for HEAD. But I'd like to get some feedback on the idea regardless. Thanks!
Created attachment 83224 [details] [review] proof of concept patch, not ready for HEAD
Created attachment 83250 [details] [review] improved patch Here's an updated patch to work with the latest patch in bug 411501.
Note that we'll move some of that code to gnome-setting-daemons. See bug 386411.
David: patch from bug #386411 has been committed, so you will probably want to move part of your patch to the gnome-control-center module. Also, did you talk about this with some of the a11y people?
David, Please take a look at the new /usr/share/gnome/autostart/gnome-at-session.desktop and /usr/bin/gnome-at-visual that are found in gnome-control-center/capplets/default-applications http://live.gnome.org/GAP/ScratchPad/PreferredApplications If gconf /desktop/gnome/applications/at/visual/startup or /desktop/gnome/applications/at/mobility/startup are not set, then /usr/bin/gnome-at-visual could start $GDM_ATS.
Assuming that this problem is obsolete nowadays. If you can still reproduce this problem with a recent version (currently: 3.38) of GNOME / gnome-session, then please report this at https://gitlab.gnome.org/GNOME/gdm/-/issues/ and follow https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines - thanks a lot!