8.1 KiB
KDE Desktop, Flatpak and Plasma Setup
D-095 amendment: use stock Arch Discover with the packaged Archipelago OS-update D-Bus plugin and Flatpak/fwupd. PackageKit and its dependencies/backend are excluded. Host Extension package installation is CLI → archipelagod only. Earlier PackageKit integration requirements below are superseded.
Status: Accepted product direction under D-089 (2026-11-06); KDE publication authorized by D-091 (2026-11-07) after user-confirmed hardware readiness.
D-091 authorizes the checked 20261107T055158Z ISO, image and layers on
stable/kde, followed by a pipeline-built default-update. D-110 (2026-11-13)
replaces SDDM with Plasma Login Manager, whose greeter is a Plasma session; the
Breeze theme selection no longer applies and local overrides remain respected.
The user will test Discover updates after publication.
Earlier implementation notes below are historical. Full reproducibility and
general release gates remain separately tracked.
Implementation update (2026-11-06): the user requests implementing the complete
KDE path and starting the next build after the active Core/GNOME run finishes.
Private source adapters now cover Core reuse, Purpose identity, Plasma Setup
observation, separate Flatpak preparation, Discover and optional three-variant
coordination/publication. This records implementation work, not a new public
release exception. No KDE compilation/runtime evidence is claimed. The native UI
action profile still requires calibration on the first image; missing evidence
blocks acceptance. See builder/LAYERED-KDE.md and infrastructure/pipeline/KDE.md
(workspace-relative paths).
Accepted composition
KDE is a separate Desktop Purpose composed with the same exact Core commit and package inputs used in its release cycle. Core is built once, not rebuilt within the KDE path. Native components are Plasma/KWin, System Settings, Discover, Dolphin, Konsole, Spectacle, Ark and desktop integration (KIO, KDE portals, Polkit/KWallet, network/audio/power, Plymouth). D-076 Toolbx/rootless Podman applies.
The user explicitly adds sddm-kcm on 2026-11-07: ship the native System Settings
module for configuring SDDM alongside the display manager and Breeze theme.
Machine-local settings retain normal /etc precedence over vendor defaults.
The same follow-up also includes kinfocenter, explicitly requested for the
About this System page in KDE System Settings.
D-121 adds kdeconnect to the native set: phone integration ships with the
desktop as an ordinary package of the pinned snapshot, so the daemon, KCM and
Dolphin service menu have the same provenance as Plasma. No firewall is
installed, so the KDE Connect port range stays open on the local network.
The user also requests zram through zram-generator for all Desktop Purpose
images (2026-11-07, explicitly correcting the initial zswap wording). Ship the
generator and a vendor [zram0] section without tuning overrides, as in GNOME.
Systemd activates compressed RAM swap on boot, without a disk swap requirement.
Deliver Okular, Gwenview, Kate, Elisa, KCalc and KClock as independently removable
and updateable stable Flathub applications. Exact refs, runtimes, package versions
and checksums must be resolved and validated before enabling a build. The policy
in purposes/proposals/kde-flatpak-apps.json is a private adapter input, not a
stable manifest extension. A default browser is not selected by this decision.
The KDE ISO carries its own application/runtime export, imports it once at initial installation, and retains normal Flatpak origins. Updates must not reinstall apps the user removed. A KDE-specific persistent cache isolates its refresh/export lifecycle from GNOME. The current GNOME cache path need not migrate. Reuse common preparer/import logic after parameterizing the existing GNOME-specific assumptions; do not symlink mutable installation directories between Purposes.
Provisioning
Use upstream Plasma Setup for first-account and initial settings creation. Its
documented completion marker is /etc/plasma-setup-done; its service orders before
display-manager.service. The installed-only drop-in must also exclude Archiso
using /run/archipelago-live, since upstream's rd.live.image condition alone
does not identify our live medium. Do not ship completion markers in the image.
Archipelago observes completed provisioning, validates the primary account/home, administrative access and container subordinate IDs, then records its existing completion marker. It does not replace the upstream account creation mechanism. Configure temporary setup identities through upstream sysusers/lifecycle; D-060 and the persistent-account deletion restriction apply. Existing-user Purpose switching, cancellation/retry and update/rollback marker inheritance need explicit adapter coverage. SDDM remains a candidate, with exact snapshot compatibility and handoff still to be checked. Do not start two display managers together.
Discover and update identity
D-093 adds Discover's PackageKit frontend for Host Extensions through PackageKit's Archipelago backend -> archipelagod D-Bus. Keep the native Archipelago OS backend and independent Flatpak/fwupd backends. Replace the current restricted launcher and PackageKit mask only with the verified replacement backend; never enable live ALPM. Present staged native packages as pending restart and preserve original-user authorization. Managed Overlays use their separate daemon interface, not fake PackageKit packages. See RFC-0013.
D-092 supersedes the initial pkexec/helper integration transport with native system D-Bus transactions shared by Discover, GNOME Software and CLI. Authorization, progress, cancellation and restart reconciliation follow RFC-0012; implementation is pending.
Discover's native Archipelago backend must invoke the shared CLI transaction contract: verified target, downgrade protection, immutable plan, staged deployment, explicit activation and D-088 support/customization reporting. Flatpak/fwupd retain their own backends. Do not route OS changes through live ALPM. GNOME Software's plugin is not a Discover plugin.
Before enabling KDE, replace the binary GNOME-marker/Core inference with explicit
Purpose identity. Image identity, installer, update plans, Host Extension
finalization and selected boot profile must all agree. The intended channel is
stable/kde; the present two-variant publisher/catalog/retention logic requires
generalization. D-087's existing Core/GNOME authorization is not evidence of KDE
release acceptance, and this scaffolding does not publish or schedule KDE.
Acceptance to implement
- Core checks on the full Core + KDE candidate, not only a separately tested Core.
- Live install, first installed boot, Plasma Setup account creation and retry, normal display-manager login and Plasma Wayland session.
- Network ownership, audio, power, portals, file dialogs, screen capture, administrative authorization, keyring, and Toolbx/rootless Podman persistence.
- Presence of the six Flatpaks and their runtimes in the installed machine; independent update/removal and no unintended reseeding by OS updates.
- Host Extension activation with correct supported/customed classification, Managed Overlay acceptance and explicit rollback with retained data.
- Update from a previous installed KDE image to a newer image, including Discover presentation and final booted identity. This is separate from fresh ISO acceptance.
- Plymouth graphical display/handoff and independent reproducibility evidence.
No KDE build, VM test, runtime-ref resolution or GUI acceptance has been performed as part of creating these registry proposals.
Upstream references
- https://invent.kde.org/plasma/plasma-setup
- https://github.com/KDE/plasma-setup/blob/master/README.md
- https://github.com/KDE/plasma-setup/blob/master/files/plasma-setup.service.in
- https://planet.kde.org/kristen-mcwilliam-2026-02-17-plasma-setup-released
README/service reviewed on 2026-11-06. These moving upstream references are design evidence, not pinned build inputs; inspect the actual Arch package before integration.