Is it possible to disable mouse move without disabling click and scroll? I want to make mouse pointer freeze at a point but click and scroll using wheel should work.
Ubuntu – Disable mouse move without disabling click and scroll
mousemouse scrollmouse-wheel
Best Answer
There is a
xinput
command that manipulates X devices, whose list can be obtained withHenceforth
id=10
for the mouse assumed, that is seemingly true for modern Xorg releases.Solution (using property names):
xinput set-prop 10 'Device Accel Constant Deceleration' 65535
Return to normality:
xinput set-prop 10 'Device Accel Constant Deceleration' 1
Solution (using property numbers):
Find
Device Accel Constant Deceleration (
p):
in the output listing, where p is a decimal number. Now substitute it into:
xinput set-prop 10
p65535
Return to normality:
xinput set-prop 10
p1