The commands to save in a file: #!/bin/bash xinput --set-prop 'pointer:''Your mouse name here' 'libinput Accel Profile Enabled' 0, 1 xinput --set-prop 'pointer:''Your mouse name here' 'libinput Accel Speed' -0.1 My Twitch: / xxayilmaoxx
Seems a little Outdated. Not quite sure, but for me on Arch in 2024. 'pointer' does not work aswell as device name didn't work. Instead device id worked. Like this: xinput --set-prop '14' 'libinput Accel Profile Enabled' 0 1 0 xinput --set-prop '14' 'libinput Accel Speed' -0.1 Where 14 is the device id shown for My mouse in the "xinput" command. Also there where 3 Profiles shown in the "xinput list-props 14" command under section Accel Profile Enabled. The middle Profile ( 0 1 0 ) is the Flat Profile ( No Acceleration ) Btw, atleast it says so in the Arch Wiki. I had to install the package "xorg-xinput" first aswell.
cheers m8, had to (Instead of writing "xinput --set-prop 'pointer:''Your mouse name here' 'libinput Accel Profile Enabled' 0, 1" in the file, you could try inputting the Id as follows - xinput --set-prop 13 'libinput Accel Profile Enabled' 0, 1) i think this affects all Razer mice, but worked in the end
Why the fuck is this the way it happens? I mean yea it's no big deal but this is basic functionality. If I wanted to have to do the moat basic of things from tje terminal I wouldn't even be running X.
Tell me about it. Desktop environments such as KDE have this feature available right away. Might I say, it is rather similar to Windows - it has a slider to change the mouse speed, as well as a checkbox to enable or disable acceleration.
I've just installed Linux Mint Cinnamon, the lowest mouse speed is way too fast and the mouse feels jittery. Mouse is something everyone uses right? It shouldn't be this terrible.
following your instructions was challenging, as it appeared that the process was not entirely clear in your memory until demonstrated live. As a result, I had to review the instructions several times. In the future, perhaps consider incorporating some editing to facilitate ease of comprehension.
I would change the xorg config instead of running a script everytime. Should be somewhere like /usr/share/X11/xorg.conf.d Seems like a much cleaner solution and works with any mouse no matter the device name or id.
I'm guessing you typed the main command wrong ?? That's usually been my luck or results on something on Linux that requires manually creating a settings adjustment deal.
looks like im too stupid for this.. I follow everything but once I run the file I get this result: moon@linuxpc:~$ ./"mouse settings".sh Warning: There are multiple devices matching 'pointer:EndGameGear XM1 Gaming Mouse'. To ensure the correct one is selected, please use the device ID, or prefix the device name with 'pointer:' or 'keyboard:' as appropriate. unable to find device pointer:EndGameGear XM1 Gaming Mouse Warning: There are multiple devices matching 'pointer:EndGameGear XM1 Gaming Mouse'. To ensure the correct one is selected, please use the device ID, or prefix the device name with 'pointer:' or 'keyboard:' as appropriate. unable to find device pointer:EndGameGear XM1 Gaming Mouse moon@linuxpc:~$ my id is also 13, but im completely new to linux and i have no idea how to type the command to include the ID in there.
Instead of writing "xinput --set-prop 'pointer:''Your mouse name here' 'libinput Accel Profile Enabled' 0, 1" in the file, you could try inputting the Id as follows - xinput --set-prop 13 'libinput Accel Profile Enabled' 0, 1 You don't need to include the "'pointer'" part if you are specifying a concrete Id.
@@someofhisplaquesstillsayka922 what about that :property 'pointer:Razer Razer Viper' doesn't exist, you need to specify its type and format property 'pointer:Razer Razer Viper' doesn't exist, you need to specify its type and format
@@someofhisplaquesstillsayka922 Thank you so much. I wanted to reference the mouse by id since for some reason a copy of my mouse had appeared when typing "xinput", however I didn't know the proper syntax. Do you happen to know how I could go about removing a copy of the other mouse? Here's a picture to better illustrate the situation: files.catbox.moe/f1xzwg.png