I'm having an issue with X11 on Debian: the mouse will sometimes start randomly clicking like 10 times per second for about 2 - 3 minutes.

It starts when there's some kind of video content started on the screen, like a YouTube video or a Zoom call. It happens about 20% of the time when this content is started. Once it starts, it won't stop for another 2 - 3 minutes.

It might be my mouse, but I've tried 2 and it happens with both. When I unplug the mouse, it just continues to click.

Anyone know why this might be happening?

Here is a video of such an event.

I have a Dell XPS 15 laptop. I've tried disabling all the touchscreen input devices (Wacom) and KVM drivers.

  • May be a internal hardware issue. Does it happen in other distros/OS ? Sep 11, 2021 at 20:17
  • 1
    You might want to debug which device file is sending those "commands" which cause the clicking Sep 12, 2021 at 16:32
  • @IbnFulan I was once running Arch Linux (with Xfce) and it never happened. Right now I'm running Debian with Gnome. Sep 13, 2021 at 13:30
  • @SirMuffington Okay I'll try that. Sep 13, 2021 at 13:31
  • 1
    If you think it's an USB device you need to mount usbmon and then run WireShark with root rights. In your case I would sniff usbmon0, which has all the USB traffic Sep 13, 2021 at 17:47

1 Answer 1


I found the problem. It was my Dell touchpad. Device: "DLL080D:01 06CB:7A13 Touchpad".

As my mouse was doing the auto click, I disabled it with xinput disable 'DLL080D:01 06CB:7A13 Touchpad' and the clicking stopped instantly.

Thanks to the commenters for helping me out!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .