Adjusting speed of pointer stick / track ball on ubuntu

open up terminal

Windows Key type in term

then sudo su

xinput list

Look for Alps/2 ALPS dualPoint Stick and find out the id

check the possible properties

root@test-Latitude-E7470:/home/test# xinput list-props 14
Device ‘AlpsPS/2 ALPS DualPoint Stick’:
Device Enabled (142): 1
Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (287): 0
libinput Natural Scrolling Enabled Default (288): 0
libinput Scroll Methods Available (291): 0, 0, 1
libinput Scroll Method Enabled (292): 0, 0, 1
libinput Scroll Method Enabled Default (293): 0, 0, 1
libinput Button Scrolling Button (302): 2
libinput Button Scrolling Button Default (303): 2
libinput Middle Emulation Enabled (294): 0
libinput Middle Emulation Enabled Default (295): 0
libinput Accel Speed (296): -1.000000
libinput Accel Speed Default (297): 0.000000
libinput Accel Profiles Available (304): 1, 1
libinput Accel Profile Enabled (305): 1, 0
libinput Accel Profile Enabled Default (306): 1, 0
libinput Left Handed Enabled (298): 0
libinput Left Handed Enabled Default (299): 0
libinput Send Events Modes Available (264): 1, 0
libinput Send Events Mode Enabled (265): 0, 0
libinput Send Events Mode Enabled Default (266): 0, 0
Device Node (267): “/dev/input/event6”
Device Product ID (268): 2, 8
libinput Drag Lock Buttons (300):
libinput Horizontal Scroll Enabled (301): 1

If there is an option for ConstantDeceleration then use the following command

xinput set-float-prop ‘AlpsPS/2 ALPS DualPoint Stick’ ‘Device Accel Constant Deceleration’ 15

If there isn’t then you need to remove current drivers

sudo apt remove xserver-xorg-input-libinput && sudo apt install xserver-xorg-input-evdev

Once done you should able to use the guide above to adjust your setting

Some people suggest also doing the below if the above does not work

sudo apt-get install xserver-xorg-input-synapticst

or fiddle with these settings

xinput set-float-prop 14 144 0.400000, 0.000000, 0.000000, 0.000000, 0.400000, 0.000000, 0.000000, 0.000000, 3.500000

or this

Linux Command Line Tips and Trick

sudo !! – re-run previous command as root

less +F – start at the end of the file (ctr+c) to unglue from the end

In line command

ctr +k = kill to the end of the line

ctr+y – paste last killed to the end of the line contect

ctr +u = kill to the beginning

reset – reset terminal setting instead of re-opening terminal if it’s messed up.