Detecting keyboard layout

Michael ODonnell michael.odonnell at comcast.net
Fri Nov 30 13:43:43 EST 2007


Anybody know if it's possible to query a keyboard directly to learn its
layout?  I believe it isn't, but a cow-orker asked because he wants to
diddle the X modmap in various internationalization-dependent (i18n !)
ways based on which type of keyboard is attached, without consulting a
config file and without asking the user.
 


More information about the gnhlug-discuss mailing list