this post was submitted on 30 Jan 2025
66 points (98.5% liked)

Steam Deck

15360 readers
310 users here now

A place to discuss and support all things Steam Deck.

Replacement for r/steamdeck_linux.

As Lemmy doesn't have flairs yet, you can use these prefixes to indicate what type of post you have made, eg:
[Flair] My post title

The following is a list of suggested flairs:
[Discussion] - General discussion.
[Help] - A request for help or support.
[News] - News about the deck.
[PSA] - Sharing important information.
[Game] - News / info about a game on the deck.
[Update] - An update to a previous post.
[Meta] - Discussion about this community.

Some more Steam Deck specific flairs:
[Boot Screen] - Custom boot screens/videos.
[Selling] - If you are selling your deck.

These are not enforced, but they are encouraged.

Rules:

Link to our Matrix Space

founded 3 years ago
MODERATORS
 

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:

  1. Reboot into native Desktop Mode. Hopefully this will be the last time you have to do that for awhile!

  2. 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."

  3. 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:

  1. Reboot into native Desktop Mode.

  2. 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.

  1. 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.

  1. 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.

  2. Finally, RIGHT click the file again, and pick "Add to Steam."

  3. You can now go back to Gaming Mode, and run this whenever you need.

Thanks everyone, I hope you find this useful!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 11 hours ago

Great write up. Thank you!