I've a issue with my external monitor losing the signal in Ubuntu 20.04. It doesn't happen using Windows 10.
I found a workaround here thanks to @user10489 So, I configured Ubuntu to execute xset dpms force off; xset dpms force on
when pressing CTRL + ALT + R.
But I'd like to execute it automatically after returning from power saving black screen, just by moving the mouse or pressing any key.
Is there any way to handle this event, and add this behaviour using Ubuntu 20.04?