Ubuntu 触摸板(touchpad) 右键失效

总目录 - Ubuntu 应用软件安装 && 开发环境搭建测试 目录

原因

ubuntu 18.04 的触控板的驱动默认按照mac的触控板模式来的。
这种情况下,两个手指同时点击就是右键,其实反而更方便点。

修改触摸板模式

如果要修改为常用的左键确认,右键更多选项,需要在Terminal修改range org.gnome.desktop.peripherals.touchpad click-method的值。
命令:gsettings set org.gnome.desktop.peripherals.touchpad click-method areas

wuyujin@ubuntu18:~$ # 查看值的范围
wuyujin@ubuntu18:~$ gsettings range org.gnome.desktop.peripherals.touchpad click-method
enum
'default'
'none'
'areas'
'fingers'
wuyujin@ubuntu18:~$ # 查看当前的值
wuyujin@ubuntu18:~$ gsettings get org.gnome.desktop.peripherals.touchpad click-method
'fingers'
wuyujin@ubuntu18:~$ # 设置新的值
wuyujin@ubuntu18:~$ gsettings set org.gnome.desktop.peripherals.touchpad click-method areas
wuyujin@ubuntu18:~$ gsettings get org.gnome.desktop.peripherals.touchpad click-method
'areas'
wuyujin@ubuntu18:~$
发布了269 篇原创文章 · 获赞 156 · 访问量 29万+

猜你喜欢

转载自blog.csdn.net/wuyujin1997/article/details/104342201