Re: About cursor accelerate in X Window

From: Daniel Cervus <DanieltheDeer_at_outlook.com>
Date: Wed, 15 Jun 2022 13:46:26 UTC
Thank you, I installed xinput (Yes, I just installed the dependencies required by KDE, that means only Xserver), and after configured DISPLAY environment variable, xinput reported “No protocol specified” and “Unable to connect to X server”, what’s wrong?
> 
>> 
>> Hello, everyone. I have a laptop with an Alps PS/2 touchpad.
>> ...
>> I set the cursor speed to the maximum in the Settings,
>> is there any other way to accelerate this?
> In the olden days, we used to make X[org] use FreeBSD's /dev/moused
> which has a subtle but vast sea of configurability.  I'm going to
> assume it's deprecated, because anything that works well is by now.
> 
> Atop that, I have been using xset for more than 20 years:
> xset m 404/19 5
> (xset m multiplier/divisor threshold)
> "/divisor" is optional, where "xset m 4/2 1" would be synonymous
> with "xset m 2 1"
> q.v. xset(1)
> Without reading the source, I would assume it can take fairly large numbers.  You can open a terminal emulator and play around with various inputs to make you happy.  Happiness may not actually
> result, but that shouldn't stop you from trying.  Then, regardless
> of how happy you really are, you can add it to your .xinitrc or
> something similar.
> 
> xinput(1) also seems to be able to manipulate speed and
> acceleration at a device level.  I have never used it.
> 
> Cheers!