How do you guys get around VMs and such defaulting to qwerty?
I have been using Linux running inside VMWare running under Windows. In this scenario, I have to set my preferred layout on both sides separately, and I like it that way: Using a custom keyboard layout on Linux is painless anyway, and as the virtual machine sees the keycodes not characters, I can use the same xkb file as for a Linux running natively.
The Linux rdesktop client does not have this issue, so it must be sending characters instead of keycodes like you ask.
Actually, with rdesktop, it is mixed scenario: RDP uses keycodes, however, rdesktop has keymaps that translate characters (or, more precisely, keysyms) back to keycodes, see the -k option and the keymap files that ship with your rdesktop installation. These keymaps are plain text files, and rdesktop allows users to use their own keymaps. I use this mostly to hide "local" keypresses that shift levels from the remote side. This is a fairly good approach, as it allows to use a standard layout on the Windows side (where custom layouts are a pain), and still enjoy one's custom layout. But some work is required to write the keymap for rdesktop's back translation.
Last edited by 509 (18-Nov-2015 10:26:06)