Cómo deshabilitar la pantalla táctil de forma permanente en ubuntu 18.04


14

Estoy tratando de desactivar la pantalla táctil en mi computadora portátil Asus S200E. En Ubuntu 16.04, pude hacerlo con esto:

Section "InputClass"
    Identifier "evdev touchscreen catchall"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
EndSection

¿Cómo se puede hacer esto en Ubuntu 18.04?


puedes usar este comando xinput disablexinput --list | grep -i "touch " | sed 's/id=//g' | cut -f2
naib khan

Respuestas:


16

Parece que se refiere a archivos ubicados en /usr/share/X11/xorg.conf.d. ¿Quizás el libinputcontrolador se actualizó recientemente para admitir su pantalla táctil?

Probablemente quieras editar /usr/share/X11/xorg.conf.d/10-evdev.confcon:

Sección "InputClass"
    Identificador "evdev touchscreen catchall"
    MatchIsTouchscreen "on"
    MatchDevicePath "/ dev / input / event *"
    #Driver "evdev"
    Opción "Ignorar" "en" 
EndSection

Y /usr/share/X11/xorg.conf.d/40-libinput.confcon:

Sección "InputClass"
    Identificador "catchall de pantalla táctil libinput"
    MatchIsTouchscreen "on"
    MatchDevicePath "/ dev / input / event *"
    #Driver "libinput"
    Opción "Ignorar" "en" 
EndSection

Si eso no funciona, obtenga el nombre de su pantalla táctil xinputy agregue uno de los siguientes comandos a un script de inicio:

xinput set-prop [touchscreen id] "Device Enabled" 0
xinput disable [touchscreen id]
Al usar nuestro sitio, usted reconoce que ha leído y comprende nuestra Política de Cookies y Política de Privacidad.
Licensed under cc by-sa 3.0 with attribution required.