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可以重新启用

 

posted @ 2021-11-12 21:27  图神经网络  阅读(502)  评论(0编辑  收藏  举报
Live2D