Difference between revisions of "Mouse Sensitivity in Linux"
(→xinput method) |
|||
Line 3: | Line 3: | ||
Mouse is very sensitive in most systems with wireless mouse. The mouse pointer sensitivity is too high and the controls in System Settings don't give the user enough control to reduce it to a useable level. The "Sensitivity" setting seems to do almost nothing. It used to be labeled "Threshold" and it seems to act in reverse of what you might be trying to accomplish. | Mouse is very sensitive in most systems with wireless mouse. The mouse pointer sensitivity is too high and the controls in System Settings don't give the user enough control to reduce it to a useable level. The "Sensitivity" setting seems to do almost nothing. It used to be labeled "Threshold" and it seems to act in reverse of what you might be trying to accomplish. | ||
− | == | + | == xinput method == |
This works in newer Mint and Ubuntu distributions, maybe. | This works in newer Mint and Ubuntu distributions, maybe. | ||
Line 11: | Line 11: | ||
look at the list output and find your mouse by name. | look at the list output and find your mouse by name. | ||
− | == xinput method == | + | |
+ | xinput set-prop 8 "Device Accel Constant Deceleration" 3 | ||
+ | # 8 = DEVICE_ID | ||
+ | # 3 = LEVEL (factor) Higher = Slower. | ||
+ | |||
+ | To make the config persistent (and make it system wide), you will need to edit your xorg.conf (/etc/X11/xorg.conf). | ||
+ | |||
+ | Section "InputClass" | ||
+ | Identifier "Razer" # Whatever you want. | ||
+ | MatchProduct "Razer Razer DeathAdder" # Product name from xinput list. | ||
+ | Option "ConstantDeceleration" "3" # The same value as xinput. | ||
+ | EndSection | ||
+ | |||
+ | |||
+ | == xset method == | ||
Find the initial setting | Find the initial setting |
Revision as of 17:18, 13 July 2019
Whether you are talking about mouse speed, sensitivity, or acceleration in linux, adjustment is often difficult.
Mouse is very sensitive in most systems with wireless mouse. The mouse pointer sensitivity is too high and the controls in System Settings don't give the user enough control to reduce it to a useable level. The "Sensitivity" setting seems to do almost nothing. It used to be labeled "Threshold" and it seems to act in reverse of what you might be trying to accomplish.
xinput method
This works in newer Mint and Ubuntu distributions, maybe.
xinput --list --short
look at the list output and find your mouse by name.
xinput set-prop 8 "Device Accel Constant Deceleration" 3 # 8 = DEVICE_ID # 3 = LEVEL (factor) Higher = Slower.
To make the config persistent (and make it system wide), you will need to edit your xorg.conf (/etc/X11/xorg.conf).
Section "InputClass" Identifier "Razer" # Whatever you want. MatchProduct "Razer Razer DeathAdder" # Product name from xinput list. Option "ConstantDeceleration" "3" # The same value as xinput. EndSection
xset method
Find the initial setting
xset -q | grep accel
Modify the acceleration
xset m 1/3
or
xset m 4/10
or
xset m 1/2 4
Try a fract ion that works for you
To reset default values:
xset m default
Edit ~/.config/autostart/mouse.desktop to make changes stick