Saturday, February 27, 2010

linux vmware workstation 6.5 arrow keys problem

Well, vmware on linux has a lil problem. When u try using the arrow keys in the virtual machine, they don’t work. You have to use the arrows from the numpad keys to work. So, eventually u have enough of this and want to solve this. So, in the home folder of the linux user u use for running vmware it should be a .vmware folder. Create a file called “config” in that folder (/home/youruser/.vmware/config) with the following content:
xkeymap.keycode.108 = 0×138 # Alt_R
xkeymap.keycode.106 = 0×135 # KP_Divide
xkeymap.keycode.104 = 0×11c # KP_Enter
xkeymap.keycode.111 = 0×148 # Up
xkeymap.keycode.116 = 0×150 # Down
xkeymap.keycode.113 = 0×14b # Left
xkeymap.keycode.114 = 0×14d # Right
xkeymap.keycode.105 = 0×11d # Control_R
xkeymap.keycode.118 = 0×152 # Insert
xkeymap.keycode.119 = 0×153 # Delete
xkeymap.keycode.110 = 0×147 # Home
xkeymap.keycode.115 = 0×14f # End
xkeymap.keycode.112 = 0×149 # Prior
xkeymap.keycode.117 = 0×151 # Next
xkeymap.keycode.78 = 0×46 # Scroll_Lock
xkeymap.keycode.127 = 0×100 # Pause
xkeymap.keycode.133 = 0×15b # Meta_L
xkeymap.keycode.134 = 0×15c # Meta_R
xkeymap.keycode.135 = 0×15d # Menu
Restart VMware and it should work.

No comments:

Post a Comment