Como desativar a tela touchscreen permanentemente no ubuntu 18.04

2

Estou tentando desativar a tela sensível ao toque no meu laptop Asus S200E. No Ubuntu 16.04, consegui fazer isso com isso:

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

Como isso pode ser feito no Ubuntu 18.04?

    
por Nasikun Nasikun 20.05.2018 / 03:48

1 resposta

2

Parece que você está se referindo a arquivos localizados em /usr/share/X11/xorg.conf.d . Talvez o driver libinput tenha sido atualizado recentemente para suportar sua tela sensível ao toque?

Provavelmente você deseja editar /usr/share/X11/xorg.conf.d/10-evdev.conf com:

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

e /usr/share/X11/xorg.conf.d/40-libinput.conf com:

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

Se isso não funcionar, obtenha o nome da tela sensível ao toque com xinput e adicione um dos seguintes comandos a um script de inicialização:

xinput set-prop [touchscreen] "Device Enabled" 0
xinput disable [touchscreen]
    
por xiota 20.05.2018 / 05:58