I agree it could use some polish. I have a simple shell script to start a native game and it runs fine from the terminal and Lutris, but not on Steam.
The script is this
#!/bin/sh
echo A
LD_LIBRARY_PATH=.:${GAME_DATA_PATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
./executable
echo B
Both A and B get printed but there's no output from Steam in between about what prevented the executable from starting.
The KDE desktop on the Steam Deck comes with an "Add to Steam" action already.
The KDE desktop on the Steam Deck comes with an "Add to Steam" action already.
This was posted before the Steam Deck was available. :)
I've edited the description to reflect the current problem.
Nothing extracted yet.
While steam has a relatively flexible URI command system, I feel like this particular part of steam could use an improvement.
~I'd like to add the ability for KDE to add a
kdeservicesright click context item fordesktopfiles to easily add a non-steam game to steam. Doing so would be relatively easy for the currently logged in steam user if the URI command system allowed for passing desktop file entries to steam, which could then be translated by steam into launcher entries.~~There are currently workarounds as specified by this developer wiki entry that are useful for people running their own work around libraries, such as steamsync. However, these work arounds cannot consider the currently logged in user.~
~With the news that SteamDeck will be using KDE I figured that this would be a good opportunity to ask whether or not this type of feature could be considered in the future since it could also help with automating the addition of non-steam games installed natively, via lutris or via wine to SteamOS3's big picture mode.~
The SteamDeck does have a KServices for adding non-steam games now, but it would still be nice to have a CLI that allows for per-user game addition or removal from the library. Currently, adding a non steam game adds it to all users and does not allow for taking into account the "current user" that's logged in.
In general, more flags with more documentation would be nice. When I get the time, I will investigate on my steam deck to see how Valve achieved this so others can emulate it as well.