VmWare Keyboard Fix
Workaround
Simple workaround for host system
- If control keys don't work in host system after leaving guest system, try to run setxkbmap command to reinitialize keyboard for host system. Feel free to create application launcher to do it quickly using mouse
Workaround for guest and host system
Another way is to add additional VmWare settings. Do the following:
gedit ~/.vmware/configadd following lines in the file:
xkeymap.nokeycodeMap = trueIf control keys don't work inside virtual computer, do following:
gedit ~/.vmware/configadd following lines in the file:
xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0x149 # Prior
xkeymap.keycode.117 = 0x151 # Next
xkeymap.keycode.78 = 0x46 # Scroll_Lock
xkeymap.keycode.127 = 0x100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu
xkeymap.keycode.79 = 0x137 # Numpad_Home as Prt_Scrnote that these lines are not working, if xkeymap.nokeycodeMap = true setting is used, so these solutions are mutually exclusive.
Links
- https://bugs.launchpad.net/ubuntu/+bug/187165
- http://www.nowhere.dk/archives/2008/10/31/ubuntu_8_10_and_problems_with_keymapping_in_vmware/index.php
- http://www.nalinmakar.com/2008/11/12/vmware-player-and-ubuntu-810-keyboard-mapping-issues/
- http://communities.vmware.com/message/1091425
- http://nicolas.bettenburg.free.fr/linux/files/Xmodmap
Tags
Vmware
Kļūda
Novecojis
Created by Valdis Vītoliņš on 2013-09-08 14:28
Last modified by Valdis Vītoliņš on 2021-04-13 14:30
Created by Valdis Vītoliņš on 2013-09-08 14:28
Last modified by Valdis Vītoliņš on 2021-04-13 14:30