LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 656|回复: 2

求救:我修改etc/X11/XF86Config-4,为什么系统没有反应???

[复制链接]
发表于 2004-4-27 00:51:53 | 显示全部楼层 |阅读模式
我的滚轮鼠标不能用,所以我按照论坛中的方法去修改etc/X11/XF86Config-4,

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "rotocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "rotocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
Screen "screen1"
EndSection

没有效果,第二种方法

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "rotocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "rotocol" "S/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection


Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
Screen "screen1"
EndSection


我奇怪的是,无论是我修改x-windows修改/etc/X11/XF86Config-4,或者是直接在gnome下修改配置,都不能动摇那个默认的ps/2或usb鼠标的默认配置,而且我如果启动了hot...那个服务,关机的时候会死机。


为什么???
发表于 2004-4-27 08:52:44 | 显示全部楼层
你在图形界面配置试试
 楼主| 发表于 2004-4-27 09:01:42 | 显示全部楼层
我在图形界面用root登陆,然后用gedit修改,或者直接培配置,均无效,再次启动后,查配置里面依然是那个默认的ps2/usb鼠标。我怀疑是不是修改etc/X11/XF86Config-4这个文件,因为在我第一次修改的时候打开etc/X11/XF86Config-4后是一个空文件,就是说没有内容,只有etc/X11/XF86Config-4.old里面有内容。我实在复制etc/X11/XF86Config-4.old为etc/X11/XF86Config-4后的基础上修改的,但无效。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表