>> The _XKB_RULES_NAMES property on the root window contains the XKB model >> name, among other things. >> > > Thanks for the reply. This is exactly what I wanted. Be careful though. This is nonstandard - I mean it is xfree/xorg way of doing it. This property is not specified in XKB documentation! Sergey