SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: zandoval on December 09, 2018, 08:06:28 PM

Title: Touchpad On-Off (Humbled!)
Post by: zandoval on December 09, 2018, 08:06:28 PM
In other LXDE distros I was able to turn the touchpad On or Off using - "synclient TouchpadOff=1" or "synclient TouchpadOff=0" This is not working on Sparky Ver 4.

After digging around also tried using various line commands in xinput, synaptics, and xserver, and luckily got everything back to normal after making a real mess.

Now this could be a hardware problem as I am using a DELL Lattitude E5530, but I keep thinking there should be a simple line command to turn this touchpad off or on...

Any Idias before I give up?

Title: Re: Touchpad On-Off (Humbled!)
Post by: lami07 on December 09, 2018, 09:53:33 PM
Quote from: zandoval on December 09, 2018, 08:06:28 PM
In other LXDE distros I was able to turn the touchpad On or Off using - "synclient TouchpadOff=1" or "synclient TouchpadOff=0" This is not working on Sparky Ver 4.
It does not work because sparky 4 is using xserver-xorg-input-libinput driver instead  xserver-xorg-input-synaptics.

Try this:

1)install xinput
sudo apt install xinput
2)check the device name with :
xinput list
probably it will be "SynPS/2 Synaptics TouchPad"

3)Do the magic:
disable touchpad with
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0

enable touchpad with
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 1

substitute "SynPS/2 Synaptics TouchPad" with your device name
Title: Re: Touchpad On-Off (Humbled!)
Post by: zandoval on December 10, 2018, 06:26:45 AM
IT WORKS!!!
Thank You...  after installing xinput the list showed "AlpsPS/2 ALPS GlidePoint" as the touchpad device. I just pasted it into the command line for off and on. Now by command line or bash I can have the touchpad on or off.

xinput set-prop "AlpsPS/2 ALPS GlidePoint" "Device Enabled" 0 (=Off)

xinput set-prop "AlpsPS/2 ALPS GlidePoint" "Device Enabled" 1 (=On)