01-18-2016, 07:41 PM
(This post was last modified: 01-19-2016, 09:45 PM by UltraCookie.)
Solution:
Props to avj the hint on xinput.
Open a terminal by pressing [Ctrl+Alt+T].
To get a List of mouse and keybord devices do:
output:
Get the device ID of the device you want to edit. I want to edit the TouchPad properties so the ID is 10
To see the device properties do:
This will give out a pretty long list of properties. We are interested in the deceleration of the courser. The properties controlling this are at top of the list and are called:
To stop the courser from moving when the Touchpad is used heavily increase these values (I put both to 1000, maybe less also works).
To make sure this gets done on every boot do:
Create an empty file called 'no_touchpad.sh'
Open it in a text editor of your liking and copy/paste this code into it:
Put the file in a directory of our liking and make it executable by doing:
Go to the main menu and search for 'startup' and open 'Session and Startup'.
Add a new startup with the command:
If the changes where made and the touchpad can still move the courser you need to put the two values even higher or this solution does not work on your device.
Props to avj the hint on xinput.

Open a terminal by pressing [Ctrl+Alt+T].
To get a List of mouse and keybord devices do:
Code:
xinput --list
output:
Code:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=10 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Integrated Camera id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=12 [slave keyboard (3)]
Get the device ID of the device you want to edit. I want to edit the TouchPad properties so the ID is 10
To see the device properties do:
Code:
xinput list-props 10
This will give out a pretty long list of properties. We are interested in the deceleration of the courser. The properties controlling this are at top of the list and are called:
Code:
Device Accel Constant Deceleration (262): 2.5
Device Accel Adaptive Deceleration (263): 1
To stop the courser from moving when the Touchpad is used heavily increase these values (I put both to 1000, maybe less also works).
Code:
xinput --set-prop 10 "Device Accel Constant Deceleration" 1000
xinput --set-prop 10 "Device Accel Adaptive Deceleration" 1000
To make sure this gets done on every boot do:
Create an empty file called 'no_touchpad.sh'
Open it in a text editor of your liking and copy/paste this code into it:
Code:
#!/bin/bash
# For TouchPad to stop moving the courser
xinput --set-prop <your ID> "Device Accel Adaptive Deceleration" <your value>
xinput --set-prop <your ID> "Device Accel Constant Deceleration" <your value>
exit 0
Put the file in a directory of our liking and make it executable by doing:
Code:
sudo chmod ugo+x /your/directory/no_touchpad.sh
Go to the main menu and search for 'startup' and open 'Session and Startup'.
Add a new startup with the command:
Code:
bash /your/directory/no_touchpad.sh
If the changes where made and the touchpad can still move the courser you need to put the two values even higher or this solution does not work on your device.
Linux Lite 5.0 on Lenovo Edge 540 <3