Xbox Cloud Gaming on Steam Deck
Xbox Cloud Gaming runs in a browser at xbox.com/play. Microsoft publishes its own Steam Deck setup for it, built on Microsoft Edge, and for most people that is the better route. This page explains both.
The official route: Microsoft Edge
Microsoft's article Xbox Cloud Gaming in Microsoft Edge with Steam Deck walks through it. In short, you install Microsoft Edge from Discover in Desktop Mode, then give it access to the Deck's controls with:
flatpak --user override --filesystem=/run/udev:ro com.microsoft.Edge After that you add Edge to Steam, rename the shortcut, set launch options that open https://www.xbox.com/play in kiosk mode and apply the Gamepad with Mouse Trackpad controller template. Microsoft's page has the exact launch options and artwork.
Use that route if you mostly play Xbox games. It is the setup Microsoft documents for the Deck, and it handles controller access, which this generator does not touch.
The quick route: a Chrome shortcut
If Chrome is already on your Deck and you would rather not install a second browser, the generator can add xbox.com/play to Game Mode as its own non-Steam game. Keep in mind that Microsoft's list of supported browsers covers Windows, macOS, ChromeOS, Android, iOS and iPadOS but not Linux, so Chrome on SteamOS is outside what Microsoft supports. If the game does not react to the Deck's buttons, switch to the Edge setup above.
- In Game Mode, press the STEAM button, open Power and choose Switch to Desktop.
- Install Google Chrome from the Discover Software Center if you don't have it yet. The generated script starts the Chrome flatpak (
com.google.Chrome), which is the version Discover installs. - Open the generator in a browser on the Deck. Enter
https://www.xbox.com/playas the Site URL andXbox Cloud Gamingas the App Name. Leave Use ~/Documents as default folder switched on. - Press Generate script, then Download .sh. The file is saved as
xbox-cloud-gaming.sh. - Open Konsole in the folder you downloaded it to and run:
The script writes a small launcher,chmod +x xbox-cloud-gaming.sh ./xbox-cloud-gaming.sh~/Documents/Xbox Cloud Gaming.sh, makes it executable and hands it tosteamos-add-to-steam, which adds it to your Steam library as a non-Steam game. - Double-click Return to Gaming Mode on the desktop. The shortcut is in your Library under Non-Steam, listed as
Xbox Cloud Gaming.sh. You can rename it in the shortcut's Properties. - Launch it. Chrome opens
https://www.xbox.com/playfull screen in kiosk mode, with no tabs, address bar or scrollbars. To close it, press STEAM and choose Exit Game.
Before you run it
- The App Name becomes the launcher's file name, so spaces and apostrophes are fine but a slash is not.
- Leave
~/Documents/Xbox Cloud Gaming.shwhere it is. The Steam shortcut points at that file. - The launcher uses your normal Chrome profile, so a site you sign in to in Chrome on the desktop is still signed in when you open the shortcut in Game Mode. Inside Game Mode, STEAM + X brings up the on-screen keyboard.
- The script does not set a controller layout. Pick one in the shortcut's controller settings. Microsoft's and NVIDIA's own Steam Deck guides both use the Gamepad with Mouse Trackpad template for their browser and app shortcuts, which gives you a pointer on the trackpad.