You are not logged in.

#1 2008-12-07 16:18:11

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

xorg-server 1.5 and windows key in vmware guest[Solved]

I was struggling for the past 5 hours to get the windows key working in vmware windows guest after the upgrade to xorg-server 1.5
with input hotplugging enabled.

Finally found the answer after googling with the following keywords:
evdev and vmware windows key

The solution is to create a config file in ~/.vmware and place the following code in it.

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

The following the URLs has further detail information:

http://communities.vmware.com/message/1101765#1101765
http://nthrbldyblg.blogspot.com/2008/06 … ffect.html

I have also find out that placing "10-keymap.fdi" in "/etc/hal/fdi/policy/10osvendor" has no effect. You don't need to copy from "10-keymap.fdi" from /usr/share/hal/fdi/policy/10osvendor unless your keyboard layout is 'us'. The keyboard model attribute can't be change from evdev to any other type. Please correct me if I am wrong on this guys.

I am sharing this information so that my fellow archer doesn't struggle the same way I do.
I am wondering whether this information should be wikified? In Xorg-Input Hotplugging or vmware?

Offline

Board footer

Powered by FluxBB