For anyone who does not have a Steam Deck and/or is unaware of what Decky is: Decky (a.k.a. DeckyLoader) is a utility that uses Steam's dev/debug port to load plugins into the Steam Big Picture UI. This allows for some amazing customization options, such as the startup movie, UI sounds, live CSS re-theming, and more.

As the name would imply, this program is designed for Steam Deck. HOWEVER, it \*technically\* works with any Steam installation on Linux (the Decky team actually mentions this on their website), and activates when Big Picture mode is launched. But running Decky on the desktop Steam client does have a few quirks:

* Some plugins fail to load when Big Picture is launched
* Some plugins that rely on specific Steam Deck functionality may not load at all
* Most importantly, DECKY'S DEVS WILL NOT RESOLVE OR RESPOND TO BUG REPORTS FOR RUNNING DECKY ON DESKTOP! Unless Decky begins to *officially* support desktop, it is only officially supported on Steam Deck.

I was able to work around these quirks by setting up a startup script to open Steam in Big Picture mode on startup, and then switch back to the standard desktop client and minimize it. I have attached the script below, which requires the following:

* Disable "Run Steam when my computer starts" in Steam's settings
* Enable "Remember my password"
* Disable "Ask which account to use each time Steam starts"
* Install xdotool (likely part of your distro's repository)

Once that's all set, create a shell script and paste the following into it:

`#!/bin/bash`

`/usr/games/steam_gamemode &`

`sleep 10`

`steam steam://close/bigpicture`

`sleep 3`

`xdotool search --sync --class "steam" windowminimize %@`

Then, make sure the script is executable as a program, and add it as a startup script (for KDE, this would be in the Autostart menu in System Settings).

The script will then do the following once you log in to your desktop environment:

1. Launch Steam in Big Picture mode
2. Wait 10 seconds for Steam to finish initializing
3. Exit Big Picture mode
4. Wait 3 seconds for Big Picture mode to finish closing and for the desktop client to render
5. Minimize the desktop client window

All plugins that do not rely explicitly on Steam Deck resources will now load correctly. As far as I can figure, launching Steam at startup into Big Picture mode allows Decky to hook into it the same way it does on the Steam Deck. And after that initial hook, you can exit Big Picture mode and go back into it whenever you want without issues (as long as you don't fully exit Steam).

Voir le contenu lié