Possible to switch to desktop from SSH?

I hope this is an okay place to put this. I'm trying to do some home automation stuff because I use my computer both downstairs and upstairs. I have some bash scripts that send commands through kscreen-doctor to enable the right screens depending on where I'm using my computer. Those scripts do not work from gaming mode since a Wayland display isnt created in gaming mode( I can be wrong here). So I need to figure out how to do one of two things. A) trigger the switch to desktop via ssh command B) be able to set kscreen-doctor commands while in gaming mode
3 Replies
ultimateore0
ultimateore0OP3w ago
I can return to game mode via systemctl start return-to-gamemode. But don't have a way to trigger the switch to desktop
asen23
asen233w ago
try this command steamos-session-select plasma
ultimateore0
ultimateore0OP3w ago
That did it. I played with a bunch of variations and just did not hit that simple one. Thank you so much
Want results from more Discord servers?
Add your server