您的位置:首页 > Web前端

Fedora8安装VMware Tools后鼠标滚轮不能用的问题的解决方法

2012-10-15 21:38 671 查看
在虚拟机VM中安装完Fedora8后,提示安装VMware Tools,在根据提示安装完VMware Tools后结果原来可以用的鼠标滚轮不会动了,不管怎样在什么程序下鼠标滚轮都不能用。

后来经过查找终于发现是VMware Tools修改了 /etc/X11/xorg.conf 文件,在终端中输入 sudo gedit /etc/X11/xorg.conf,以root权限打开文件可以看到文件如下:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "VMMouse" "CorePointer"
#InputDevice "XWorkAround"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us+inet"
EndSection

Section "InputDevice"
Identifier "VMMouse"
Driver "vmmouse"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "yes"
EndSection

#Section "InputDevice"
#Identifier "XWorkAround"
#Driver "void"
#EndSection

Section "Monitor"
Identifier "vmware"
VendorName "VMware, Inc"
HorizSync 1.0 - 10000.0
VertRefresh 1.0 - 10000.0
EndSection

Section "Device"
Identifier "VMware SVGA"
Driver "vmware"
EndSection

Section "Screen"

# Don't specify DefaultColorDepth unless you know what you're
# doing. It will override the driver's preferences which can
# cause the X server not to run if the host doesn't support the
# depth.
Identifier "Screen0"
Device "VMware SVGA"
Monitor "vmware"
DefaultDepth 16
SubSection "Display"

# VGA mode: better left untouched
Viewport 0 0
Depth 4
Modes "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "720x400" "640x480" "640x400" "640x350"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: