K. K. Subramaniam subbukk at
Tue Nov 11 10:05:50 EST 2008

On Monday 10 Nov 2008 10:15:16 pm Tony Anderson wrote:
> I have my XO set up to switch between us and np keyboard layouts. What I
> need is a way in Python to find out which of these layouts is currently
> selected.
Try get_keyboard_mapping(). Clients get a MappingNotify event when the 
keyboard layout is changed in the X server.

HTH .. Subbu

More information about the Devel mailing list