This started happening a few months ago, I would be minding my own Ubuntu business and then suddenly I can’t left click.
After much digging and stupid AI querying, I added something to disabled power management to my boot sequence. That seems to minimize the problems but I still get the problem every 5 minutes or so.
To temporarily fix the problem I Ctrl-alt F3 then F2 to come back to. GNOME.
I tried with a mint usb and I got the same problem. I thought it was then maybe a mouse problem but the pointer does the same no matter what mouse I use and every mouse I tested worked fine on another Ubuntu of the same release. So I think maybe it is some sort of hardware and driver combination and to power management.
I see lots of posts of past years but nothing more recently, but no real solutions or explanations for what might be happening.
Okay looks like a start up script will be the thing to do next.


So I created a service and a timer. the service is supposed to kill the mouse: mouse-refresh.service
[Unit] Description=Refresh Logitech mouse event2
[Service] Type=oneshot ExecStart=/bin/bash -c ‘udevadm trigger --sysname-match=event2 --action=change’
the timer trigers it every 5 minutes
[Unit] Description=Refresh mouse every 5 minutes on desktop Requires=graphical-session.target
[Timer] OnUnitActiveSec=5m Persistent=true
[Install] WantedBy=graphical-session.target
but then I realized that it doesn’t work. sudo udevadm trigger --sysname-match=event2 --action=change doesn’t do it but sudo udevadm trigger seems to work. however I have stuff on the USB system that I don’t want to be resetting every 5 minutes.
I also added the thing to the grub startup: sudo nano /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash threadirqs usbcore.autosuspend=-1”
it doesn’t seem to do the job. only ctrl-alt F3 then ctrl-alt F2 does it. frustrated but continuing with sudo udevadm trigger for now