Mouse buttons sometimes stop working

Occasionally, out of nowhere, the mouse buttons can stop working, but the cursor will still move with your mouse movements.

If that happens, open a terminal and paste (or input) the following commands:

sudo tee /etc/modprobe.d/psmouse <<< ‘options psmouse proto=imps’

After that reboot so this gets functional.