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
- 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.youtube.comas the Site URL andYouTubeas the App Name. Leave Use ~/Documents as default folder switched on. - Press Generate script, then Download .sh. The file is saved as
youtube.sh. - Open Konsole in the folder you downloaded it to and run:
The script writes a small launcher,chmod +x youtube.sh ./youtube.sh~/Documents/YouTube.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
YouTube.sh. You can rename it in the shortcut's Properties. - Launch it. Chrome opens
https://www.youtube.comfull 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.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.
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.