Comment 5 for bug 155927

Revision history for this message
Ian Lawrence (ianlawrence) wrote :

All that is needed is the ability to add some GTK Modules.

Here is the relevant section from gdm.conf
#AddGtkModules=false
# By default, these are the accessibility modules.
#GtkModulesList=gail:atk-bridge:/usr/lib/gtk-2.0/modules/libdwellmouselistener:/usr/lib/gtk-2.0/modules/libkeymouselistener

To enable the use of assistive technologies the "AddGtkModules" parameter from gdm.conf must be uncommented and set to "true".
Also the "GtkModulesList" parameter must be uncommented

Depending on the degree of a11y required in UME some of the above GtkModules may not need to be loaded. If end-users will need the integrated Screen Reader and Magnifier, "gail" and "atk-bridge" are needed. If end-users will be using a pointing device without buttons or switches, include "dwellmouselistener". If some users will use pointing devices with switches, alternative physical keyboards, or switch/button devices, include "keymouselistener". Enabling the a11y infrastructure does impact desktop performance so some way to selectively enable this (like gdm) is obviously preferred.

Outside of end user requirements the minimum necessary for writing UI test scripts would be "gail" and "atk-bridge". This is because
gail is dynamically loadable at runtime by a GTK application. Once loaded, those parts of an application that use standard GTK widgets will have a basic level of accessibility, without anybody needing to modify an application at all. (If GAIL is not loaded, GTK widgets will have a default accessibility implementation that essentially returns no information, though it nominally conforms to the ATK API.). Whether or not applications automatically load these accessibility support libraries depends on the value of a gconf key, "/desktop/gnome/interface/accessibility"; a boolean value of "true" enables support for assistive technologies and applications which call gnome_program_init will automatically load the appropriate accessibility libraries at runtime. "Pure GTK+ applications", e.g. those that use gtk+ but do not link to libgnome, rely on the value of the GTK_MODULES environment variable, which must be set to "gail:atk-bridge" in order to enable assistive technology support.

The above error message I believe is because the Corba IDL is trying to describe an object through the Bonobo interface which does not exists in hildon desktop. (this was originally removed by Nokia due to space constraints IIRC). A bonobo armel deb has however since been created for the Hildon Test Automation garage project (https://garage.maemo.org/projects/hildon-test-aut/)