Hi Thomas,

Thanks for your suggestion.

On 17/10/2021 13:53, Thomas Schmitt wrote:
If your suspicion is right, xev should show lots of such Key* events
as soon as its receiver window gets the focus, without you pressing any
key at the keyboard. In that case, end xev and look at the messages
on the terminal window or in file  /tmp/xev.log .

Yup:

KeyPress event, serial 68, synthetic NO, window 0x6600001,
     root 0x238, subw 0x0, time 3095352, (168,-22), root:(1030,437),
     state 0x110, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
     XLookupString gives 0 bytes:
     XmbLookupString gives 0 bytes:
     XFilterEvent returns: False

Which sent me here:

https://forums.linuxmint.com/viewtopic.php?t=105326

In my case, there were multiple devices called "Cherry Keyboard", so I used the following to disable the one sending the spurious events:

Section "InputClass"
        Identifier "disable cherry key"
        MatchDevicePath "/dev/input/event4"
        Option "Ignore" "on"
EndSection

Thanks for the help!

Regards

Jeff

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to