macbook pro ubuntu触摸板自然滚动

来源:互联网 发布:java免费开源商城系统 编辑:程序博客网 时间:2024/05/16 12:52
先说我的做法。终端命令:
$ synclient VertScrollDelta=-25 HorizScrollDelta=-25

也可写到 /etc/X11/xorg.conf.d/50-synaptics.conf里面:
Section "InputClass"
        Identifier "touchpad"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "VertScrollDelta" "-25"
        Option "HorizScrollDelta" "-25"
      MatchDevicePath "/dev/input/event*"
EndSection
需要注意的是,我是通过:
$ locate synaptics.conf
来找到触摸板的默认配置文件,再按照里面的提示把文件复制到 /etc/X11/xorg.conf.d/ 下。xorg.conf.d/ 还要自己创建。

更详细的内容不妨wiki:
https://wiki.archlinux.org/index.php/Touchpad_Synaptics

原创粉丝点击