Como desativar a tela sensível ao toque permanentemente no ubuntu 18.04


14

Estou tentando desativar a tela sensível ao toque no meu laptop Asus S200E. No Ubuntu 16.04, eu pude 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?


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

Respostas:


16

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

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

Seção "InputClass"
    Identificador "evdev touchscreen catchall"
    MatchIsTouchscreen "ativado"
    MatchDevicePath "/ dev / input / event *"
    #Driver "evdev"
    Opção "Ignorar" "em" 
EndSection

E /usr/share/X11/xorg.conf.d/40-libinput.confcom:

Seção "InputClass"
    Identificador "libinput touchscreen catchall"
    MatchIsTouchscreen "ativado"
    MatchDevicePath "/ dev / input / event *"
    #Driver "libinput"
    Opção "Ignorar" "em" 
EndSection

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

xinput set-prop [touchscreen id] "Device Enabled" 0
xinput disable [touchscreen id]
Ao utilizar nosso site, você reconhece que leu e compreendeu nossa Política de Cookies e nossa Política de Privacidade.
Licensed under cc by-sa 3.0 with attribution required.