Thursday 20 February 2014

DISABLE TOUCHPAD OF LAPTOP IN LINUX

How to disable TouchPad of Laptop in Linux?

##use below command to list devices
xinput list

⎡ Virtual core pointer                     id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer      id=4 [slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse        id=9 [slave  pointer  (2)]
⎜   ↳ PS/2 Mouse                          id=12 [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS GlidePoint        id=13 [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)]
    ↳ Power Button                         id=8 [slave  keyboard (3)]
    ↳ CNA7157                               id=10 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard   id=11 [slave  keyboard (3)]
    ↳ Toshiba input device                id=14 [slave  keyboard (3)]

## To disable "AlpsPS/2 ALPS GlidePoint" touchpad use below command.
xinput set-prop 13 "Device Enabled" 0
OR
synclient TouchpadOff=1

## To enable it again use below command.
xinput set-prop 13 "Device Enabled" 1
OR
synclient TouchpadOff=0

## To disable touchpad graphically, use below repository in Ubuntu, Linuxmint or Debian

sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install touchpad-indicator

No comments:

Post a Comment