系统相关
首页 > 系统相关> > ubuntu20.04 如何禁用触摸板

ubuntu20.04 如何禁用触摸板

作者:互联网

用命令行的话,先

xinput list

blair@blair-PC:~$ xinput list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ 2.4G Mouse                                  id=10    [slave  pointer  (2)]
⎜   ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control    id=13    [slave  pointer  (2)]
⎜   ↳ MSFT0001:00 04F3:31DD Mouse                 id=17    [slave  pointer  (2)]
⎜   ↳ MSFT0001:00 04F3:31DD Touchpad              id=18    [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)]
    ↳ Video Bus                                   id=8    [slave  keyboard (3)]
    ↳ Power Button                                id=9    [slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C             id=11    [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Keyboard    id=12    [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Wireless Radio Control    id=14    [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) System Control    id=15    [slave  keyboard (3)]
    ↳ Ideapad extra buttons                       id=16    [slave  keyboard (3)]
    ↳ AT Raw Set 2 keyboard                       id=19    [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control    id=20    [slave  keyboard (3)]
找到触摸板的id,然后

xinput set-prop 触摸板ID "Device Enabled" 0

最后的0改成1可以重新启用

 

标签:ubuntu20.04,触摸板,slave,禁用,ITE,keyboard,Device,pointer,id
来源: https://www.cnblogs.com/BlairGrowing/p/15546485.html