>> Right, hence why you also need to copy the keymap. If you can't do that, then you're on your own.
The key map doesn't help when you are trying to translate a client's notion of physical key codes to a server's notion, since the key map is orthogonal to the physical keyboard layout. (Well actually it can help with some knowledge of common keyboard mappings, but that isn't nice.)
> Right. With xpra on posix platforms we try (...) to copy the keymap across, with win32 and osx clients it gets a little bit more complicated.
> Going forward, what we need to do is to use the Xkb x11 api rather than the core keyboard api to get a full and exact keymap copy.
Right, Windows and OS X have a nearly (ahem, Microsoft think AltGr is the same as Ctrl+Alt) fixed relationship between key codes and physical key positions on a PC-like keyboard. X11 doesn't, but XKB can give you good information to find out the relationship.