Any ideas on how can I wake my monitor from the command line?

I’m having some trouble trying to wake the screen up from sleep when using Sunshine.

It allow the user to run commands before running applications (like Steam).

I’ve tried doing kscreen-doctor --dpms on, but unfortunately this command hangs on the terminal until it’s killed, so sunshine can never get to the second part of the process that is opening steam itself.

I’ve tried doing timeout 0.1 kscreen-doctor --dpms on, but that didn’t work either for some reason, so I’m looking for ideas.

How about:

xset dpms force on
2 Likes

Right, my bad, forgot to say I’m running Wayland.

Though I guess if it’s not possible under Wayland I guess I’ll go back to xorg for the time being.