martedì 20 agosto 2024

Opensuse Tumbleewed KDE Plasma 6 - toggle TOUCHPAD on or off if mouse is connected or not

 Hello,

I'm back and I would show this little trick.

My laptop is a LG Gram 17Z90R-G.AA79D, so I installed  OpenSUSE Tumbleewed KDE Plasma 6 Wayland version.

Just I followed the default installation except for disk partitions which I personalized, at the end the system works fine, but I wanted  the Touchpad off when my BT Mouse is connected, and vice versa the Touchpad active when the Mouse is not connected.

So,

create the file : /etc/X11/xorg.conf.d/30-touchpad.conf

Write in the following lines:

Section "InputClass"
       Identifier "touchpad"
       Driver "libinput"
       MatchIsTouchpad "on"
       Option "SendEventsMode" "disabled-on-external-mouse"
EndSection

As well discussed here:  https://gitlab.freedesktop.org/libinput/libinput/-/issues/924

I hope this is useful for someone.


J.J. Pilot

Opensuse Tumbleewed KDE Plasma 6 - toggle TOUCHPAD on or off if mouse is connected or not

 Hello, I'm back and I would show this little trick. My laptop is a LG Gram 17Z90R-G.AA79D, so I installed  OpenSUSE Tumbleewed KDE Plas...