使用以下命令,我在17.04中成功地禁用了鼠标加速:
xinput --set-prop 8 'libinput Accel Profile Enabled' 0, 1不过!一旦我重新启动计算机,设置就不再有效。我怎样才能使它永久化?
发布于 2017-05-09 07:48:12
通过在~/..profile末尾添加一行来解决问题
打开终端(ctrl+alt+t)
使用您选择的文本编辑器编辑“~/..profile”
$ nano ~/.profile在文本文件底部添加以下行。
xinput --set-prop 8 'libinput Accel Profile Enabled' 0, 18是我想要应用的设置的id。在你的例子中,这个数字可以是其他的。你可以用xinput -list列出你的设备,找出你的设备是什么。
保存更改,每次登录到桌面时都应该执行该命令。
https://askubuntu.com/questions/913040
复制相似问题