Steam Deck Web App Generator
STEAM DECK YOUTUBE

How to watch YouTube on Steam Deck in Game Mode

On Steam Deck, YouTube runs in a web browser. This guide turns youtube.com into its own entry in your Steam library, so you can open it from Game Mode like a game, without switching to the desktop each time.

Google's YouTube system requirements list the newest version of Google Chrome for basic viewing, and Chrome is the browser the generated shortcut uses.

Add YouTube to Game Mode

  1. In Game Mode, press the STEAM button, open Power and choose Switch to Desktop.
  2. 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.
  3. Open the generator in a browser on the Deck. Enter https://www.youtube.com as the Site URL and YouTube as the App Name. Leave Use ~/Documents as default folder switched on.
  4. Press Generate script, then Download .sh. The file is saved as youtube.sh.
  5. Open Konsole in the folder you downloaded it to and run:
    chmod +x youtube.sh
    ./youtube.sh
    The script writes a small launcher, ~/Documents/YouTube.sh, makes it executable and hands it to steamos-add-to-steam, which adds it to your Steam library as a non-Steam game.
  6. Double-click Return to Gaming Mode on the desktop. The shortcut is in your Library under Non-Steam, listed as YouTube.sh. You can rename it in the shortcut's Properties.
  7. Launch it. Chrome opens https://www.youtube.com full 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/YouTube.sh where 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.

Using YouTube on the Deck

The shortcut opens the regular desktop YouTube site, not a TV or console layout. Move the pointer with the trackpad to pick videos, and press STEAM + X when you need to type a search. To sign in, either do it once in Chrome on the desktop or sign in inside the shortcut with the on-screen keyboard.

If you also want to visit other sites from Game Mode, add Chrome itself as well. The web browser guide covers that.