我在 Ubuntu 8.* 和 9.* 上安装了 VMWare Server 2.0,以 Windows XP 作为客户系统,但几个密钥不起作用。
它们要么不做任何事,要么按下错误的键。
它们的键是所有Arrow 键、Windows 键、、、Print Screen或Scroll Lock、、、Pause ()、 ()、()和。BreakInsert (Ins)HomePage UpPgUpPage Down PgDnDelete DelEnd
我该如何解决?
答案1
如果您有英文键盘,只需将这一行添加到 VMware 配置文件中:
# In the file: /etc/vmware/config
xkeymap.nokeycodeMap = true
如果你有除英语键盘之外的其他键盘,上述解决方案显然不起作用。因此,添加以下几行:
# In the file: /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
我在这里找到了答案: http://communities.vmware.com/thread/177321