I'm using rtcwake on Ubuntu 22.04 LTS to automate sleeping and waking the computer at certain times. The settings say that the display should turn off after 5 minutes of inactivity, but when the computer wakes automatically with rtcwake, the display never turns off - instead, it just shows a black screen with nothing but the mouse. If I wiggle the mouse around manually or press a button on the keyboard, the desktop will appear and then 5 minutes later, the display will turn off properly. I looked into ways of automating keyboard/mouse inputs, but this seems very challenging with Wayland. Are there any other workarounds for this?
Bookmarks