The desktop¶
TL;DR. KDE Plasma runs as on the Frame: as the Desktop app in a window of the VR session, from Steam's + → Launch Program, with one controller as the mouse. Software comes from Flathub through Discover, as on SteamOS. Desktop mode, Plasma started instead of the Steam client, works as on the Frame but is not tried on the headset.
The Desktop app¶
Valve's steamdeck-kde-presets puts Desktop into Steam's
+ → Launch Program (deckard-nested-desktop.desktop, X-Steam-Special=Desktop). Steam starts it like
any other app in the running session:
steamos-nested-desktopgives Plasma its own runtime directory, shares the audio sockets into it, and startsstartplasma-waylandin its own D-Bus session.- kwin runs nested as a 1280×800 window of gamescope, without a lock screen.
- Return to Gaming Mode on the desktop ends it.
The package also brings Valve's Plasma defaults and look-and-feel packages, and Steam's autostart inside Plasma.
How it is put together¶
- Plasma is Holo's (6.5.3, Qt 6.10). The Frame's own build (6.2.5) needs its private base's Qt 6.8.
The image adds Dolphin and Konsole, about 1.3 GiB in all: the system image is 6,432 MiB of
super's 8 GiB. - Software, as on SteamOS: Discover and Flathub. Holo's
flatpakanddiscover(6.5.3, matching its Plasma) install, update and remove Flathub apps system-wide, in/var/lib/flatpak, which the Frame's offload binds (var-lib-flatpak.mount) put on the data partition; an app's own data is in~/.var/app.steamosneeds no password for it: flatpak's polkit rule lets thewheelgroup's active local session install. Both stay through reboots and upgrades. An app starts from Plasma's menu, and in Gaming Mode from Steam's - menu. The system image itself stays read-only (userspace.md).
plasma.desktopis Valve's (start-gamescope-session plasma-session.target), as on the Frame, whose Plasma build leaves it out. Holo'splasma-workspaceships its own, which starts Plasma without SteamVR.build-userspace.shinstalls Valve's over it and checks the owner.- Clicks. kwin chooses its X11 backend (gamescope sets
DISPLAY). For a window that is not Steam's, gamescope sends the laser's click as a touch and sets_STEAMOS_TOUCH_POINTER_EMULATIONon Xwayland's root; Valve's Xwayland turns that touch into the pointer's click. Holo's Xwayland 24.1.9 does not, and the Frame's needs its private base's libei (ei_device_text_keysym), so kwin got bare touches and ignored them.overpressure-gamescope'sgamescope-non-steam-window-click.patchgives such windows the click as the left button, as gamescope already does for game windows; hover is unchanged. - One launch at a time.
steamos-nested-desktopfirst removes$XDG_RUNTIME_DIR/nested_plasma. A second Desktop started while one runs removes the first one's runtime directory with kwin's Wayland socket in it: kded6 fails ("Failed to create wl_display") and Plasma stays black. - The laser is the dashboard's (SteamVR configuration), one controller is
enough: trigger left click, joystick click right click, grip middle click, joystick scroll, B or Y
back. A or X is the laser's home, as on the Frame. SteamVR sends it as OpenVR button 1
(
k_EButton_ApplicationMenu, the compositor'sVREvent_ButtonPress, as back is button 2); the Frame's Steam client acts only on button 2 (k_EButton_Dashboard_Back), and neither SteamVR nor gamescope handle 1, so it does nothing on the Frame either.
Desktop mode¶
Desktop mode works as sddm runs it on the Frame. Steam's VR power menu does not offer Switch to Desktop, so in VR the desktop is the Desktop app above; desktop mode is not tried on the headset:
- Steam's Switch to Desktop asks steamos-manager, which writes a one-shot autologin
(
/etc/sddm.conf.d/zzt-steamos-temp-login.conf,Session=plasma.desktop) and ends the session. Default to Desktop Mode on startup writeszz-steamos-autologin.confinstead. pico4-session.servicestarts the next session after 5 s. Itssession-targettakes the target from sddm's autologin, read as sddm reads it:/usr/lib/sddm/sddm.conf.d, then/etc/sddm.conf.d, then/etc/sddm.conf, with a later setting winning. It follows that session'sstart-gamescope-session TARGETline:plasma.desktopgivesplasma-session.target.PICO4_SESSION_TARGETin/etc/overpressure/session.confoverrides it.plasma-session.targetis SteamVR and gamescope without the Steam client.steamvr-nested-desktop.servicerunssteamos-nested-desktop, and Plasma floats at 1920×1080 as the overlayvalve.plasma.desktopmode. steamos-manager removes the one-shot login in the new session.- Return to Gaming Mode (
steamosctl switch-to-game-mode) goes back the same way.
session-switch runs as root around each session:
- At the first start of a boot, it removes a one-shot login left from before, as sddm's
reset-oneshot-boot.confdoes. - It records the running target in
/run/pico4/session-target. - A session that ends because the next one starts another target is a switch, not a crash: it resets the
session's start limit (
systemctl reset-failed).
steamvr-ended and pico4-steamvr-failed.service stop the running target, from
$GAMESCOPE_SESSION_TARGET. The room view, Overpressure Settings and the VR CPU limits run with SteamVR,
so they run in both sessions.
pico4-userspace-check requires the Desktop entry, steamos-nested-desktop, startplasma-wayland and
kwin_wayland_wrapper, and checks the recorded target.
Verified results¶
| Check | Result |
|---|---|
| + → Launch Program → Desktop, worn | Plasma in a window of its own; hover, clicks, right click, middle click and scrolling with one controller; Dolphin opens folders and its window drags |
| Switch to Desktop | not in Steam's VR power menu |