Is it possible to disable wake up from mouse movement in Plasma?

I have a Dell Laptop that is stationary on my desk and I often put it to sleep when I stop working (to save on power/heat/fan). If I then bump my mouse, or just even my desk, the laptop immediately wakes up.

Is there a way to set Plasma to not wake up the computer by a mouse movement, but only by keyboard/lid?

not aware of any plasma controls for this, but…

this is likely a firmware setting where you can turn off wake on USB events, tho i don’t know how that might affect the lid switch.

you could also write a script to turn off power to your USB port as part of the suspend cycle

instead of using the suspend feature in plasma, set it to do nothing… then point it at a script to run instead that calls uhubctl + systemctl + uhubctl again to turn off the mouse and suspend the system and then turn the mouse back on again after resume.

Thanks for the response, @skyfishgoo . I wasn’t aware of uhubctl, but it seems to only control USB hubs. My mouse is connected directly to the computer - either using a USB cable, or with Bluetooth.

I’ll check the firmware settings to see if I can find something helpful.

Maybe something like what is suggested here:

by adding a udev rule with ATTR{power/wakeup}="disabled" for that mouse.