Somehow, Fn+TouchpadIcon doesn't work, so the force command line should be needed when I uses the USB mouse.

* find the list as

ctrluser@e7440:~$ xinput list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:4013    id=14    [slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:2010    id=15    [slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:101f    id=16    [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                          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)]
    ↳ Power Button                                id=7    [slave  keyboard (3)]
    ↳ Sleep Button                                id=8    [slave  keyboard (3)]
    ↳ Laptop_Integrated_Webcam_HD                 id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=10    [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                            id=12    [slave  keyboard (3)]
    ↳ ACPI Virtual Keyboard Device                id=13    [slave  keyboard (3)]

* disable

ctrluser@e7440:~$ xinput --set-prop "PS/2 Generic Mouse" "Device Enabled" 0


*enable


ctrluser@e7440:~$ xinput --set-prop "PS/2 Generic Mouse" "Device Enabled" 1

* add them into .bashrc as alias

alias touchpadoff='xinput --set-prop "PS/2 Generic Mouse" "Device Enabled" 0'
alias touchpadon='xinput --set-prop "PS/2 Generic Mouse" "Device Enabled" 1'

저작자 표시 비영리 변경 금지
신고
블로그 이미지

citadel

memory, life, and logs

티스토리 툴바