1.接纳xinput
list查看与触摸板相关的id,以下是本机的出口,没搞明白怎么是Mouse!!!

ubuntu14.04不准触摸板和回复触摸板,ubuntu14.04触摸板

1.运用xinput
list查看与触摸板相关的id,以下是本机的输出,没搞掌握怎么是Mouse!!!

[email protected]:~$
xinput list
⎡ Virtual core pointer                        id=2    [master pointer 
(3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave 
pointer  (2)]
⎜   ↳ HID compliant-mouse HID compliant-mouse     id=11    [slave 
pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                          id=14    [slave 
pointer  (2)]
linux禁止使用触摸板,04不准触摸板和死灰复燃触摸板。⎣ 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)]
    ↳ Sleep Button                                id=10    [slave 
keyboard (3)]
    ↳ Integrated Webcam                           id=12    [slave 
keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=13    [slave 
keyboard (3)]
    ↳ Dell WMI hotkeys                            id=16    [slave 
keyboard (3)]
2.从第壹步能够收获触摸板的id=14,这本机上

2.1:禁止触摸板

xinput disable 14

2.2重操旧业触摸板

xinput enable 14

 

!!!不足之处欢迎考订!!!

 

1.使用xinput
list查看与触摸板相关的id,以下是本机的出口,没搞精通为何是Mouse!!!
jel…

1.运用xinput
list查看与触摸板相关的id,以下是本机的输出,没搞通晓为何是Mouse!!!

linux禁止使用触摸板

jello@jello:~$ xinput list
⎡ Virtual core pointer                        id=2    [master pointer 
(3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave 
pointer  (2)]
⎜   ↳ HID compliant-mouse HID compliant-mouse     id=11    [slave 
pointer  (2)]
⎜   ↳ PS/2 Generic
Mouse                          id=14    [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)]
    ↳ Sleep Button                                id=10    [slave 
keyboard (3)]
    ↳ Integrated Webcam                           id=12    [slave 
keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=13    [slave 
keyboard (3)]
    ↳ Dell WMI hotkeys                            id=16    [slave 
keyboard (3)]
2.从第三步能够取得触摸板的id=14,那本机上

jello@jello:~$ xinput list
⎡ Virtual core pointer                        id=2    [master pointer 
(3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave 
pointer  (2)]
⎜   ↳ HID compliant-mouse HID compliant-mouse     id=11    [slave 
pointer  (2)]
⎜   ↳ PS/2 Generic
Mouse                          id=14    [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)]
    ↳ Sleep Button                                id=10    [slave 
keyboard (3)]
    ↳ Integrated Webcam                           id=12    [slave 
keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=13    [slave 
keyboard (3)]
    ↳ Dell WMI hotkeys                            id=16    [slave 
keyboard (3)]
2.从第叁步可以赢得触摸板的id=14,那本机上

 

2.1:禁止触摸板

2.1:禁止触摸板

install xinput 

xinput disable 14

xinput disable 14

xinput list 

2.2上升触摸板

2.2重操旧业触摸板

⎡ Virtual core pointer                    id=2 [master pointer
 (3)] 

xinput enable 14

xinput enable 14

⎜   ↳ Virtual core XTEST pointer              id=4 [slave  pointer
 (2)] 

 

 

⎜   ↳ USB Optical Mouse                       id=12 [slave  pointer
 (2)] 

!!!不足之处欢迎勘误!!!

!!!不足之处欢迎勘误!!!

⎜   ↳ PS/2 Generic Mouse                      id=14 [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)] 

    ↳ Sleep Button                            id=10 [slave  keyboard
(3)] 

    ↳ Laptop_Integrated_Webcam_HD             id=11 [slave  keyboard
(3)] 

    ↳ AT Translated Set 2 keyboard            id=13 [slave  keyboard
(3)] 

    ↳ Dell WMI hotkeys                        id=15 [slave  keyboard
(3)] 

 

the touchpad device id is 14(the red record) 

 

disable touchPad 

xinput disable 14 

or 

xinput set-int-prop 14 “Device Enabled” 8 0 

enable touchPad: 

xinput enable 14 

or 

xinput set-int-prop 14 “Device Enabled” 8 1

 

install xinput xinput list
Virtual core pointer id=2 [master pointer (3)] Virtual core XTEST
pointer id=4 [slave pointer (2)] USB Optical Mouse id=12 [slave
po…

相关文章