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

172.5. kdos-wallpapers-1.0.0

KDOS wallpapers — the mark in each accent, dark and light, as Plasma wallpaper packages

Version 1.0.0, release 1
Source tree src/art/kdos-wallpapers/
Phase 41_system (System), 959 of 1047 in build order
Licence MIT
Homepage https://github.com/kunaldawn/kdos
Build time 0.6 SBU
Installed size 12.1 MiB in 72 files
Recipe src/art/kdos-wallpapers/kpkgbuild

About

kdos-wallpapers is the KDOS wallpaper in each of the eight accents, as Plasma wallpaper packages under /usr/share/wallpapers/KDOS-<Title>/. Each package carries contents/images_dark/ (the mark on a dark ground: the accent’s own deep, or the default accent’s for paper) and contents/images/ (the same composition on the light scheme’s ground), at 1920x1080, 2560x1600, 3840x2160 and 1080x1920. A package with both directories follows Plasma’s light and dark switch by itself, and Plasma picks the size nearest the screen and scales it to fill.

Nothing here is drawn by hand. build.sh runs kdos-theme’s wallpaper generator over mark.png, a copy of the master artwork kdos.png at the top of the tree, and the generator recolours the penguin’s glow and wordmark into each accent; see How the theme is generated.

Why it is in KDOS

The comment above it in script/phases/41_system/packages.d/src-art.txt:

Plasma wallpaper packages: the KDOS mark in each accent, dark and light, drawn by kdos-theme at build time.

Sources

None: the port builds from its own directory, /kdos/src/art/kdos-wallpapers.

Dependencies

Depends on: kdos-theme.

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

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/41_system/phase.env && kpkg install kdos-wallpapers'

What kpkg does

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

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/kdos-wallpapers
SRC=$SRC_ROOT/kdos-wallpapers-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:

kdos-theme wallpaper "$PKG/usr/share/wallpapers" --src "$PORT_SRC/mark.png"

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

Other files in the port directory, read by build.sh: mark.png.

Contents

Installed directories: /usr/share/wallpapers/KDOS-Amber, /usr/share/wallpapers/KDOS-Bone, /usr/share/wallpapers/KDOS-Borland, /usr/share/wallpapers/KDOS-Ice, /usr/share/wallpapers/KDOS-Norton, /usr/share/wallpapers/KDOS-Paper, /usr/share/wallpapers/KDOS-Perfect, /usr/share/wallpapers/KDOS-Phosphor.

Notes

mark.png is a copy inside the port, not a path into the top of the tree: a port of KDOS’s own is rebuilt when a file under its own directory or under src/libs changes, and a source read from anywhere else would let the master change under a package that never rebuilds. A new master is copied here as well as to kdos.png.

The global themes name these packages as their default ([Wallpaper] Image=KDOS-<Title>), and that default reaches only a desktop with no wallpaper set: Plasma’s image wallpaper works its default out once per desktop and never re-reads the global theme. An accent switch therefore sets the wallpaper itself, and only on a desktop whose image is a KDOS-* package, so a picture the user chose is never replaced; see kdos theme.

The mark is centred and 62% of the picture’s height tall, so the top 19% of the screen is clear of it. The lock screen puts its clock in that band (plasma-desktop’s lockscreen-clock.patch), so a mark drawn taller or higher runs the clock into it unless the patch’s band changes with it.

The package names are theme_name from libkcolor, so a renamed accent renames its wallpaper package, and the global theme, the lock screen default and the accent switch all name it the same way.