우분투 18.04에서 터치 스크린을 영구적으로 비활성화하는 방법


14

Asus S200E 랩톱에서 터치 스크린을 비활성화하려고합니다. 우분투 16.04에서는 다음과 같이 할 수있었습니다.

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

우분투 18.04에서 어떻게 할 수 있습니까?


이 명령을 사용할 수 있습니다 xinput disablexinput --list | grep -i "touch " | sed 's/id=//g' | cut -f2
naib khan

답변:


16

에 위치한 파일을 참조하는 것처럼 나타납니다 /usr/share/X11/xorg.conf.d. 아마도libinput 드라이버가 최근에 터치 스크린을 지원하도록 업데이트 되었습니까?

아마도 다음 /usr/share/X11/xorg.conf.d/10-evdev.conf과 같이 편집하고 싶을 것 입니다.

"InputClass"섹션
    식별자 "evdev 터치 스크린 캐치 올"
    MatchIsTouchscreen "on"
    MatchDevicePath "/ dev / input / event *"
    # 드라이버 "evdev"
    옵션 "무시" "on" 
EndSection

그리고 /usr/share/X11/xorg.conf.d/40-libinput.conf가진 :

"InputClass"섹션
    식별자 "libinput touchscreen catchall"
    MatchIsTouchscreen "on"
    MatchDevicePath "/ dev / input / event *"
    # 드라이버 "libinput"
    옵션 "무시" "on" 
EndSection

그래도 문제가 해결되지 않으면로 터치 스크린 이름 xinput을 확인하고 다음 명령 중 하나를 시작 스크립트에 추가하십시오.

xinput set-prop [touchscreen id] "Device Enabled" 0
xinput disable [touchscreen id]
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.