Command |
Example |
List input devices |
xinput list or xinput --list
|
List input device properties |
xinput --list-props <int id> |
Disable or enable device |
xinput <enable, disable> <DEVICE> |
Disable or enable device |
xinput set-prop <DEVICE> "Device Enabled" 0 |
Store configuration [/etc/X11/xorg.conf.d/40-libinput.conf](../blob/master/fhs/etc/X11/xorg.conf.d/40-libinput.conf)
.
Command |
Example |
Retrieve name of the touchscreen device |
$ xinput list -> eGalax Inc. eGalaxTouch EXC7903-18v00_Test18-v19
|
Retrieve the current calibrated area for touch |
$ xinput list-props 'eGalax Inc. eGalaxTouch EXC7903-18v00_Test18-v19' |
Set a new area for touch touchscreen 1920x1080 (above) and screen 1920x1080 (below) |
$ xinput set-prop "eGalax Inc. eGalaxTouch EXC7903-18v00_Test18-v19" "Coordinate Transformation Matrix" 1 0 0 0 0.5 0.5 0 0 1 |