You are not logged in.

#1 2023-11-01 17:48:15

TimSousa
Member
Registered: 2023-02-25
Posts: 38

[SOLVED] How to set mouse sensitivity

I know this is a pretty silly question.. but I'm actually not sure how to change my sensitivity properly..
I've been using this to set my mouse sense

$ xinput set-prop $mouse_id "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 10

But when my mouse is grabbed by any program it shows up on a different screen (I read that's normal when setting the Coord Transf Matrix)
I also read somewhere that I could use libinput Accel Speed, but even when set to -1 the sensitivity is still too high. Some threads talk about a "constant deceleration" factor but that isn't listed with xinput list-props
So.. what's the actual way to do it? I'm certain I'm missing something.. Can someone point me in the right direction?

Solution:
As suggested by user Section8, setting the sensitivity by using a custom libinput accel profile fixed my issues!
I set this profile:

xinput --set-prop "$mouse_id" 'libinput Accel Profile Enabled' 0 0 1
xinput --set-prop "$mouse_id" 'libinput Accel Custom Motion Step' 1.0
xinput --set-prop "$mouse_id" 'libinput Accel Custom Motion Points' 0.0 0.15

this sets only one constant accel since i don't like mouse acceleration

Last edited by TimSousa (2024-01-13 00:08:13)

Offline

#2 2023-11-01 21:48:29

Section8
Member
Registered: 2023-05-12
Posts: 23

Re: [SOLVED] How to set mouse sensitivity

I use these commands to set a custom acceleration profile for a trackball (low acceleration at low speeds, higher acceleration at high speeds):

xinput --set-prop "$trackball" 'libinput Accel Profile Enabled' 0 0 1
xinput --set-prop "$trackball" 'libinput Accel Custom Motion Step' 1.0
xinput --set-prop "$trackball" 'libinput Accel Custom Motion Points' 0.0 0.3 1.7 4.0 12.0

see:  https://wayland.freedesktop.org/libinpu … ation.html

Offline

#3 2024-01-13 00:03:07

TimSousa
Member
Registered: 2023-02-25
Posts: 38

Re: [SOLVED] How to set mouse sensitivity

that worked! I don't like mouse acceleration though, so I decided to stick to something like:

xinput --set-prop "$mouse_id" 'libinput Accel Profile Enabled' 0 0 1
xinput --set-prop "$mouse_id" 'libinput Accel Custom Motion Step' 1.0
xinput --set-prop "$mouse_id" 'libinput Accel Custom Motion Points' 0.0 0.15

Last edited by TimSousa (2024-01-13 00:08:24)

Offline

Board footer

Powered by FluxBB