r/SteamDeck • u/the90snath • 1m ago
Discussion After 4 years, this is crazy
Enable HLS to view with audio, or disable this notification
No this is not running in Desktop Mode, I have almost finally gotten SteamOS Gaming Mode to have auto resolution swapping when Docking and Undocking after nearly 4 years of owning the system. Normally, to see a change in resolution and aspect ratio when docking a game, you ALWAYS had to restart it. But i found a quirk in SteamOS.
When a game is already running and you attempt to start another one, the current game running will also have it's display output snap to the current one being launched and doesn't snapback when closed. This was a huge discovery. I set a gibberish shell script as one and sure enough it worked.
I have provided video proof on a near perfect implementation a clanker gave me. Using a plugin called Docky to tell the Steam Deck to run a certain script when docking and undocking the system, it has 2 shell scripts, one which runs for half a second as a non-steam game shortcut, and another script designed to tell Steam to launch it and then auto focus on the previous game that opened (Crash Bash in this example) as fast as possible, In Docky i have Modes that run a command that runs bash followed by the steam shortcut script location.
Now i emphasis almost because i only really did the discovery on the SteamOS program quirk, AI made the scripts so this could be still considered proof of concept rather then being made by anybody, but honestly, with this information i have gathered, i feel like one of you talented people could give coding the scripts a shot.
For those interested i'll be able to provide the scripts Mr. Google spat out, but if someone legitmately makes the scripts, those are going bye bye in favor of authentic ones.
Thought i'd post to see how many other people were waiting for years for something like this to be possible. It's amazing seeing this in action finally.