0

I have Ubuntu GNOME 16.04 LTS installed on a Dell XPS 13, and I want to disable the touchpad.

The Dell XPS 13 does not have a key combination for enabling and disabling the touchpad. Unfortunately, also the GNOME settings for mouse and touchpad do not provide any means to enable and disable the touchpad. The accepted answer to another question says that I need to install xserver-xorg-input-libinput. However, sudo apt-get install xserver-xorg-input-libinput fails with the following error message:

The following packages have unmet dependencies:
 xserver-xorg-input-libinput : Depends: xorg-input-abi-22
                               Depends: xserver-xorg-core (>= 2:1.17.99.902)
E: Unable to correct problems, you have held broken packages.

Apparently, xorg-input-abi-22 does not exist in the package archives.

I am able to enable and disable the touchpad with synclient, but I would like to have an approach that keeps the state of the touchpad among reboots.

2 Answers2

1

for disable and enable touchpad, first see id of your touchpad using this command :

xinput list

this exmaple for the output , and look ad the id of your touchpad : enter image description here

then , you can use this command to show all available command :

xinput list-props "your-touchpad-id"

this output for my touchpad

enter image description here

and finally , you can disable your touchpad using this command :

xinput set-prop "your-touchpad-id" "Device Enabled" 0

and this command if you want enable the touchpad :

xinput set-prop "your-touchpad-id" "Device Enabled" 1 

It's work for me, hope this will help you.

EDIT 1:

to make it disable on reboot or startup open startup application on your unity dash, then click add, new pop up window will appear, then fill like this :

Nane : disable touchpad (or whatever you want)

command : xinput set-prop "your-touchpad-id" "Device Enabled" 0

comment : this command to disable touchpad at startup (or whatever you want)

take a look at this picture : enter image description here

hope this will work for you too..

Deki
  • 655
-1

Open terminal (or menu) and type: dconf-editor. When it opens you go to: org > gnome > desktop > touchpad > tap-to-click, and check the box to the right of the previous menu. Now you can use the click with the touchpad.

Chai T. Rex
  • 5,323
art-e
  • 1