300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > Linux内核 触摸板 【教程】给Linux(elementary os)配置更多的触摸板手势

Linux内核 触摸板 【教程】给Linux(elementary os)配置更多的触摸板手势

时间:2023-04-18 22:14:16

相关推荐

Linux内核 触摸板 【教程】给Linux(elementary os)配置更多的触摸板手势

该楼层疑似违规已被系统折叠隐藏此楼查看此楼

本文首发自我的博客

http://oaq.me/zai-linuxzhong-tian-jia-hong-mo-ban-shou-shi/

这个真尿的排版。

安装xserver-xorg-input-synaptics驱动

首先安装依赖

sudo apt-get install build-essential libevdev-dev autoconf automake libmtdev-dev xorg-dev xutils-dev libtool

删除老的触摸板驱动并安装新的

sudo apt-get remove xserver-xorg-input-synaptics

编译安装新的驱动

git clone /felipejfc/xserver-xorg-input-synaptics.git cd xserver-xorg-input-synaptics ./autogen.sh./configure --exec_prefix=/usrmake sudo make install

重启系统

安装xSwipe

安装依赖

sudo apt-get install libx11-guitest-perl

增加相关配置文件

mkdir /etc/X11/xorg.conf.d/ sudo vim /etc/X11/xorg.conf.d/50-synaptics.conf

在文件中增加

Section "InputClass" Identifier "evdev touchpad catchall" Driver "synaptics" MatchDevicePath "/dev/input/event*" MatchIsTouchpad "on" Option "Protocol" "event" Option "SHMConfig" "on" EndSection

clone xSwipe,没有git就安装一个。

cd ~ git clone /iberianpig/xSwipe.git cd xSwip vim eventkey.cfg

通过更改eventkey.cfg中的配置来实现不同的手势。

每一个section都支持不同的系统 。

找到自己的系统,去更改按键,并且文件中有注释。

最后

perl xSwipe.pl

如果不能用,重启系统试试。

如果perl说少模块,请用perl -CFAN添加少的模块。 在我的电脑上只能实现三指的手势,四指,五指的手势好像并没有这个东西。

有什么问题欢迎留言

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。