Hi,
this is a problem i am having for years, but now i want to finally solve it. My mouse is too fast, i kind of got used to it but sometimes when i boot windows 7 on the same system i realize
that the mouse movement there is way better than on opensuse kde plasma. I said that i got used to it but this only means that i do not notice the flaws anymore, but actually i am kind of crippled, especially slow and exact movements in small regions of the screen are horribly over-driven, even on the lowest acceleration settings.
I even googled a bit but i only found some hacks or tweaks using xinput to activate some deceleration, i do not really understand most of the stuff and i think that there has to be a way to do this with the GUI.
So that is the problem, can someone help me?
Here are some specs:
i am using opensuse tumbleweed (up to date), my mouse is a gaming mouse called: Razer Naga 2014
with no hardware buttons to control the acceleration, and i have to monitors (pretty old, none of them is 4k)
Yes libinput, but i hoped there would be a way changing the mouse settings using the GUI.
Anyway, i already found that page and i find it very complicated, it starts that my mouse ist listed four times when calling xinput:
the last two (ids 15 and 17) are probably related to the mini numblock that is located on the side of the mouse (12 buttons)
but which one of the first two ids is relevant for my problem?
The other problem is that the configuration describes on the link you posted is in no way standardized: especially the last sentence:
To make it permanent, edit xorg configuration (see above) or add commands to xprofile. The latter won’t affect speed in a Display manager.
what am i expected to do here? I do not use any xorg configuration files because i was told a lot of times that using such a file is the old way and is basically the depreciated way of doing so. But as stated in the same sentence, using xprofile wont affect the speed, but thats what i want to do.
This is very confusing.
edit: and apart from that the relevant property: ‘Device Accel Constant Deceleration’ is not existent for my mouse, i checked all 4 ids but none have it listed when calling
xinput list-props ID
i even tried to apply it using this command:
input --set-prop ID ‘Device Accel Constant Deceleration’ 2
on all for IDs but this always resulted in the following error:
property ‘Device Accel Constant Deceleration’ doesn’t exist, you need to specify its type and format
edit: and apart from that the relevant property: ‘Device Accel Constant Deceleration’ is not existent for my mouse, i checked all 4 ids but none have it listed when calling
xinput list-props ID
i even tried to apply it using this command:
input --set-prop ID ‘Device Accel Constant Deceleration’ 2
on all for IDs but this always resulted in the following error:
property ‘Device Accel Constant Deceleration’ doesn’t exist, you need to specify its type and format
You can’t set a property that doesn’t exist. Do you have ’ libinput Accel Speed’ property listed?
but trying to change that like this:
xinput --set-prop 13 ‘libinput Accel Speed’ 150
results in this error:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 57 ()
Value in failed request: 0x137
Serial number of failed request: 20
Current serial number in output stream: 21
You tried to specify an invalid value. It needs to be between -1 and 1. However, I’ve found for my touchpad (handled as a mouse in my VM guest) it doesn’t have an effect. Neither does changing the KDE mouse acceleration settings. So, I assume I’m affected by the bug I referred to earlier. That said, the default behaviour is ok for me.
You are right, the value was out of range.
But at least i can change the value and have an immediate effect, i do not know if iam affected by the bug you mentioned (rhw GUI does not work though) but still i have the feeling that the mouse acceleration is not the only relevant value here.
I have set it to -0.8 and it is much better but still it lacks the fine control i am having when booting into windows.
It discusses some of strange libinput behaviour impacting on gamers, and some practical configuration advice, and explains some of the parameters relating to libinput and Xorg. It includes links to other useful references as well.
Thanks changing the profile had a positive effect. But why are there two arguments for the profile?
Another question that arose was, how do i make this change permanent? In one of the links it was suggested putting everything into
~/.xprofile
which i did, but it seems that this file is not used in my case. Do i have to enable it first?
For system-wide effect (and assuming the desktop environment doesn’t override any input device configuration),
you could create a custom Xorg config file eg /etc/X11/xorg.conf.d/30-mouse.conf