Page 1 of 1

how to disable touch screen please

Posted: 31 Aug 2024, 18:45
by benjibasson
Hi, I would like to disable touchscreen on my tablet because glasse is brocken and so it is like I am always pressing on top right size of screen

so I tryed to modify in /usr/share/X11/xorg.conf.d/10-evdev.conf section

Code: Select all

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "off"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
but touchscreen survive reboot althought I saved change

so I try

Code: Select all

xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ ASUSTek COMPUTER INC. ASUS Base Station(T100)	id=9	[slave  pointer  (2)]
⎜   ↳ ASUSTek COMPUTER INC. ASUS Base Station(T100)	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=7	[slave  keyboard (3)]
    ↳ ASUSTek COMPUTER INC. ASUS Base Station(T100)	id=8	[slave  keyboard (3)]
    ↳ Asus WMI hotkeys                        	id=11	[slave  keyboard (3)]
    ↳ gpio-keys                               	id=12	[slave  keyboard (3)]
then sudo xinput -set-prop 4 "Device Enabled" 0

unfortunaly it do

Code: Select all

guest@porteus:~$ sudo xinput -set-prop 4 "Device Enabled" 0

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

For security reasons, the password you type will not be visible.

Password: 
X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  21
  Current serial number in output stream:  22

root@porteus:/home/guest# xinput -set-prop 4 "Device Enabled" 0
X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  21
  Current serial number in output stream:  22
althought it worked on Ubuntu 15.04

How to disable touchcreen please?

Cheers

how to disable touch screen please

Posted: 31 Aug 2024, 23:33
by ncmprhnsbl
maybe this or something like:

Code: Select all

Section "InputClass"
    Identifier         "Touchscreen catchall"
    MatchIsTouchscreen "on"
    Option "Ignore" "on"
EndSection
another way might be to identify the kernel module used and blacklist that..

how to disable touch screen please

Posted: 03 Sep 2024, 21:36
by benjibasson
Hi,
Option "Ignore" "on" is ok
Thanks :)