[英]UBUNTU-xinput DONT save settings after restart, unplug, etc
Well, thing is that I have an Abyssus Razer that works perfectly on MATE , but on Debian , Elementary , OpenSUSE , and others the DEFAULT setting is super slow. 好吧,问题是我拥有一个可以在MATE上完美运行的Abyssus Razer , 但是在Debian , Elementary , OpenSUSE和其他版本上, DEFAULT设置却非常慢。
I solved the thing with XINPUT . 我用XINPUT解决了问题。 It's even better than the original software, you can take control of it all.
它甚至比原始软件更好,您可以控制所有这些。
But, when I restart , re-log, or something like that, the settings I did are reseted too. 但是,当我重新启动 ,重新登录或类似的操作时,我所做的设置也会被重置。
Once, after tons of time doing it, it saved by itself. 一次,经过大量的时间,它自己保存。 But I had to reinstall my OS and now every time I turn on my computer I have to do:
但是我必须重新安装操作系统,现在每次打开计算机时都必须这样做:
xinput set-prop 8 "libinput Accel Profile Enabled" 0, 1
xinput set-prop 8 "libinput Accel Speed" 0.500
That is a default speed. 这是默认速度。
+: "su" or "sudo" doesn't solve the problem +:“ su”或“ sudo”不能解决问题
Hope you can help me, cause I have been looking around but couldn't find information about "saving xinput settings". 希望您能对我有所帮助,因为我一直在四处寻找,但是找不到有关“保存xinput设置”的信息。
Thanks! 谢谢!
Solved the problem with "alias" 解决了“别名”问题
alias mouse="xinput set-prop 8 279 0.500 && xinput set-prop 8 282 0, 1"
Never knew you can do this tricks... 从来不知道你可以做到这一点...
Well, for now I'm happy with this solution so I close it, and hope can help someone my way of making it work. 好吧,目前我对这个解决方案很满意,所以我将其关闭,并希望可以帮助某人以我的方式使其工作。
be safe 注意安全
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.