![在 Ubuntu 16.04 LTS 中禁用鼠标加速的解决方案对我来说不起作用](https://linux22.com/image/1154951/%E5%9C%A8%20Ubuntu%2016.04%20LTS%20%E4%B8%AD%E7%A6%81%E7%94%A8%E9%BC%A0%E6%A0%87%E5%8A%A0%E9%80%9F%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E5%AF%B9%E6%88%91%E6%9D%A5%E8%AF%B4%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
我尝试了这篇文章中的所有解决方案,但它们在重启后都不起作用。'xset m 0/1 4' 命令有效,但当我创建 50-mouse-accel-disable.conf、80-mouse-accel-disable.conf 或 90-mouse-accel-disable.conf 文件时,它们在重启后都不起作用。我甚至尝试使用“标识符“我的鼠标””和“标识符“12””,因为当我执行“xinput list”命令时,我的 zowie 鼠标被列为 ID 12:
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ E-Signal USB Gaming Keyboard id=10 [slave pointer (2)]
⎜ ↳ SteelSeries SteelSeries Siberia 800 id=11 [slave pointer (2)]
⎜ ↳ Kingsis Peripherals ZOWIE Gaming mouse id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ E-Signal USB Gaming Keyboard id=9 [slave keyboard (3)]
答案1
使设置在重启/关机后保持一致的最简单方法是将命令添加xset m 0/1 4
到 Dash 中的“启动应用程序”。该命令将在您登录时运行。