4.6 KiB
Launching Lutris & Steam Games from RetroDECK
This is a experiment made by the user Murkl
Prerequisites
Information:
Information: This experiment requires the flatpak-spawn
permission, which breaks the sandbox environment that RetroDECK operates in. Therefore, we do not recommend attempting this unless you are confident in your understanding of the process and its implications.
Flatpak Spawn Permission
You can enable it by running this command in the terminal.
flatpak override --user --talk-name=org.freedesktop.Flatpak net.retrodeck.retrodeck
Folder structure
Type | Folder | Comment |
---|---|---|
Windows Roms Folder | retrodeck/roms/windows/ |
How-to Make .desktop files
Make an empty file with the <gamename>.desktop
.
Example: UltimaI.desktop
and put it into the retrodeck/roms/windows/
folder.
How-to: Launch Lutris Games
Step 1: Create an empty desktop file
First, create the .desktop
file as mentioned above with the game name and put it in the retrodeck/roms/windows/
folder.
Step 2: Get Identifier and Internal ID
- Open Lutris.
- In Lutris,
Right Click
the game ->Configure
and make a note of yourInternal ID
underIdentifier
. - Make a note of the
Identifier
as well.
Example: Ultima I

Internal ID: 2
Identifier: ultima-i
Step 3: Populate the .desktop file
Open the .desktop
file and populate it.
Lutris (Native)
This for Lutris that is installed natively.
Copy this:
[Desktop Entry]
Type=Application
Name=NAMEHERE
Icon=lutris_IDENTIFIERHERE
Exec=env LUTRIS_SKIP_INIT=1 flatpak-spawn --host lutris lutris:rungameid/INTERNALIDHERE
Categories=Game
Change the values of:
- Name= NAMEHERE
- Icon= lutris_IDENTIFIERHERE
- Exec= rungameid/INTERNALIDHERE
Example: Ultima 1
[Desktop Entry]
Type=Application
Name=Ultima I
Icon=lutris_ultima-i
Exec=env LUTRIS_SKIP_INIT=1 flatpak-spawn --host lutris lutris:rungameid/2
Categories=Game
Lutris (Flatpak)
This for Lutris that is installed via Flatpak.
Copy this:
[Desktop Entry]
Type=Application
Name=NAMEHERE
Icon=lutris_IDENTIFIERHERE
Exec=env LUTRIS_SKIP_INIT=1 flatpak-spawn --host flatpak run net.lutris.Lutris lutris:rungameid/INTERNALIDHERE
Categories=Game
Change the values of:
- Name= NAMEHERE
- Icon= lutris_IDENTIFIERHERE
- Exec= rungameid/INTERNALIDHERE
Example: Ultima 1
[Desktop Entry]
Type=Application
Name=Ultima I
Icon=lutris_ultima-i
Exec=env LUTRIS_SKIP_INIT=1 flatpak-spawn --host flatpak run net.lutris.Lutris lutris:rungameid/2
Categories=Game
Step 4: Start RetroDECK
If all is working as excepted RetroDECK will now pickup the .desktop
file next time you start.
How-to: Launch Steam Games
Step 1: Create an empty desktop file
First, create the .desktop
file as mentioned above with the game name and put it in the retrodeck/roms/windows/
folder.
Step 2: Get the Steam AppID
- Open Steam.
- In Steam, go to
Library
->Right Click
the game ->Properties
->Updates
. - Make a note of the
AppID
.
Example: ASTLIBRA Revision

App ID: 1718570
Step 3: Populate the .desktop file
Open the .desktop file and populate it.
Steam (Native)
This for Steam that is installed natively.
Copy this:
[Desktop Entry]
Type=Application
Name=G NAMEHERE
Icon=steam_icon_APPIDHERE
Exec=flatpak-spawn --host steam -silent steam://rungameid/APPIDHERE
Categories=Game
Change the values of:
- Name= NAMEHERE
- Icon= steam_APPIDHERE
- Exec= rungameid/APPIDHERE
Example: ASTLIBRA Revision
[Desktop Entry]
Type=Application
Name=ASTLIBRA Revision
Icon=steam_icon_1718570
Exec=flatpak-spawn --host steam steam://rungameid/1718570
Categories=Game
Steam (Flatpak)
This for Steam that is installed via Flatpak.
Copy this:
[Desktop Entry]
Type=Application
Name=G NAMEHERE
Icon=steam_icon_APPIDHERE
Exec=flatpak-spawn --host flatpak run com.valvesoftware.Steam -silent steam://rungameid/APPIDHERE
Categories=Game
Change the values of:
- Name= NAMEHERE
- Icon= steam_APPIDHERE
- Exec= rungameid/APPIDHERE
Example: ASTLIBRA Revision
[Desktop Entry]
Type=Application
Name=ASTLIBRA Revision
Icon=steam_icon_1718570
Exec=flatpak-spawn --host flatpak run com.valvesoftware.Steam -silent steam://rungameid/1718570
Categories=Game
Step 4: Start RetroDECK
If all is working as excepted RetroDECK will now pickup the .desktop
file next time you start.