How do I disable the touchscreen on Debian 10?

Hu
16

I would like to permanently deactivate the touchscreen and possibly also the pen input on the Thinkpad X220t.

Vi

Look here

https://askubuntu.com/questions/198572/how-do-i-disable-the-touchscreen-drivers

to

Which desktop environment? Has to be set differently for everyone.

Hu

The command is not found.

Hu

Gnomes. The screen hosting is driving me insane. XD

to

Maybe this will help here?

https://askubuntu.com/questions/927022/how-can-i-disable-touchscreen-while-using-wayland

Ki

If the whole thing should be deactivated permanently, you can do that in the BIOS.

Hu

That was my first thought too. I didn't find a corresponding entry there.

Ki

Right now I'm not 100% sure how the BIOS of this device is structured, but I know roughly the division in this ThinkPad series. Should be in a submenu with the approximate name i / o Port Access

Hu

It worked. Unfortunately, pen input and touchscreen can't be deactivated separately.

Hu

I checked again. You can't deactivate the touchscreen there. That would of course have been the most elegant solution.

to

Yes, that's one and the same device 😅 Is it even a capacitive touch display, so that it recognizes the pen as such, unlike fingers?

Ki

https://unix.stackexchange.com/questions/305079/how-to-disable-a-device-hardware-from-using-hid-multitouch-driver

Hu

The pen is recognized before it even touches the display. It looks like these two input types are distinguishable.

to

Then you are in luck. Then you can set it exactly via xsetinput or libinput. But then it is a bit more complex.

Do you use gnome? Wayland or XServer?

Hu

I use Wayland and just try to keep up with the times. I'm really looking forward to GNOME 40. When will that be found in Debian?

to

In unstable vmtl in a couple of weeks. In Debian stable only with release 12, so in 2 years? Maybe there's a backport.

But because of that I use a rolling release distribution, in this case openSUSE Tumbleweed. Don't feel like waiting forever 😤