OnboardAndDwellAtGDM

Revision 6 as of 2007-08-28 20:49:20

Clear message

Onboard and Dwelling during GDM

People using Ubuntu 7.10 and that need an onscreen keyboard now have a way to also start it during their GDM session. Moreover, if they cannot click with a hardware button, they can also enable a software click, usually named dwelling.

Enable Assistive Technology

In order to be able to use the onscreen keyboard onboard and dwelling (there are also other accessibility features) during GDM, you have to previously configure GDM to use its accessibility features. The Login Window under the menu System->Administration of the normal gnome session allows you to perform the appropriate configuration.

  • First enable Assistive Technology in the Accessibility tab of the Login Window:

inline:LoginWindowAccessibilityTab.png

  • Unfortunately, the accessibility features do not work with the default gdm-theme used by Ubuntu. You have to set gdm to use its Plain theme in the Style menu under the Local tab:

inline:LoginWindowLocalTab.png

How to start onboard

During the GDM session, a background process steadily monitors the pointer to detect determined gestures that are associated with specific programs. On the following picture you can see the gesture that triggers the start of onboard:

inline:gdmlogin-onboard-gesture.png

What matters in the gesture, is:

  • what edges of the GDM windows are crossed
  • the sequence of the crossed edges
  • if the first edge is crossed from outside to inside, or from the inside to the outside
  • no more than 5 seconds must elapse between the crossing of one edge and its following edge
  • it does not matter if the pointer moves in straight lines (like in the sample above) or in curves; the only thing that matters is the edge crossing

For onboard this means:

  • the pointer has to begin by crossing the left edge from the outside to the inside of the window
  • then it has to cross the bottom edge from the inside to the outside
  • then it has to cross the right edge from the outside to the inside
  • finally it has to cross the top edge from the inside to the outside

If no more than 5 seconds did elapse between two border crossings, the onscreen keyboard onboard will appear at the top-left of the screen.

How to start dwelling

It is also possible to start dwelling with a gesture during the GDM session. (provided that Assistive Technology has been enabled for GDM and that the Plain theme is used)

However, the dwelling function needs another background program named at-spi, which in Ubuntu is disabled by default during GDM. Consequently, before starting the dwelling function you have to first start at-spi.

Below, you can see the gesture that starts at-spi and the gesture that starts dwelling:

  • Gesture to start atspi:

inline:gdmlogin-atspi-gesture.png

  • Gesture to start dwelling:

inline:gdmlogin-mousetweaks-gesture.png

For explanations about how to interprete the pictures, please have a look at the Starting of onboard above.


CategoryNeedsExpansion