Ticket #7952 (new defect)
gues key mapping problem while host is using XkbOptions
|Reported by:||zer4tul||Owned by:|
My host is archlinux with xorg 7.6, and i am using XkbOption for some key mapping workaround, like blow:
Section "InputClass" Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "XkbLayout" "us, de" Option "XkbOptions" "ctrl:swapcaps, grp:menu_toggle" EndSection
with this configuration, the keys "CapsLock" and "Ctrl" are swapped, and the key "Menu" is mapped to "ISO_Next_Group".
This workaround works fine before I updated virtualbox to 4.0.0. after updated i found it does not work for guests (neither for linux or windows guest). I've tried using xev in the guest to catch what happend. When I press down "CapsLock", it should be "Control_L", but it is "CapsLock".
It seems that virtualbox has ignored the XkbOptions and accesses the keyboard as is.