Ticket #10899 (closed defect: worksforme)
Not fully compatible with xmodmap
|Reported by:||DNied||Owned by:|
VirtualBox 4.1.16 and 4.1.20 have problems with xmodmap: I use xmodmap in X11 to partially remap my keyboard, but 2 of the remapped keys are not visible to the VMs (any guest type). I tried showkeys on a Linux guest's tty and the keypresses were not being received at all.
I'm attaching the Xmodmaprc file with which I customize my keyboard (works flawlessly on the host). The keys that VirtualBox won't send are '3' and 'à' (the host's keyboard has an Italian layout). Whether they are pressed alone or with any modifier, doesn't change the fact that the keypresses for those 2 keys aren't being sent to the guest.
Removing the xmodmap command from my ~/.xinitrc fixes the problem, but then the layout is "wrong" (i.e.: not the one I like to use).
Some version and environment info for the HOST system:
~> uname -a Linux hostname.local 220.127.116.11-smp #1 SMP Wed Apr 30 13:18:13 CDT 2008 i686 AMD Turion(tm) 64 Mobile Technology MK-36 AuthenticAMD GNU/Linux ~> X -version X.Org X Server 1.4.2 Release Date: 11 June 2008 X Protocol Version 11, Revision 0 Build Operating System: Slackware 12.1 Slackware Linux Project Current Operating System: Linux hostname.local 18.104.22.168-smp #1 SMP Wed Apr 30 13:18:13 CDT 2008 i686 Build Date: 26 August 2010 05:52:48PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present ~> man xmodmap |tail -n1 X Version 11 xmodmap 1.0.3 XMODMAP(1) ~> env | egrep '(TYPE|^VENDOR)' && locale HOSTTYPE=i486-linux VENDOR=intel OSTYPE=linux MACHTYPE=i486 LANG=en_US LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL=en_US.utf8 ~> ls ~/net/VirtualBox* /home/dnied/net/VirtualBox-4.1.16-78094-Linux_x86.run /home/dnied/net/VirtualBox-4.1.20-80170-Linux_x86.run ~>
The VBox.log file doesn't seem to contain anything related to the keyboard, so I will only attach it on request.