ubuntu15.10插入鼠标后自动禁用触摸板
曾经用过华硕的笔记本,它的笔记本触摸板驱动有一种功能是当检测到鼠标插入时自动禁用触摸板。 自己买了thinkpad t440s后装了ubuntu15.10,因为用的蓝牙鼠标,不怎么稳定,关闭触摸板之后有时候蓝牙鼠标掉线了,就非常麻烦。 就在网上找了一下,居然有类似的软件可以实现该功能: #touchpad-indicator 安装命令 sudo add-apt-repository ppa:atareao/atareao sudo apt-get update sudo apt-get install -y touchpad-indicator 安装后如果启动报如下错误: FileNotFoundError: [Errno 2] No such file or directory: '/home/sannychan/.config/touchpad-indicator/touchpad-indicator.conf' 可以通过生成默认的conf文件解决 echo '{}' > ~/.config/touchpad-indicator/touchpad-indicator.conf 应该是默认的空配置没有生成导致的,因此生成json格式的配置文件就可以正常启动了。 #配置 通过如下配置即可实现鼠标插入后自动禁用触摸板,目前使用蓝牙鼠标一切正常。 勾选第一项:鼠标接入时禁用触摸板