KDOS

Features

KDOS is a desktop Linux system you can read from end to end and rebuild on the machine that runs it. This page takes it one feature at a time: what each means when you use it, how it works, and where the book says more. Every picture is KDOS 0.2. How KDOS differs sets each choice beside other distributions and says what it costs.

Accents

The whole machine wears one colour scheme, not only its windows. KDOS has eight of them, called accents: Phosphor, Amber, Ice, Bone, Norton, Borland, Perfect and Paper. Bone is the default.

To change it, click a swatch on the KDOS Look page in System Settings, or run kdos theme amber in a terminal. Plasma, the KDE applications, the open terminals, the wallpaper and the lock screen change at once, with no logout. The login screen, the text consoles, the boot splash and the boot menu take the new accent the next time each appears. The accents describes each one, and Theming says what changes when.

Pick one here and this page changes with it.

Phosphor mode

One switch makes your screen look like an old CRT monitor. It is off until you turn it on.

Turn it on from the KDOS Look page or with kdos phosphor on. Every frame then gets a soft glow in the accent's colour, and Retro, the stronger of its two preset tunings, adds scanlines and curved glass. Windows unfold from a line as they open, the desktop warms up like a picture tube after you log in, and the screen collapses to a dot as it locks. Bone and Paper, the two accents that do not read as a CRT, give way to Phosphor's green while the mode is on; the other accents keep their colours.

Screenshots and screen recordings still get the plain picture, reduced motion stops the movement, and kdos phosphor off puts back exactly what it changed.

It needs a graphics card that KWin can use for 3D. On software rendering it refuses to turn on, so a virtual machine needs 3D acceleration (virgl, in QEMU). Phosphor mode has the tunings and what they cost.

The desktop drawn as a green-tinted CRT with scanlines and curved edges, showing Dolphin and a Konsole window running fastfetch.
Phosphor mode draws the whole screen as a CRT, here in the Phosphor accent with scanlines and curved glass.

Built from source

Every program on a KDOS machine comes from a build recipe you can read, and you can compile it again yourself.

KDOS is not based on another distribution. Each of its 2,446 packages, from the kernel to Plasma, is built from a recipe in one repository, and every source file the recipes name is archived with the release. Every package also comes prebuilt, so you never have to compile anything unless you want to. The few things that are not compiled here, firmware among them, are listed, and KDOS can build KDOS tells how the system compiles its own compiler.

A Konsole window in the middle of the desktop showing fastfetch: the KDOS logo and a pixel-art penguin beside lines for the OS, kernel, desktop, shell, accent, packages, CPU, memory and disk.
Konsole running fastfetch. The packages it counts were all built by kpkg, KDOS's package manager, from the recipes in the KDOS repository.

No systemd init

Starting the machine is a list of shell scripts you can read from top to bottom, and the boot splash names each step as it runs, so you can see where a boot stopped.

Most distributions start with systemd. KDOS starts with sysvinit 3.18, the classic Unix init: the first program the kernel runs (PID 1), which here runs numbered scripts in order. A small supervisor, ksvc, restarts any background service that stops, and elogind gives Plasma the logins and sessions it needs. The price: there is no socket activation, systemd's way of starting a service when a program first connects to its socket, and a crashed program shows no crash dialog. Init and service supervision compares this with other distributions, and rcS and the service scripts describes the boot.

The boot splash: the penguin and a large pixel KDOS logo, the words Kool Desktop Operating System 0.2, a progress bar and lines naming services with OK beside them.
The boot splash names each service as it starts, under a progress bar.

musl with GNU tools

A small C library underneath, and the commands you already know on top.

The C library is the code every program on the system is built on. Most distributions use glibc; KDOS uses musl 1.2.6, one small enough to read. On top of it are the full GNU commands (coreutils, grep, sed, gawk, findutils, tar and the rest) and util-linux, so everyday commands take the same options as on any other Linux system. The price: a program shipped only as a ready-made glibc binary, such as most commercial software and AppImages, runs only in a box (a Debian container, below) or not at all. The C library and The core userland say why.

Konsole showing the output of kdos version, kdos theme list and kdos status.
kdos version names the release, the kernel, the C library and the userland: musl and GNU.

Plasma, the KDOS way

A complete KDE desktop, set up by KDOS, with keyboard routes to most of it.

