ubuntu的鼠标滚轮配置

最近在vmware6.0.3上装了ubuntu8.04内核版本为2.6.24发现鼠标滚轮无效(未安装vmware tools)

发现是/etc/X11/xorg.conf 的默认配置在作怪,通过添加鼠标的相关配置选项可以解决:

1、首先,备份xorg.conf文件(养成修改配置文件的好习惯:)

cp  /etc/X11/xorg.conf  /etx/X11/xorg.conf_backup

 2、修改xorg.conf文件

sudo gedit /etc/X11/xorg.conf

 3、鼠标的完整配置如下:

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"vmmouse"
	Option		"CorePointer"
    Option      "ZAxisMapping"     "4 5"
    Option      "Protocol"         "ImPS/2"
    Option      "CorePointer" 
    Option      "Emulate3Buttons"  "yes" 
	Option		"Device"	"/dev/input/mice"
EndSection

 4、重新启动Xwindow或者注销

Ctrl+alt+backspace    --重启X
 
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值