Yesterday, I made the upgrade to Ubuntu 8.10 and minutes later installed my number one application WMware Player only to notice moments later that my keyboard was not working property, the arrow keys were disabled for some reason. Thanks to a problem with the evdev input driver my keyboard was partially functional. The solution is actually very simple.
Create a new file and place the following values in the new file.
sudo nano /etc/vmware/config
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
Close the file and test the changes by starting VMware Player. Enjoy.
All credit goes to communities.vmware.com

November 3, 2008 at 2:09 am
num lock still not work for me.
November 3, 2008 at 3:05 am
It may sound silly but restart the virtual machine and make sure to press Num Lock after the virtual machine boots. Apparently Num Lock is never enabled when the virtual machine boots.
I just tested in WinXP, Ubuntu 8.04, OpenSUSE 11 virtual machines. The solution in the post above seems to be universal (VMware products), but just in case I use VMware Player on a Ubuntu 8.10 machine.
February 19, 2009 at 2:37 am
The config entries above helped me out.
Thank you!
Xiborg