广告位招租 联系qq:165345322

vmware+(k,x)ubuntu鼠标中键不工作的解决方法

时间:2007-03-07 19:41:17   来源:  作者:  点击:次  出处:技术无忧
关键字:鼠标 中键 vmware

In order to get the scroll wheel to work again after the above install, you will need to make a minor change to the xorg.conf file.
如果想要鼠标中键在(vmware-tools)安装完成以后重新工作,你需要对xorg.conf文件做一些微小的改动。

In the "Configured Mouse" section, change the following line as indicated:
在``Configured Mouse"区,修改下面的选项

Options "Protocol" "imps/2" (原始值可能是``ps/2")

If you have more than five buttons (scroll wheel counts as three), then you might need the following line:
如果你的鼠标有超过5个按键(滚轮算3个),那么你可能需要做如下修改

Options "Protocol" "ExplorerPS/2"

Restart X.
重新启动X。

################################
原始文档见:http://www.vmware.com/community/message.jspa?messageID=573052
################################


呃……正好share一下inux下laptop的Synaptics设置,也是修改xorg.conf
偶的设置:


        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
# 开水平滚动
        Option          "HorizScrollDelta"      "100"
# 允许外部程序控制触摸板的参数,共享参数的内存地址。
        Option          "SHMConfig"             "on"
# 交换左右键,左手鼠标时候,单击才正常。
        Option          "TapButton1"            "1"
        Option          "TapButton3"            "3"
# 使用双指模拟中键,用于复制文字。
        Option          "TapButton2"            "2"
# 左手鼠标时,系统把xmodmap -pp键值交换,但是同时也影响了触摸板的TapButton1/3事件。
# 左上角模拟1键,右上角模拟2键,右下角模拟3键。
        Option          "LTCornerButton"        "1"    
EndSection

访问技术无忧网,软硬件通吃保你技术无忧!网址http://www.pc51.net


相关文章

文章评论

共有 0 位网友发表了评论 此处只显示部分留言 点击查看完整评论页面

300x250广告位招租