how to disable touch screen please

Post here if you are a new Porteus member and you're looking for some help.
benjibasson
Samurai
Samurai
Posts: 175
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

how to disable touch screen please

Post#1 by benjibasson » 31 Aug 2024, 18:45

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

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4075
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

how to disable touch screen please

Post#2 by ncmprhnsbl » 31 Aug 2024, 23:33

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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

benjibasson
Samurai
Samurai
Posts: 175
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

how to disable touch screen please

Post#3 by benjibasson » 03 Sep 2024, 21:36

Hi,
Option "Ignore" "on" is ok
Thanks :)

Post Reply