作者:张一弛
邮箱:zyichi AT gmail DOT com
本文讲述如何在 Fedora 下通过修改 xorg.conf,配置触摸板支持单击,双击, 鼠标中键,和右键。
备份 xorg.conf
切换到 root 用户后:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf-bak
修改 xorg.conf
在 "ServerLayout" Section 添加下行:
InputDevice "Synaptics" "CorePointer"
新增一个 Section,内容如下:
Section "InputDevice" Identifier "Synaptics" Driver "synaptics" Option "SendCoreEvents" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "RBCornerButton" "3" Option "Device" "/dev/input/mice" Option "Protocol" "auto-dev" Option "Emulate3Buttons" "yes" Option "SHMConfig" "true" EndSection
现在触摸板就支持单击,双击,和鼠标中键了。注:鼠标中键通过两个手指同时单击 完成,鼠标右键通过单击右下角完成。
0 comments:
发表评论