LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ThinkPad E540 turn off TrackPad
#6
Solution:

Props to avj the hint on xinput. Wink

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
Reply


Messages In This Thread
ThinkPad E540 turn off TrackPad - by UltraCookie - 01-17-2016, 09:28 AM
Re: ThinkPad E540 turn off TrackPad - by avj - 01-18-2016, 04:39 PM
Re: ThinkPad E540 turn off TrackPad - by avj - 01-18-2016, 05:01 PM
Re: ThinkPad E540 turn off TrackPad - by avj - 01-18-2016, 06:32 PM
Re: ThinkPad E540 turn off TrackPad - by UltraCookie - 01-18-2016, 07:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)