Steam Deck Web App Generator
STEAM DECK DESKTOP MODE

How to get into Desktop Mode on Steam Deck, and back out

By ยท

Game Mode is the Steam interface the Deck boots into. Desktop Mode is the full Linux desktop underneath it, where you install apps, manage files and run scripts. Valve's own help pages cover how to get there and back, and this guide puts those steps in one place.

How to switch to Desktop Mode

  1. Press the STEAM button.
  2. Open Power.
  3. Choose Switch to Desktop.

The Deck closes Game Mode and opens a KDE Plasma desktop. Valve's Basic Use & Troubleshooting Guide says that in Desktop Mode the Deck works like a normal PC: you can browse the internet, install applications and run programs outside of Steam. It is still SteamOS, which is based on Arch Linux, so anything you install has to support that distribution.

Controls on the desktop

Without a mouse and keyboard, the controller stands in for both. From Valve's guides:

  • Right trackpad moves the pointer.
  • R2, or a click on the right trackpad, is a left click.
  • L2, or a click on the left trackpad, is a right click.
  • STEAM + X opens the on-screen keyboard, but only while Steam is running.

Valve's Steam Deck Desktop FAQ says the desktop keyboard is still being improved and that you may need to plug in a physical keyboard and mouse now and then. A Bluetooth keyboard pairs from Settings, Bluetooth. The same FAQ says desktop apps and games get the Deck's controls when Steam is running, so leave Steam open while you work. Every combo is on the Steam Deck shortcuts cheat sheet.

How to exit Desktop Mode

Double-click Return to Gaming Mode, the shortcut on the desktop. The Deck goes back to the normal Steam interface. If the shortcut is gone, Valve's FAQ says logging off through the system menus also brings you back.

Installing apps in Desktop Mode

The desktop comes with the Discover Software Center on the taskbar. Search for an app and press Install. Discover installs apps as flatpaks onto the writable part of the drive, which Valve says keeps them safe from future SteamOS updates. That is how you get a browser such as Google Chrome, a music app or a chat client; see installing Chrome on Steam Deck for a full example.

If you know the Linux command line, you can run flatpak commands in Konsole instead; the terminal guide shows how to open it. Valve warns against going further than flatpak: software installed another way, for example with pacman, may be wiped by the next update, and making the system image writable with sudo steamos-readonly disable is only for people who know what they are doing.

Using sudo in Desktop Mode

The default deck user has no password, so sudo does not work out of the box. Valve's FAQ says to open a terminal and set one with passwd. The Steam Deck sudo password guide walks through it, including what to do if you forget it. Most everyday tasks, including installing apps from Discover and running this generator's script, do not need sudo at all.

Bringing desktop apps into Game Mode

Anything you install on the desktop can launch from Game Mode once it is in your Steam library:

  1. Open the Steam client on the desktop.
  2. Click Add a Game in the lower left corner, then Add a Non-Steam Game.
  3. Tick the app and click Add Selected Programs.
  4. Return to Gaming Mode. The app is in your library under Non-Steam.

Valve also says you can run such an app at the same time as a game: press STEAM, go to your library, launch the other app, and switch between the two from the left-hand menu. The non-Steam game guide has more on how those shortcuts behave.

Adding a website instead of an app

A website is not a program, so it does not appear in the Add a Non-Steam Game list. This generator fills that gap: it writes a small launcher that opens one site full screen in Chrome and adds it to Steam. You run it once, in Desktop Mode, in Konsole:

  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.

If something breaks after a desktop session

Valve's troubleshooting guide asks you to exit or disable any third-party applications installed through Desktop Mode and test again before anything else. If the Deck is in a bad state, its SteamOS recovery page lists the options, from rolling back to the previous OS version while keeping your data to a full factory reset.

Questions

How do I get to Desktop Mode on Steam Deck?

Press the STEAM button, open Power and choose Switch to Desktop. The Deck restarts the session into the KDE Plasma desktop.

How do I exit Desktop Mode?

Double-click Return to Gaming Mode on the desktop. Valve's Desktop FAQ says you can also log off through the system menus to get back.

How do I right-click in Steam Deck Desktop Mode?

Press L2, or click the left trackpad. R2 or a click on the right trackpad is a normal left click, and the right trackpad moves the pointer.

How do I open the keyboard in Desktop Mode?

Press STEAM + X. It only works while Steam is running, so start Steam first if it was closed. Valve says some situations still need a physical keyboard and mouse.

Will a SteamOS update delete what I install in Desktop Mode?

Apps from the Discover Software Center are flatpaks on the writable part of the drive, which Valve says future SteamOS updates will not break. Software installed outside flatpak, for example with pacman, may be wiped by the next update.