Comment 146 for bug 196277

Revision history for this message
David Huggins-Daines (dhuggins) wrote : Re: [hardy] keyboard layout switching shortcut doesn't work after reboot

Okay, that makes perfect sense, except that it's not at all clear if it's possible to change the XKB layout for a specific device. It's something that, in the new age of MPX, really ought to be possible, but from what I understand, it would require XKB to be aware of XInput and multiple devices, which I don't think is the case (see http://www.fooishbar.org/talks/fosdem-xkb.pdf).

I suppose that what we could do is have libxklavier recopy the XKB layout to the server every time it gets an XkbNewKeyboardNotify event. Which, ironically, is more or less the opposite of what it currently does (it updates its cache from the server's information when it gets this event - this is the source of those "red herring" messages above).