Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

354.10. plasma-workspace-6.8.2

KDE Plasma workspace — plasmashell, session start and shutdown, KRunner, notifications, the panel applets and the workspace settings

The build-state snapshot was taken from 6.8.2-3; this recipe is 6.8.2-5, so the size, time and contents below describe the earlier build.

Version 6.8.2, release 5
Shelf kde — KDE Plasma and Gear platform pieces outside Frameworks that have no other domain: KIO workers, thumbnailers, Plasma integration, KDE Wayland glue
Phase 50_desktop (Desktop), 32 of 92 in build order
Licence GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND MIT AND LGPL-2.1-or-later AND CC0-1.0 AND LGPL-2.0-only AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GPL-3.0-or-later AND (LGPL-2.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND LGPL-3.0-or-later AND ISC
Homepage https://invent.kde.org/plasma/plasma-workspace
Build time 2.0 SBU
Installed size 56.6 MiB in 750 files
Recipe ports/core/kde/plasma-workspace/kpkgbuild

About

Plasma Workspace is most of what a Plasma session is: plasmashell, which draws the desktop, the panels and their applets; startplasma-wayland, plasma_session and ksmserver, which start the session and end it; KRunner; the notification server; Klipper; the logout screen; KSplash; xembedsniproxy for X11 tray icons; and the System Settings modules for colours, fonts, cursors, icons, the global theme, notifications, Region & Language, users, autostart and default applications. Its libraries (libkworkspace, libtaskmanager, libnotificationmanager, libklookandfeel) are what plasma-desktop, powerdevil and the other session modules link. It runs under kwin and needs kscreenlocker, whose D-Bus interface definitions the configure reads.

Why it is in KDOS

The comment above it in script/phases/50_desktop/packages.txt:

plasmashell, session start and shutdown, KRunner, notifications, the panel applets and the workspace settings.

Sources

Dependencies

Depends on: cmake, ninja, extra-cmake-modules, pkgconf, qt6-qtbase, qt6-qtdeclarative, qt6-qtlocation, qt6-qtpositioning, qt6-qtshadertools, qt6-qtsvg, qt6-qtwayland, qt6-qt5compat, karchive, kauth, kbookmarks, kcmutils, kcolorscheme, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdeclarative, kded, kdoctools, kglobalaccel, kguiaddons, kholidays, ki18n, kiconthemes, kidletime, kio, kirigami, kirigami-addons, kitemmodels, kjobwidgets, knewstuff, knotifications, kpackage, kparts, kquickcharts, krunner, kservice, kstatusnotifieritem, ksvg, ktexteditor, ktextwidgets, kwallet, kwidgetsaddons, kwindowsystem, kxmlgui, prison, solid, baloo, libplasma, plasma-activities, plasma-activities-stats, kwayland, libksysguard, libkscreen, layer-shell-qt, kpipewire, knighttime, union, kwin, kscreenlocker, plasma-wayland-protocols, wayland, qcoro, libqalculate, libcanberra, dbus, eudev, icu, zlib, freetype2, fontconfig, libxkbcommon, libX11, libICE, libSM, libXau, libXcursor, libXfixes, libXft, libXrender, libXtst, libxcb, xcb-util, xcb-util-cursor, xcb-util-image, xcb-util-wm, libkexiv2, appstream, accountsservice, fprintd, kio-extras, kio-fuse, milou, kactivitymanagerd, kde-cli-tools, plasma-integration, breeze, musl-locales, tzdata.

Required by (11): kde-plasma, kdeplasma-addons, kdos-plasma-look, krohnkite, plasma-browser-integration, plasma-desktop, plasma-setup, plasmoid-kdos-checklist, plasmoid-kdos-privacy, powerdevil, xdg-desktop-portal-kde.

Patches

build.sh applies these; kpkg applies nothing by itself.

locales.patch points the Region & Language module’s locale search at /usr/share/i18n/locales/musl, where musl-locales installs its definition files. The module’s GlibcLocaleConstructor scans that directory every time the module starts, whatever GLIBC_LOCALE says. Upstream reads /usr/share/i18n/locales and has no option for the directory; there the scan finds the musl/ subdirectory and no file, and the module shows a red error that it could not find the system’s locales. Chimera Linux carries the same one-line change (cports main/plasma-workspace/patches/locales.patch).

region-no-generation.patch makes an Apply in Region & Language end on the blue “Changes will take effect the next time you log in” message alone. With GLIBC_LOCALE_GEN=OFF the module’s generator is LocaleGeneratorBase, whose only answer to a save is userHasToGenerateManually with a fixed text telling the user to install fonts and generate locales from the distribution’s manual. Upstream’s kcmregionandlang.cpp counts that signal as success for this generator, but also shows the text as a red error, beside a “don’t turn off the computer” warning, raised before the call, that nothing takes down. The patch connects the signal, for LocaleGeneratorBase, to saveToConfigFile and takeEffectNextTime only, and save() raises the warning only for a generator that generates. musl needs no generation step: it takes any locale name. It is to be offered upstream.

kdos-bootctl-entry.patch is KDOS’s own. The logout screen names the boot entry the next restart switches to, and looks its title up in the output of bootctl list --json=short; KDOS has no bootctl, so the patch runs kdos-bootctl from kdos-tools instead, whose list --json=short prints the A/B slots in the same JSON shape. Without it the screen shows no entry. See Counting and confirming.

sandbox-badge.patch adds the task roles SandboxEngine and SandboxName, at the end of AbstractTasksModel::AdditionalRoles so no existing role value moves: org.flatpak and the application id for a task whose desktop entry has X-Flatpak, io.kdos.appbox and the box for one with X-KDOS-Box, which every launcher kdos-appbox genlaunchers writes carries. The Task Manager’s tooltip reads them (plasma-desktop’s patch of the same name). They say where an entry launches, not what a running window is; the title-bar glyph, read from the compositor’s security context, is the authority on that. Proposed upstream with the KWin, KDecoration and Breeze halves.

notifications-group-expander.patch makes a notification group in the history hide its oldest entries and always offer the “Show %1 More” and “Show Fewer” button for them, with the count it hides. Every KDOS Tools notification is in one group: kdos, kdos-notice and kdos-runner send x-kde-appname and no desktop-entry. It changes four files.

The history model in applets/notifications/main.qml sets expandUnread: false. Upstream sets it true, and NotificationGroupCollapsingProxyModel::filterAcceptsRow then keeps every unread child newer than lastRead as well as the newest groupLimit (two), so a collapsed group hides an entry from its middle, and which one depends on what has been read. Off, a collapsed group shows its newest two and hides exactly the older ones.

The button’s count is GroupChildrenCountRole less ExpandedGroupChildrenCountRole, both read on the group’s last visible row, and the delegate reads each again only when the model announces it. Both are re-announced to every child row of a group when a row joins or leaves it. libnotificationmanager/notificationgroupingproxymodel.cpp announces GroupChildrenCountRole, the group’s size, on all of a group’s children when tryToGroup adds one, and on all remaining children, by the group’s own child count, when one is removed; upstream announces it on none when a row joins, so the rows already shown keep the old size. libnotificationmanager/notificationgroupcollapsingproxymodel.cpp re-announces ExpandedGroupChildrenCountRole, the proxy’s row count under the group, and IsGroupExpandedRole after a source row is inserted or removed and after a ReadRole change. Without either, a group of four shows three rows and no button, or a group of eight offers “Show 4 More” when five are hidden, and an entry is never reachable.

applets/notifications/FullRepresentation.qml draws the button on the row followed by a top-level row or by none. Upstream draws it on the row whose ListView.nextSection differs from its section, the sender’s desktop entry. A sender that names no desktop entry has an empty section, and nextSection is empty past the list’s last row, so a group of such a sender at the bottom of the history, or followed by another one, draws no button. The next row is read from the model, which QML does not track, so the list keeps a revision that the model’s layout change, move, insertion, removal and reset signals bump, and the binding reads it; without it a group re-sorted in place would leave the button on a row that is no longer its last.

It is to be offered upstream.

appstream-runner-name-match.patch makes the Software Center runner in runners/appstream/appstreamrunner.cpp, which gives KRunner and Kickoff their “Get …” results, offer an application that is not installed only when every word of the query, case-folded, occurs in its name, id, package name or one of its keywords. AppStream’s search also matches summaries and descriptions, and over the thousands of components of Debian’s DEP-11 catalogue such a hit answers almost any query, arithmetic included: without the patch 12*7 offers Debian applications whose description holds the characters. It is the rule Discover’s own search follows (see Discover). The same patch narrows the runner’s other gate: it offers nothing when an installed application or command is named exactly what was typed, case-insensitively, rather than on any exec:// match another runner found. An application counts when a match’s text is the query (the services runner’s KCalc for kcalc); a command counts when the file name of a match’s command, the first argument after exec://, is the query’s first word (the shell runner’s “Run gimp” for gimp, “Run htop” for htop, whose text is never the query). The services runner gives each application it matches an exec:// id, its fuzzy matches included, so under the unpatched gate galculator finds KCalc and no “Get galculator…” row appears. It is to be offered upstream.

appstream-runner-icon.patch gives each “Get …” result of the Software Center runner an icon it can draw. Upstream’s componentIcon() adds a component’s cached or local icon file whether or not it exists, and tries a stock name, with QIcon::fromTheme, only while no file was added. debian-dep11 installs no icon files, so a Debian application such as galculator got a QIcon that is not null and draws nothing, an empty slot, and one whose stock name Breeze lacks, such as xdrawchem, got a placeholder. The patch adds a file only when it exists, takes the first stock name QIcon::hasThemeIcon() knows, and with neither takes the icon of the component’s first main desktop-entry category, from the table kdos-discover’s backend files a Debian application by (applications-utilities for Utility, applications-science for Science, kcolorchooser for Graphics), and only then package-x-generic. KRunner and Discover then show one icon for a Debian application. It is to be offered upstream.

desktop-view-title.patch titles each desktop window with the shell package’s name alone, “Desktop”, the title shell/desktopview.cpp already gives the view before it follows a screen. Upstream’s DesktopView::setScreenToFollow() appends @ and a QDebug dump of the screen’s geometry. A screen reader takes the window title for the desktop’s name, so Orca says “Desktop @ QRect(0,0 1920x1080)” each time focus returns to the desktop; a Qt debug string is no name. The screen a view follows stays readable from screenToFollow(), and nothing on KDOS matches on the title. It is to be offered upstream.

timezone-selector-width.patch sizes the floating toolbar under the time-zone map, in components/timezoneselector/TimezoneSelector.qml, to its row and its padding. Upstream sets the toolbar’s width to the row’s implicit width, so the row is laid out that width less the toolbar’s left and right padding; the two combo boxes do not shrink below their implicit width, and the time-zone box overhangs the panel’s right edge in plasma-setup’s Time and Date page and wherever else the selector is used. The patch drops the width binding, so the toolbar takes its implicit width, and keeps the height binding. It gives the time-zone box the right margin the region box already has, so the row’s two ends are the same distance from the panel’s edges with and without the time-zone box shown. It is to be offered upstream.

kcm-colors-accent-names.patch gives each accent colour swatch on the Colors settings page, in kcms/colors/ui/AccentColorUI.qml, a spoken name. The swatches are radio buttons with no text, built from a model of ten bare hex strings, and the colour-picker button beside them carries only its icon, so Orca reads each swatch as “not selected radio button” and the picker as an unnamed button. The patch adds a list of ten translated colour names in model order (Pink, Red, Orange, Yellow, Green, Teal, Blue, Purple, Violet, Gray) and sets each swatch’s accessible name and tooltip from it; the custom-colour indicator is named “Custom accent color” and the picker “Choose a custom accent color…”, which is also its tooltip. It adds no colour. It is to be offered upstream as a merge request against plasma/plasma-workspace.

region-rows.patch makes the Region & Language page, in kcms/region_language/optionsmodel.cpp, read each row’s setting from the row’s own entry rather than from its number. The row list holds Address, Name Style and Phone Numbers only where the C library defines LC_ADDRESS, which musl does not, so on KDOS every row after Paper Size is three places earlier than its SettingType: Data and Storage Sizes, row 6, was taken for Address, whose case is compiled out, and showed no example, and changing it signalled a row that does not exist. Data and Storage Sizes is always the last row, and its subtitle is empty rather than unreachable. It is to be offered upstream.

timezone-no-region.patch lets the time-zone selector, in components/timezoneselector/TimezoneSelector.qml, take a zone with no /, such as UTC, which a live medium and an install that kept the default run in. Upstream splits every id at its first slash, so UTC became the region UT and the location box was handed a region the table does not have; the next line threw a TypeError in the desktop and the mobile layout. A zone with no slash is now a region with no location, and an unknown region gives the location box an empty list. It is to be offered upstream.

Installation

From the repository root, inside the build container, this is the line kdosbuild runs for the port:

script/chroot/exec.sh bash -c 'source script/phases/50_desktop/phase.env && kpkg install plasma-workspace'

What kpkg does

kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/kde/plasma-workspace.

1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.

cd /ports/core/kde/plasma-workspace
echo '52bee29adbac15d0e2f8db98e6440d4ae042fc38340423ed736ac20189778b64  plasma-workspace-6.8.2.tar.xz' | sha256sum -c -

2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.

SRC_ROOT=/var/cache/kpkg/work/plasma-workspace
SRC=$SRC_ROOT/plasma-workspace-6.8.2
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf plasma-workspace-6.8.2.tar.xz -C "$SRC" --strip-components=1

Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.

3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the recipe’s helpers group and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:

patch -p1 -i "$PORT_SRC/locales.patch"
patch -p1 -i "$PORT_SRC/region-no-generation.patch"
patch -p1 -i "$PORT_SRC/kdos-bootctl-entry.patch"
patch -p1 -i "$PORT_SRC/sandbox-badge.patch"
patch -p1 -i "$PORT_SRC/notifications-group-expander.patch"
patch -p1 -i "$PORT_SRC/appstream-runner-name-match.patch"
patch -p1 -i "$PORT_SRC/appstream-runner-icon.patch"
patch -p1 -i "$PORT_SRC/desktop-view-title.patch"
patch -p1 -i "$PORT_SRC/timezone-selector-width.patch"
patch -p1 -i "$PORT_SRC/kcm-colors-accent-names.patch"
patch -p1 -i "$PORT_SRC/region-rows.patch"
patch -p1 -i "$PORT_SRC/timezone-no-region.patch"

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D WITH_X11=ON \
	-D WITH_X11_SESSION=OFF \
	-D INSTALL_SDDM_WAYLAND_SESSION=ON \
	-D GLIBC_LOCALE_GEN=OFF \
	-D GLIBC_LOCALE=OFF \
	-D BUILD_GEOTIMEZONED=OFF \
	-D BUILD_CAMERAINDICATOR=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_AccountsService=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_AppStreamQt=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Fontconfig=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Freetype=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KExiv2Qt6=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Baloo=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_KF6UserFeedback=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_PackageKitQt6=ON \
	-Wno-dev
cmake --build build --target shell/qwayland-plasma-shell.h shell/wayland-plasma-shell-client-protocol.h
cmake --build build
DESTDIR=$PKG cmake --install build
rm -rf "$PKG/usr/lib/systemd"
rm "$PKG/usr/lib/qt6/plugins/kf6/kded/oom_notifier.so" "$PKG/usr/share/knotifications6/oom_notifier.notifyrc"
ln -s plasma-applications.menu "$PKG/etc/xdg/menus/applications.menu"

The switches, and why each is set:

The common switches of each build system are explained in the Flag glossary.

4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/plasma-workspace, prunes what the image does not ship, lints the tree and rolls it reproducibly:

tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
    --mtime=@$SOURCE_DATE_EPOCH \
    --use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
    -cf plasma-workspace-6.8.2-5.tar.xz -C "$PKG" .

5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/plasma-workspace, and runs the triggers its paths call for.

Contents

Installed programs: gmenudbusmenuproxy, kcolorschemeeditor, kfontinst, kfontview, krunner, ksmserver, ksplashqml, lookandfeeltool, plasma-apply-colorscheme, plasma-apply-cursortheme, plasma-apply-desktoptheme, plasma-apply-lookandfeel, plasma-apply-wallpaperimage, plasma-interactiveconsole, plasma-shutdown, plasma_session, plasma_waitforname, plasmashell, plasmawindowed, startplasma-wayland, xembedsniproxy.

Installed libraries: libbatterycontrol.so, libkfontinst.so, libkfontinstui.so, libklipper.so, libklookandfeel.so, libkmpris.so, libkworkspace6.so, libnotificationmanager.so, libtaskmanager.so.

Installed directories: /usr/include/klookandfeel, /usr/include/kworkspace6, /usr/include/notificationmanager, /usr/include/taskmanager, /usr/lib/cmake/KRunnerAppDBusInterface, /usr/lib/cmake/KSMServerDBusInterface, /usr/lib/cmake/LibKLookAndFeel, /usr/lib/cmake/LibKWorkspace, /usr/lib/cmake/LibNotificationManager, /usr/lib/cmake/LibTaskManager, /usr/lib/qt6/plugins/plasma/containmentactions, /usr/lib/qt6/plugins/plasmacalendarplugins/holidays, /usr/lib/qt6/qml/org/kde/breeze/components, /usr/lib/qt6/qml/org/kde/notificationmanager, /usr/lib/qt6/qml/org/kde/plasma/clock, /usr/lib/qt6/qml/org/kde/plasma/lookandfeel, /usr/lib/qt6/qml/org/kde/plasma/private/accessibility, /usr/lib/qt6/qml/org/kde/plasma/private/battery, /usr/lib/qt6/qml/org/kde/plasma/private/clipboard, /usr/lib/qt6/qml/org/kde/plasma/private/containmentlayoutmanager, /usr/lib/qt6/qml/org/kde/plasma/private/digitalclock, /usr/lib/qt6/qml/org/kde/plasma/private/holidayevents, /usr/lib/qt6/qml/org/kde/plasma/private/keyboardindicator, /usr/lib/qt6/qml/org/kde/plasma/private/kicker, /usr/lib/qt6/qml/org/kde/plasma/private/mpris, /usr/lib/qt6/qml/org/kde/plasma/private/sessions, /usr/lib/qt6/qml/org/kde/plasma/private/shell, /usr/lib/qt6/qml/org/kde/plasma/private/systemtray, /usr/lib/qt6/qml/org/kde/plasma/shell, /usr/lib/qt6/qml/org/kde/plasma/wallpapers/image, /usr/lib/qt6/qml/org/kde/plasma/workspace, /usr/lib/qt6/qml/org/kde/taskmanager, /usr/lib/sddm, /usr/share/doc/HTML/en/PolicyKit-kde, /usr/share/doc/HTML/en/kcontrol/autostart, /usr/share/doc/HTML/en/kcontrol/colors, /usr/share/doc/HTML/en/kcontrol/componentchooser, /usr/share/doc/HTML/en/kcontrol/cursortheme, /usr/share/doc/HTML/en/kcontrol/desktopthemedetails, /usr/share/doc/HTML/en/kcontrol/fontinst, /usr/share/doc/HTML/en/kcontrol/fonts, /usr/share/doc/HTML/en/kcontrol/icons, /usr/share/doc/HTML/en/kcontrol/kcmstyle, /usr/share/doc/HTML/en/kcontrol/lookandfeel, /usr/share/doc/HTML/en/kcontrol/notifications, /usr/share/doc/HTML/en/kcontrol/region_language, /usr/share/doc/HTML/en/kcontrol/screenlocker, /usr/share/doc/HTML/en/klipper, /usr/share/kfontinst, /usr/share/kio_desktop, /usr/share/kxmlgui5/kfontview, /usr/share/kxmlgui5/kfontviewpart, /usr/share/licenses/plasma-workspace, /usr/share/plasma/avatars, /usr/share/plasma/look-and-feel/org.kde.breeze.desktop, /usr/share/plasma/look-and-feel/org.kde.breezedark.desktop, /usr/share/plasma/look-and-feel/org.kde.breezetwilight.desktop, /usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor, /usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor.cpu, /usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor.cpucore, /usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor.diskactivity, /usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor.diskusage, /usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor.memory, /usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor.net, /usr/share/plasma/wallpapers/org.kde.color, /usr/share/plasma/wallpapers/org.kde.image, /usr/share/plasma/wallpapers/org.kde.slideshow, /usr/share/timezonefiles, /usr/share/wayland-sessions.

Notes

build.sh builds the two generated headers shell/qwayland-plasma-shell.h and shell/wayland-plasma-shell-client-protocol.h before the rest of the tree. They are generated for the plasmashell_osd target and included by plasmashell’s own sources, and the build records no dependency between the two, so a parallel build can compile plasmashell first and stop on a missing header (plasma-workspace#132). Alpine builds the same two targets first.

The install puts the session’s systemd user units under /usr/lib/systemd, which the package lint refuses (see What the package lint refuses); build.sh removes the directory. Without the units the session takes upstream’s classic path: startplasma-wayland runs plasma_session, which starts ksmserver, kded6 and the XDG autostart entries, plasmashell’s among them. With startkderc’s [General] systemdBoot unset, startplasma-wayland first asks the session bus whether systemd’s plasma-workspace.target exists, and takes the classic path when the call fails; KDOS ships /usr/share/kdos/xdg/startkderc with systemdBoot=false, outside this package, so the question is never asked.

build.sh deletes the kded module oom_notifier and its oom_notifier.notifyrc. The module tells the user about an application the kernel killed for memory by watching systemd’s org.freedesktop.systemd1 scopes, which do not exist on KDOS, so it would load in every session and never fire; the build has no switch for it. kdos-oomd and kdos-notice do that job here.

Without a service manager nothing restarts plasmashell after it exits, and it exits on purpose when its compositor goes away: shell/main.cpp unsets QT_WAYLAND_RECONNECT for itself, and upstream’s user unit, which build.sh removes, carries the Restart=on-failure that would bring it back. The module of kded-kdos starts it again instead (see How plasmashell is kept running).

startplasma-wayland sets XDG_MENU_PREFIX=plasma-, so inside a session KService builds the application tree from /etc/xdg/menus/plasma-applications.menu. A program whose environment lacks the prefix, such as one run by sudo with a reset environment or from a timer, reads applications.menu, which no other package installs; KService then builds an empty tree and “Open With” lists nothing. build.sh links applications.menu to plasma-applications.menu, as Chimera does.

The Users module hashes a new password itself and hands the hash to accounts-daemon. With libxcrypt, which is not a port, it would ask crypt_gensalt() for the system’s preferred method; without it the module makes a $6$ (SHA-512) salt of 16 random characters, which musl’s crypt() implements. It enrols fingers through fprintd on the system bus, and shows its fingerprint controls only when fprintd reports a reader.

Three optional packages are looked for with pkg-config and no switch can refuse them: flatpak (notification grouping for Flatpak applications), systemd (the autostart module’s journal view of a unit, and the systemd start-up targets) and libxcrypt. None is a port, so none is found. The configure also reports two run-time packages: kio-fuse, which it looks for in the build root only, and appmenu-gtk-module, the GTK module through which gmenu-dbusmenu-proxy receives a GTK program’s menu bar. The second is not a port, so a GTK program keeps its menu bar in its own window.

kde-cli-tools and kactivitymanagerd are programs the session runs; milou and qt6-qt5compat provide QML modules that plasmashell and KRunner import; kio-extras draws the wallpaper chooser’s thumbnails and kio-fuse gives a program that is not a KDE one a local path for a remote file; plasma-integration and breeze are the Qt platform theme and the widget style and colours that the Breeze look-and-feel package names; tzdata and musl-locales are what the clock and Region & Language read. The configure checks none of them, so each is in depends for run time.