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

358.3. plasmoid-kdos-checklist-1.0.0

First-run checklist that ticks itself: the org.kdos.checklist QML module and its tray entry

Version 1.0.0, release 1
Source tree src/desktop/plasmoid-kdos-checklist/
Phase 50_desktop (Desktop), 56 of 92 in build order
Licence MIT
Homepage https://github.com/kunaldawn/kdos
Build time 0.1 SBU
Installed size 463.8 KiB in 6 files
Recipe src/desktop/plasmoid-kdos-checklist/kpkgbuild

About

plasmoid-kdos-checklist is the first-run checklist that ticks itself off as you do things. It is a QML module, org.kdos.checklist, and the Getting Started entry in the system tray, also org.kdos.checklist, built on it. The module’s ChecklistView is also the list on the welcome tour’s Getting Started page, so both show the same items from the same probe.

The items are:

Which of them this machine has, and whether each is done or dismissed, comes from kdos checklist --json, which kdos-tools provides. It omits an item whose part of the system is not installed or that cannot be done here, such as disk encryption on the live medium.

The probe runs every five seconds while an item is still to do, so creating a box ticks its row within five seconds. Once every item is done or dismissed it stops running and the tray entry hides itself completely. Not Now runs kdos checklist dismiss <id>, and Show Dismissed Items runs kdos checklist restore.

Why it is in KDOS

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

The first-run checklist widget, ticking itself as each step is done.

Sources

None: the port builds from its own directory, /kdos/src/desktop/plasmoid-kdos-checklist.

Dependencies

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, kcoreaddons, ki18n, kirigami, libplasma, plasma-workspace, kdos-tools.

Required by (2): kde-plasma, kdos-welcome.

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 plasmoid-kdos-checklist'

What kpkg does

kpkg runs these steps, in this order, as root inside the chroot. The port directory is /kdos/src/desktop/plasmoid-kdos-checklist.

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.

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/plasmoid-kdos-checklist
SRC=$SRC_ROOT/plasmoid-kdos-checklist-1.0.0
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"

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 five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:

cmake -S "$PORT_SRC" -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 \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

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/plasmoid-kdos-checklist, 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 plasmoid-kdos-checklist-1.0.0-1.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/plasmoid-kdos-checklist, and runs the triggers its paths call for.

Other files in the port directory, read by build.sh: CMakeLists.txt, applet/, qml/, src/, tests/.

Contents

Installed directories: /usr/lib/qt6/qml/org/kdos.

Notes

The words of each item and what its button opens are in the module, keyed by the item’s id, and never in the probe’s output: they are translated with the rest of the desktop, and nothing the probe prints is run. An id the module does not know is left out, so a newer probe with a new item does not show a row with no words.

Each button runs a program and its arguments, found on PATH:

Item Button runs
backup systemsettings kcm_kup
phone kdeconnect-app (KDE Connect 26.08 has no settings module of its own)
language systemsettings kcm_regionandlang
box systemsettings kcm_kdos_boxes
firmware plasma-discover --mode update
encryption xdg-open on the KDOS book’s Security model chapter

A probe that fails leaves the list as it was, with the probe’s last line of error above it, since a failure says nothing about whether an item is done.