KDOS ships KDE Plasma 6.8.2 and nearly all of the KDE Gear 26.08.2 applications, on Wayland only; older X11 programs run through Xwayland. KDOS adds its own settings pages, widgets and effects, and three desks, whole panel layouts you switch between: KDOS, one panel along the bottom; Dock, a top bar and a floating dock; and Tiling, which lays every window out edge to edge. KRunner, the search box on Meta+Space (Meta is the Windows key), also takes commands in plain words, such as desk dock or install gimp. The desks and KRunner and the KDOS runner have the details.

Three windows tiled to fill the screen under a thin bar along the top: Konsole running htop on the left, Dolphin and Kate on the right.
Tiling, another desk, lays windows out side by side by itself, under a bar along the top.

Updates you can undo

On a machine installed with two system slots, an update that does not start is undone by itself, and you can go back to the previous version whenever you like.

A system slot is a complete copy of the system. The installer makes two when it erases a whole disk of 25 GiB or more (21 GiB with no swap) with its Two system slots option ticked, which it is by default; that layout puts the system on LVM, Linux's volume manager. An update is written whole into the slot you are not running, while you keep working, and the next start tries it. It is kept once the desktop, or on a computer without automatic login the login screen, has stayed up for a minute; otherwise the next start goes back to the version that worked. Nothing updates until you choose to.

The limits:

  • Without automatic login, a desktop that breaks only after you log in is not undone on its own; System Settings' System Versions page takes you back by hand.
  • An install beside another system, on a smaller disk, or with that option off has one slot and no undo: an update is written over the running system.
  • Going back has been tested on virtual machines with UEFI firmware only, never on a real computer's firmware. On BIOS, a new kernel that fails before its initramfs (the small startup system it loads first) is not undone by itself: you pick the previous version from the boot menu.
  • Moving an installed machine from one published release to the next has not been tested yet.

A/B slot selection and Updating a machine describe how it works.

The installer's Disk page listing one disk, with the option to erase it and install KDOS and a Two system slots check box.
The Disk page erases a disk or reuses partitions, with two system slots so that an update can be undone.

Software three ways

Install what you need the way you prefer: prebuilt, compiled on your machine, or from Debian in a box.

  • Prebuilt. Any of the 2,446 packages, downloaded from the release's signed package server: one at a time in Discover or with sudo kdos update install <name>, or in 22 ready-made groups, such as office, from the installer or with sudo kdos update install office.
  • Built here. The same recipe, compiled on your machine.
  • In a box. A box is a container of its own that runs a Debian application, built from Debian's packages when you install it, over the network. KDOS's catalogue sets up 69, and Discover offers most other Debian desktop applications too.

There is no Flatpak or Snap. Adding software shows the commands, and Where applications come from compares the three.

Discover showing Scribus's page: an Install from Debian, built in a box button, its size and licence, a note that it is built on this computer from Debian packages in a box of its own, and its description.
Discover also offers applications KDOS does not build itself, such as Scribus, built from Debian's packages into a box of their own.

Signed end to end

A KDOS package or update you install is what the release built, and the machine checks that before it installs anything.

The recipe tree, the package index and every update image are signed, and every package is checked against the hash the signed index records, so a KDOS machine refuses anything that was changed on the way. It also refuses a recipe tree older than the one it has, so an old one cannot be replayed to hold back fixes. The ISO's checksum list is signed too, for you to check before you boot it.

The limits are as plain: no Secure Boot, no SELinux or AppArmor in use and no security-advisory service, and fixes arrive with a new release. Signing and trust and What is not protected cover both.

The Discover window with categories down the left and seven Editor's Choice applications on its home page, among them KStars, Xournal++ and Meld.
Discover installs KDOS packages and system updates, each checked against the release's signature first.

Two books

KDOS comes with its own manual, and it describes the system as it is, not as it was.

The KDOS book, six parts and 45 chapters, says what KDOS is and why, how to use it and how every part works, and is updated with the code it describes. Every KDOS machine carries it, readable offline. KDOS from Scratch builds the system phase by phase, with an entry for every package, as HTML and as a PDF.

Okular showing a PDF of the kdos-doc manual page, with page thumbnails in a side bar.
Okular, the document viewer, reading the manual of kdos-doc, which opens the KDOS book that every machine carries.