X 的配置文件位置取决于您使用的特定版本和发行版。它可能位于 /etc/Xconfig, /etc/XF86Config
或 /usr/X11/lib/X11/XF86Config
。您应该在启动 X 时看到它 - 在显示所有选项之前,它将被回显到屏幕上。 XF86Config 和 Xconfig 文件之间的语法略有不同,因此两者都提供。
微软串口鼠标
Section "Pointer"
Protocol "microsoft"
Device "/dev/mouse"
EndSection
#
# Mouse definition and related parameters
#
Microsoft "/dev/mouse"
带有三键模拟的微软串口鼠标
Section "Pointer"
Protocol "microsoft"
Device "/dev/mouse"
Emulate3Buttons
EndSection
#
# Mouse definition and related parameters
#
Microsoft "/dev/mouse"
Emulate3Buttons
MouseSystems 三键串口鼠标
Section "Pointer"
Protocol "mousesystems"
Device "/dev/mouse"
ClearDTR # These two lines probably won't be needed,
ClearRTS # try without first and then just the DTR
EndSection
#
# Mouse definition and related parameters
#
MouseSystems "/dev/mouse"
ClearDTR # These two lines probably won't be needed,
ClearRTS # try without first and then just the DTR
带有 gpm -R 的微软串口鼠标
Section "Pointer"
Protocol "MouseSystems"
Device "/dev/gpmdata"
EndSection
#
# Mouse definition and related parameters
#
MouseSystems "/dev/gpmdata"