OnboardAndDwellAtGDM

Differences between revisions 8 and 9
Revision 8 as of 2007-08-28 20:56:14
Size: 3127
Editor: vodsl-8292
Comment:
Revision 9 as of 2007-08-31 15:01:45
Size: 3548
Editor: vodsl-8136
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
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.
== Introduction ==

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. Have a look at the following picture to see onboard and mousetweaks running alongside the Plain interface of GDM (called gdmlogin):
Line 6: Line 9:

Remark: I have been told that this is currently not possible with the themed greeter (called gdmgreeter), because it is not able to handle other applications using a gui. Consequently the following will be restricted to gdmlogin.

== Configuration ==



Onboard and Dwelling during GDM

Introduction

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. Have a look at the following picture to see onboard and mousetweaks running alongside the Plain interface of GDM (called gdmlogin):

inline:GDMLoginWithOnboardAndDwelling.png

Remark: I have been told that this is currently not possible with the themed greeter (called gdmgreeter), because it is not able to handle other applications using a gui. Consequently the following will be restricted to gdmlogin.

Configuration

Enable Assistive Technology and Set Plain Theme

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 window from the outside to the inside
  • 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

Accessibility/doc/OnboardAndDwellAtGDM (last edited 2008-08-06 16:21:19 by localhost)