Bug 473566

Summary: Touchpad setting does not expose "disable touchpad when mouse is plugged in" option
Product: [Applications] systemsettings Reporter: Jeffrey Walton <noloader>
Component: kcm_touchpadAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: natalie_clarius, nicolas.fella, noloader
Priority: NOR    
Version: 5.27.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Missing option in Touchpad setting for Plasma 5.24.7

Description Jeffrey Walton 2023-08-20 16:49:11 UTC
Created attachment 161073 [details]
Missing option in Touchpad setting for Plasma 5.24.7

Hi Everyone,

This is a wishlist item. It came from a discussion in libinput's bug tracker at https://gitlab.freedesktop.org/libinput/libinput/-/issues/924. In the 924 bug report, there is a HP laptop with touchpad, and I want to disable the touchpad when a mouse is plugged into the machine.

The KDE wish is, we need a UI setting to disable the touchpad when the mouse is plugged in. libinput supports the configuration, but the KDE setting for Touchpad does not expose it.

For libinput, this is the [manual] X11 option of interest. Many thanks to @satrmb for the help in tracking it down:

```
$ cat /etc/X11/xorg.conf.d/30-touchpad.conf
Section "InputClass"
        Identifier "touchpad"
        Driver "libinput"
        MatchIsTouchpad "on"
        Option "SendEventsMode" "disabled-on-external-mouse"
EndSection
```

@satrmb is not sure what setting is needed for Wayland.

-----

I am using Kubuntu 22.04.3, x86_64, fully patched. Plasmashell version is 5.24.7.

I see some other "disable touchpad with Mouse plugged in" reports, but I definitely do not have the setting. See, for example, 349545 and 415364.
Comment 1 Nicolas Fella 2023-08-20 17:37:18 UTC

*** This bug has been marked as a duplicate of bug 415364 ***