cma*_*fte 35 touchpad settings
Synaptics 触摸板的默认设置包括映射到触摸板右上角的粘贴功能。我可以通过运行命令禁用此行为
synclient RTCornerButton=0
Run Code Online (Sandbox Code Playgroud)
但是每次我重新启动时,我的设置都会恢复。我如何防止这种情况发生?
小智 20
您需要将设置放入 xorg.conf 文件中,如下所示:
sudo gedit /usr/share/X11/xorg.conf.d/60-synaptics-options.conf
Run Code Online (Sandbox Code Playgroud)
在新文件中,键入
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "RTCornerButton" "0"
EndSection
Run Code Online (Sandbox Code Playgroud)
小智 13
Gnome 设置守护进程可能会覆盖现有设置(例如在 xorg.conf.d 中设置的设置),其中的现有设置/usr/share/X11/xorg.conf.d/50-synaptics.conf
将被忽略。这就是我修复它的方式。
跑
dconf-editor
编辑
/org/gnome/settings-daemon/plugins/mouse/
(或/org/cinnamon/settings-daemon/plugins/mouse/
用于肉桂)取消勾选
active
设置
它现在将尊重您系统现有的突触配置。
然后按照Monkbroc 的解决方案进行操作,该解决方案现在可以使用了。
(也许)最快的解决方法是在“启动应用程序”中创建一个条目。它可以在 unity 启动器中找到。
示例条目如下所示:
姓名: Enable Palm Detection
命令: synclient PalmDetect=1
评论: Enable synclient palm detection
这本质上等同于 Augustin Riedinger 的回答,但不是手动创建桌面条目,而是让 Ubuntu 为我们做。
对我有用的最好方法是将您的更改添加到 Xsession.d 中,这样当您登录 X 时它会自动为所有用户加载:
(该文件不存在,因此您可以随意命名它。左侧的数字表示与其他文件相比它将被执行的顺序。)
/etc/X11/Xsession.d/80synaptics
(由 root 拥有,权限为 644)
例如,您可以将其用作基础:
#https://wiki.archlinux.org/index.php/Touchpad_Synaptics
#Palm dimension
#synclient PalmDetect=1
#synclient PalmMinWidth=4
#synclient PalmMinZ=100
#Touchpad sensibility (move)
#synclient FingerLow=10
#synclient FingerHigh=20
#Click detection
#synclient MaxTapTime=180
#synclient MaxTapMove = 242
#synclient MaxDoubleTapTime = 180
#2 finger = right click
#synclient TapButton2=0
#3 finger = middle click
#synclient TapButton3=2
#click corners
#synclient RBCornerButton=0 MaxTapTime
#synclient RTCornerButton=0
#synclient LTCornerButton=0
#synclient LBCornerButton=0
#Oval instead of rectangular
#synclient CircularPad=1
#TapAndDragGesture
#synclient TapAndDragGesture=1
#scroll in sides
#synclient VertEdgeScroll=0
#synclient HorizEdgeScroll=0
#synclient CornerCoasting=0
#2 finger scroll
#synclient VertTwoFingerScroll=1
#synclient HorizTwoFingerScroll=0
#Disable Touchpad on start
#synclient TouchpadOff=1
Run Code Online (Sandbox Code Playgroud)
在 Ubuntu 14.04 和 16.04 中测试