`
missall
  • 浏览: 125354 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

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
 
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics