Saturday, January 17, 2009

VMWare 6.5.1 Linux: Keyboard problems

I have installed the new version of VMWare (6.5.1) in Ubuntu 8.10.

The first thing I needed when starting my existing virtual machines was to upgrade the vmware tools.

Then I realized that the keyboard was not working properly in my WinXP virtual machine, when I pressed the cursor keys, altgr or page up/down there was a strange behavior. It seems that the solution to this issue is just to add the following lines at the end of the /etc/vmware/config 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

After that the keyboard is working fine in the WinXP virtual machine.

0 Comments:

Post a Comment

<< Home