Sample Header Ad - 728x90

Identify a specific mouse using xinput to process an xinput command

1 vote
0 answers
327 views
Using Manjaro 23.0, I found a way to decrease the speed of my USB SteelSeries mouse but I struggle to make it persistent. After some time being not in use, or a system reboot, the xinput settings reset to the "default". The mouse gets a new "Id" evertime at least anytime I reboot. This problem should be solved with the xorg.conf code I found below. Otherwise I have to find the mouse Id via xinput manually. These are the xinput settings I would like the mouse to run on the my new xorg.conf: $ id="10"; speed=0.23; xinput set-prop $id "Coordinate Transformation Matrix" $speed, 0, 0, 0, $speed 0, 0, 0, 1 Via https://unix.stackexchange.com/questions/620642/keep-xinput-settings-after-mouse-wakeup I found out how to do this but not how to translate my settings from xinput to X11. Unfortunately the name of most (if not all) options of libinput differs between xinput and xorg.conf. Here is the xorg.conf code I want to use: Section "InputClass" Identifier "My Mouse" MatchProduct "SteelSeries SteelSeries Rival 300 Gaming Mouse" Option "TransformationMatrix" "????" EndSection Is there maybe a command I could use to transform my xinput cli setting that would achieve the goal?
Asked by user1144409 (11 rep)
Jul 26, 2023, 09:39 AM
Last activity: Aug 1, 2023, 10:05 AM