Useful Snippets


This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!

Are your smart devices spying on you? Make better purchasing choices and find products that respect your privacy at

RSS Latest posts from my personal blog

Most viewed posts

Subscribe to RSS feed

Listing and adjusting mouse and touchpad devices

Stanislav KhromovStanislav Khromov

Listing devices

xinput list

List device properties

xinput list-props 8 

(8 = device ID, from xinput list)

Adjusting scrolling sensitivity for Synaptics touchpad

xinput --set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Scrolling Distance" 250 250

(Default values are 100 100, which you can get from xinput list-props)

Adjusting mouse sensitivity for Synaptics touchpad

xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Constant Deceleration" 1.4
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Velocity Scaling" 1

Web Developer at Aftonbladet (Schibsted Media Group)
Any opinions on this blog are my own and do not reflect the views of my employer.
Twitter Profile
Visit my other blog

Comments 0
There are currently no comments.