So, I wanted to share some knowledge and awareness about Nested Desktop. What it is, and if you’re interested, how to set it up.
What it is: Nested Desktop allows you to access Desktop Mode functionality while you’re still in Gaming Mode / Gamescope, and acts like any other game you’d run from there.
Think of it as your “Desktop Mode emulator for Gaming Mode”. It lets you access Desktop Mode files, apps, and functionality just like you were using Desktop Mode natively, WHILE you’re already in another game using Gaming Mode (so for instance, you could pull up Nested Desktop to get easier web browser access to look up something for the game you’re playing). It’s also much faster than rebooting natively into Desktop Mode when you need to use it.
I use Nested Desktop all the time! I find it to be a handy tool to have access to.
How To Set Up: Native Steam Deck screen (800p)
The native app always pulls up in 800p resolution, regardless of your display resolution. If you are on your 800p-screened Deck itself this is perfect; if you’re docked or have a different resolution replacement screen, and want a different resolution, I’ll cover that later.
Steps:
-
Reboot into native Desktop Mode. Hopefully this will be the last time you have to do that for awhile!
-
Use your application launcher in the bottom left corner. Navigate: All Applications ~ scroll down to N’s ~ Highlight Nested Desktop ~ RIGHT click ~ choose menu option “Add to Steam.”
-
You’re done and can go back to Gaming Mode! You can now run Nested Desktop right out of the non-Steam section of your library. Note: You do NOT have to set any launch properties or Proton options to run this.
When you are done using Nested Desktop, you can close it either with the standard STEAM button menu, or by double clicking the Return to Gaming Mode option on the desktop.
How To Set Up: For Other Resolutions
This was the part that took me forever to find out how to do searching online. I was VERY frustrated figuring this out, so I wanted to share to give others the resource. And sadly no, you can’t just pick your preferred resolution from the normal launch options on the regular Nested Desktop app.
Steps:
-
Reboot into native Desktop Mode.
-
Use your application launcher in the bottom left corner. Use it to navigate to and open a new document in your text document writer (the default is KWrite). Copy all the text between START and END below and paste it into your new document:
START
#!/bin/sh unset LD_PRELOAD
rm -rf /tmp/desktop-mode mkdir -p /tmp/desktop-mode cat > /tmp/desktop-mode/kwin_wayland_wrapper << EOF #!/bin/sh $(which kwin_wayland_wrapper) --no-lockscreen --width 2560 --height 1440 --x11-display $DISPLAY $@ EOF chmod +x /tmp/desktop-mode/kwin_wayland_wrapper
kwriteconfig5 --file startkderc --group General --key systemdBoot false PATH=/tmp/desktop-mode:$PATH startplasma-wayland kwriteconfig5 --file startkderc --group General --key systemdBoot --delete
END
NOTE: The height and width numbers in the code above are the resolution that the Nested Desktop will open in. This example is from my 1440p display, but change these to whatever resolution your display is.
- Save this document under any name that makes sense to you. This will be what you see in your library. For example, I named mine “Nested Desktop 1440” to distinguish it from the regular Nested Desktop I use when I’m handheld.
Also, be sure to save this somewhere that you can easily find it. I recommend the standard Documents folder.
-
Navigate to the file where you saved it. RIGHT click it, choose “Properties” from the menu. Under the Permissions tab, check the “is executable” box, and click OK.
-
Finally, RIGHT click the file again, and pick “Add to Steam.”
-
You can now go back to Gaming Mode, and run this whenever you need.
Thanks everyone, I hope you find this useful!
Oh that’s nice. I’ve used a script for nested desktop for years now, but I completely missed that they added an official app for launching it.
Great write up. Thank you!