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.