Distribution de travail : Lubuntu 24.04
Lien :
util01@station54:~$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=10 [slave pointer (2)]
⎜ ↳ SIGMACHIP Usb Mouse id=13 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad 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)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)]
↳ HP WMI hotkeys id=12 [slave keyboard (3)]
Ici : SynPS/2 Synaptics TouchPad Avec l'identifiant : 11
util01@station54:~$ xinput disable 11
util01@station54:~$ xinput enable 11
#!/bin/bash
output=$(xinput --list | grep -i "TouchPad")
id=$(echo $output | awk -F 'id=' '{print $2}' | awk '{print $1}')
xinput disable $id