Xserver and the keyboard type

From: Martin Wheatley (Martin.Wheatley@jet.uk)
Date: Thu Jun 29 2006 - 04:46:59 EDT


We need to 'xmodmap' the keyboard when an Xsession is started, based on the attached keyboard type.

At the moment we lookup the keyboard type based on the hostname of the workstation

It would be nice if we could query the Xserver (or Solaris) to determine what type of keyboard is attached to the Xserver
(eg sun_type5_uk, usb_uk).

Any suggesions?

-- 
+------------------------------------------------------------------+
| Martin Wheatley        | Voice : +44-(0)1235 464784              |
| CODAS                  | Mobile: +44-(0)468  894818              |
| UKAEA, Culham Division | FAX   : +44-(0)1235 464404              |
| Culham Science Centre  |                                         |
| Abingdon, Oxfordshire  |                                         |
| OX14 3DB               | E-mail: Martin.Wheatley@JET.UK          |
| United Kingdom         |     or: Martin.Wheatley@UKAEA.Org.UK    |
+------------------------------------------------------------------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:16 EDT