[Solved] How can I reset the desktop mode screen resolution?

petrescatraian@libranet.de to Steam Deck@sopuli.xyz – 10 points –

I was playing around with AnyDesk on the Deck, getting some stuff, and I wanted to set the screen share resolution to fit my laptop screen (where I was streaming the screen to). I somehow managed to change the resolution to something really small, and no setting on AnyDesk could change it back.

I opened the menu but could not get to the settings, so I thought a restart should fix it. Of course, I lost connection to AnyDesk, and now, whenever I access the desktop mode, I am greeted by a blank screen after the splash screen. I suspect the desktop mode is still loaded, but as the screen resolution is messed up, nothing is shown on the screen.

Is there any way to change it back to the default?

Edit: Resolved. Solution in the comments

5

I don't have a complete solution, but I do have some ideas:

  • Have you tried hooking it up to an external monitor? Sometimes auto-config can help you recover from weird states if you plug in a different display.
  • On my Deck, I can reach a terminal by using CTRL-ALT-F4 that is separate from the main desktop mode (CTRL-ALT-F1 switches back). Default user seems to be called "deck". You may need to set a password to use sudo. I am not sure exactly how the desktop environment is set up on the Deck so I am not sure exactly what you need to change or where the files would be -- maybe check under /usr/share/X11/xorg.conf.d to see if anything is set to an insane value there?
  • You might try sending Valve a support request
  • As a last resort, you could try a factory reset. You'll nuke everything else on it too though...

Once in a terminal, this command should change the resolution

xrandr --output eDP --mode 800x1280

@SatyrSack @e0qdk Thanks. I, unfortunately, do not have a dock. I will go to a friend tomorrow who has and I will be connecting it to a monitor. Hopefully this will help.

Once in a terminal, this command should change the resolution

Thank you!

If you have the ability to connect to an external monitor, you can likely fix it by changing the resolution in the system settings instead, if a GUI is easier for you. But if you still end up using that command, "eDP" refers to the internal display specifically, so you don't have to worry about that command messing up the external monitor's resolution or anything. Good luck!

@SatyrSack Thank you!

Edit: So I solved it simply by plugging in to an external monitor. I had the resolution set at something like 200x[something] (probably just a dot on the Deck's screen, lol).

So I connected it, went to the display settings and adjusted the resolution of the Deck's screen from there.

Gosh, having a dock and an external monitor is really useful tbh, I gotta spare some money for this

CC: @e0qdk