Skip to content

Start Steam reliably in Desktop Mode - #237

Draft
Janleyx wants to merge 1 commit into
armada-os:mainfrom
Janleyx:agent/desktop-steam-autostart
Draft

Start Steam reliably in Desktop Mode#237
Janleyx wants to merge 1 commit into
armada-os:mainfrom
Janleyx:agent/desktop-steam-autostart

Conversation

@Janleyx

@Janleyx Janleyx commented Aug 10, 2026

Copy link
Copy Markdown

What changed

  • Add a KDE autostart entry for Steam Desktop Controls.
  • Wait for Plasma Shell and Xwayland before launching the ARM Steam client.
  • Import Plasma’s live display environment before startup.
  • Avoid a second Steam instance and skip startup inside Nested Desktop.

Why

Starting Steam in full Desktop Mode enables Steam Input/controller desktop controls, but starting it too early can crash the ARM client’s legacy UI initialization. This keeps the behavior independent from Nested Desktop so it can be reviewed and tested separately.

Validation

  • bash -n system_files/usr/libexec/armada/desktop-steam-autostart
  • desktop-file-validate system_files/etc/xdg/autostart/armada-desktop-steam.desktop
  • git diff --check
  • Full Armada shell test suite passed on the current upstream base.

@justradical

Copy link
Copy Markdown
Member

Has this script been tested in Armada? Does it really need all this logic to be able to launch through xdg? Steam already detects if its running so why are you also checking that?

@Janleyx

Janleyx commented Aug 11, 2026

Copy link
Copy Markdown
Author

Sorry theres 1 thing here thats actually supposed to be tied to my nested desktop pr. I must of overlooked it. Import Plasma’s live display environment before startup is intended for the nested desktop work. The reason behind it when you launch nested desktop in Game mode the desktop environment loads in a vertical alignment. So it only takes half the screen and to correct it you have to rotate the screen in nested desktop. The problem however is when you go back to desktop mode you're going to find the screen is vertical now because of the change that was done in nested desktop. So this correction in particular is to avoid that from happening both in desktop mode and in nested desktop they both retain the correct screen orientation.

@Janleyx

Janleyx commented Aug 11, 2026

Copy link
Copy Markdown
Author

I was pretty busy theese days and did the pr seperation request in a bit of a hurry. My bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants