Bert Freudenberg bert at
Tue Nov 11 10:16:04 EST 2008

On 11.11.2008, at 16:05, K. K. Subramaniam wrote:

> 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.

The layout does not change, just the active group. There is no  
MappingNotify afaict.

- Bert -

More information about the Devel mailing list