Skip to the text
KDOS
Menu

KDOS settings pages

System Settings is where a KDOS machine is configured, and almost every page in it is KDE’s own. KDOS adds five pages for the things only KDOS has: boxes, the firewall, the health check, the accent and the two system slots. It also gives one KDE page, Backups, a backend of its own. Behind KDE’s own pages for the machine’s name, clock, time zone, language and keyboard runs kdos-settingsd, a root daemon that answers the three system interfaces those pages save through.

This chapter is for the person using one of these pages who wants to know exactly what a switch does, and for anyone changing one. For each page it says where the page is in System Settings, what it shows, what it changes and through which program or bus name, and what it refuses. Everyday administration (users, networks, printers, updates) is in Administration. Each page’s Help button opens its section of this chapter (see Help).

Page Where in System Settings Port Changes things through
Boxes Security & Privacy → Application Permissions kcm-kdos-boxes kdos-box and kdos-appbox, as the user
Firewall Networking kcm-kdos-firewall io.kdos.Power1 on the system bus, served by kdos-powerd
Health System, and Info Center kcm-kdos-health nothing; it runs kdos doctor --json
KDOS Look Appearance & Style → Colors & Themes kcm-kdos-look kdos theme and kdos phosphor, as the user
System Versions System kcm-kdos-system io.kdos.Slots1 on the system bus, served by kdos-sysupdated
Backups System kup, with a KDOS backend Kup’s daemon, as the user

The first five are KDOS’s own code: Qt Quick pages over a small C++ controller, built with CMake against KDE Frameworks’ KCMUtils. Three rules hold for all of them:

Boxes

A box is a container an application or a person works in, kept apart from the rest of the system. The Boxes page shows every box you have and lets you decide what each one may reach.

The list on the left is what kdos-box list --json reports:

Until a box is chosen, the column beside the list is titled Box Settings, says “Choose a box to see what it may reach”, and Defaults is disabled. Once a box is open, the column takes the box’s name and Defaults acts on that box’s profile. Running systemsettings kcm_kdos_boxes --args <box> opens the page on that box; Discover’s “Runs in a box” badge links to it this way.

For the open box the page shows these groups:

Group What it holds
Lifecycle The state and how much the box has written to disk, and Start, Stop, Restart, Open Terminal, Recreate, Remove and Export as Archive (a .ktar set); Create and Delete Settings for a box with no container
Colour The title-bar colour KWin gives the box’s windows: one swatch per installed KDOS colour scheme, and Neutral, the default. Each swatch is a small title bar in its scheme’s own colours: the background, a sample of the title text and a stripe of the scheme’s accent. A profile naming an accent no swatch shows has Neutral selected, which is the colour KWin then paints
Network Shared with this computer, its own network with internet access, or no network
Files The home folder, and what the box writes
Devices and Graphics Whether the box gets this computer’s devices, the graphics card and sound, and how it draws (on the graphics card or the processor)
Resources Memory, processor and process limits, and how long the box may sit idle before it stops
Display and Desktop Whether its windows show, when it may use the X11 display, and which desktop-wide Wayland and bus grants it holds
Isolation Whether it has its own shared memory and message queues, its own process list and an init process

While the box runs, a banner at the top of the page says how its windows are confined, and why (see Confinement).

Typing a limit. A limit is typed with its unit (512m, 1.5g, 2 cores, 90m). It is taken on Return or when the field is left, and then shown in its own spelling. Reset and Defaults put a typed limit back as they do any other setting. A memory limit under 6 MiB, podman’s floor, is raised to 6 MiB. The mouse wheel scrolls the page over a list or a limit and never changes it; the arrow keys step a limit.

What kdos-box says about each setting. The page reads the box’s profile, ~/.config/kdos/boxes/<box>.conf, and shows beside each control what kdos-box profile <box> reports enforces that key. Every ! line (a warning about a value the box cannot be given) is shown beside its key, all of one key’s lines in one warning. A ! line that names the profile file, an unknown key or a value its key does not take sits at the top of the page, under no control. The note on what holds the limits sits under the first limit it names: memory, then processor, then process. The words are kdos-box’s own; the page only sets them as sentences, with a capital first word and each quoted word or key=value in code.

How a change is made. A change runs kdos-box profile <box> key=value for each key that changed. The lifecycle buttons run kdos-box and kdos-appbox the same way, as you and without root. The page never calls podman itself. A command that fails says so, with the last line it printed as the reason, or with no reason when it printed nothing. While a command runs, the busy line shows only that command’s output.

Lifecycle and the states of a box with no container

A box whose container does not exist reads one of two states:

Neither offers Start, because kdos-box start refuses a box with no container. Both offer Create, which runs kdos-box create <box> over the profile, and Delete Settings, which runs kdos-box remove <box> --purge.

The one exception is a box on a store image whose application is uninstalled: the application’s own box, or one made with base=image:kdos/<id>. kdos-box list --json reports its image as absent. Its image is built only by installing the application, and kdos-box create cannot stand in for that, so the page offers neither Create nor Export as Archive (which flattens that image). It says instead: “Its application is not installed. Installing it again from Discover makes this box with these settings; Delete Settings removes them.”

A box with a container offers Open Terminal, which runs kdos-box enter <box> --window: a Konsole window in the box’s colours with a shell inside it, the same window KRunner’s box enter opens.

The confirmations name the box itself, never a program exported from it: “Remove the box ubu?” and “Create ubu again?”. Each says what goes and what stays:

After a remove, an application’s box is said to be created again the next time its application starts; any other box is said to keep its settings for Create to make it again. Every profile key is in kdos-appbox, and the desktop-wide grants, which KWin reads from the same file, are in KWin.

What takes effect when

The colour and the grants apply to the next window the box opens. Most other settings cannot change on a running container: a namespace, a volume or a podman limit is fixed when the container is made. So a change to the network, the home folder, what the box writes, devices, the graphics card, the init process or a limit, on a box that has a container, is written at once but takes effect only when the box is created again.

Until then a Recreate banner lists the settings that differ, after “Changed since the box was created” (for example “network and shared memory”). Recreate stops, removes and creates the box. The page learns which settings differ from two places:

A setting put back to what the container was made with leaves the list, since kdos-box profile then says it “is what the box was created with”. How far the report can be trusted depends on the container:

While the banner shows, the matching ! line is not shown beside it, since the two say the same thing. After a recreate, create or remove, the page reads the report again.

Only a pack box keeps its writes outside its container. Any other box keeps them inside it, so recreating or removing one deletes them, and the confirmation says so.

Confinement

At every launch, kdos-appbox records which boundary held for the box in $XDG_RUNTIME_DIR/kdos/boxes/<box>.state. The banner at the top of the page shows it as one of these:

State Means
Confined The box’s Wayland socket is tagged, its private runtime folder has no session Wayland socket and no bus, its bus goes through xdg-dbus-proxy, and no X11 display is within its reach
Tagged KWin’s restrictions apply to the tagged socket, but the box can reach past it: through a runtime folder shared with the session, an unfiltered bus or an X11 display. The reason is shown
Not confined Its last launch had no tagged socket, so nothing marks its windows as a box’s
Not confined, a distrobox A running container whose manager label is distrobox, with no profile under ~/.config/kdos/boxes, such as the one kdos-fetch-app makes and distrobox enter starts. The reason reads “It is a distrobox, which shares your home and the session’s runtime directory, display and bus.” A record, when a launch wrote one, takes its place

The banner gives the verdict and its reason as two sentences. The reason kdos-appbox records gets a capital first word, unless it opens with a program name, a path or a profile key, and a full stop. The label comes from kdos-box list --json’s manager field. kdos-box makes its own boxes with distrobox create too, so they carry the same label, but each has a profile, which may unshare what a distrobox shares; such a box with no record reads as unknown.

A box that is not running shows no confinement banner, since nothing is held for it. Any box with no record reads as unknown, never as confined. A running box with no record shows an information banner, with no security level: “Nothing has been launched in this box through KDOS yet (an exported launcher or kdos-box run), so how its windows are confined is not recorded.” Only those launches write the record; a box started by kdos-box start or entered with kdos-box enter has none. The same state draws the sandbox badge in the box’s title bars.

Firewall

The Firewall page decides which of this computer’s services may be reached from the network. It lists the named services KDOS’s firewall knows (ssh, http, smb, kiwix and the rest), each with a switch, and how many connection attempts each closed service has turned away.

It never shows a port number. The firewall is a table of named services, and opening a port by number and protocol is refused by design. Applying a change makes kdos-powerd rewrite /etc/nftables.d/50-kdos-services.nft whole (the page’s note says so); rules written by hand belong in another file in that folder, which is never read or changed.

Above the list the page states the policy:

Nothing arriving from the network gets in unless its service is open below. Always let in: replies to connections this computer made, ping and the error messages networking depends on, discovery on the local network (mDNS, and NetBIOS and WS-Discovery replies), DHCPv6 replies, addresses and name lookups for devices joined to this computer’s Wi-Fi hotspot, and name lookups from containers run as root.

Each item is a rule of the input chain in /etc/nftables.conf:

The firewall itself is described in The daemons and The security model.

How the page talks to the firewall. Both the list and every change go to kdos-powerd over its system-bus interface, io.kdos.Power1. The page reads ListFirewallServices and ListFirewallKnocks, holds the switches until Apply, and then sends one SetFirewallService(name, open) per changed row, in order, stopping at the first refusal. While an apply runs, Reset does nothing, so a reply from the daemon is never matched to the wrong request. The page follows the daemon’s FirewallServicesChanged signal, from the owner of io.kdos.Power1 only, and reloads when it holds no unsaved change of its own.

When the switches are locked. The page asks polkit, without interaction, whether its own connection may use io.kdos.firewall.set, the same question the daemon asks. If the answer is no, the page is read-only. If the answer is “yes after a password”, the switches stay live and the daemon raises the password prompt when the change is applied.

Allow on this network?

When a program you run, such as KDE Connect, needs to be reached from the network and the firewall is turning it away, a notification offers to let it in. It comes from /usr/libexec/kdos/kdos-fwask, started at login by an autostart entry in /usr/share/kdos/xdg/autostart.

Every ten seconds it asks kdos-powerd for the knock counts, which count only packets from another machine. It posts one notification, with Allow and Not on This Network, when all of these hold:

It asks only about services a session program serves. A rising count on http with no web server running is a scan, and asking about it would teach people to click Allow.

Allow opens the service on every network, because the firewall is one table for the whole machine. What is remembered per network is the question, in $XDG_STATE_HOME/kdos/fwask, one line per network and service, so a person who declined at a café is asked again at home. A notification whose service was opened some other way while it was up is withdrawn, and that counts as the answer.

An administrator turns the notification off for everyone with a kdos-fwask.desktop carrying Hidden=true in /etc/xdg/autostart.

Health

The Health page tells you whether anything on this machine needs attention. It runs kdos doctor --json and shows one row per check, under doctor’s own section headings. Each row is one of:

Check Again (F5) runs doctor again, Copy to Clipboard copies the report as kdos doctor prints it in a terminal, and a filter narrows the rows. The page changes nothing, so it has no Apply.

Doctor exits 1 when a check warned, and the page shows that as a report like any other. It shows an error only for another exit status, output that is not a report, or a kdos command that cannot be started. What doctor checks is in The kdos command.

About this System

The same port adds six KDOS rows to System Settings’ About this System page, named in /usr/share/kdos/xdg/kcm-about-distrorc. Each is a shell script in /usr/libexec/kdos:

Script Row Shows From
about-slot System slot The A/B slot, its version and state, with the previous slot; One root on a single-slot install; Live medium on the live system /run/kdos/slot.json, or the boot entry’s kdos_slot=, /etc/os-release for the version, and an overlay root in /proc/mounts
about-update Update key The key that verified the last update offered, and when /var/lib/kdos/update.json
about-tree Ports tree The commit and date of the recipe tree /ports/TREE
about-accent Accent Your KDOS accent, and the login screen’s when it differs ~/.config/kdos/accent or Plasma’s colour scheme, and /etc/kdos/accent
about-libc C library musl’s version kpkg’s record, /var/lib/kpkg/db/musl
about-boxes Boxes How many box profiles you have ~/.config/kdos/boxes

Info Center runs each script twice on its interface thread, and it ends System Settings when one prints fewer than two lines. So every script prints a label (ending in a colon, like Info Center’s own) and a value on every machine and on every error, Unknown when it knows nothing. Each reads only small state files, never asks podman, the ESP or the network, and sets its own PATH. testing/aboutcheck.sh runs each on a booted image and asserts the two lines and a run under 100 ms.

KDOS Look

The KDOS Look page does the two things the stock appearance pages cannot: carry an accent past Plasma to the rest of the machine, and switch Phosphor mode. The eight accents themselves are also colour schemes and global themes on the Colors and Global Theme pages; this page reaches everything else.

The accent. Clicking a swatch runs kdos theme <accent>, which sets the global theme and also repaints open Konsole windows, the Qt 5 palette, the lock and login screens, the splash, the boot menu and the text consoles. They change at different times:

What Changes
Plasma, open terminals, the lock screen At once
The login screen The next time it is shown
The text console At a virtual terminal’s next login prompt, when kdos-getty loads the /etc/vtrgb that kdos-bootctl theme rewrote
The splash, and the boot menu where /boot/efi exists At the next boot

The hint under the swatches says the same. The list of swatches is the one kdos theme list prints, so the page offers no accent the command would refuse. Each swatch is painted from its own KDOS<Title>.colors; an accent whose scheme is not installed is listed but cannot be picked. A frame marks the current accent, and a ring in the focus colour outside it marks the swatch the keyboard is on.

There is no Apply: setting an accent is a command that repaints the machine, and one runs at a time. A second click while one is running is refused rather than queued, and so is any click while kded-kdos is running kdos theme, because two runs at once would write the same files in an order nobody chose. A refused press is announced to a screen reader as “Not applied:” followed by what is running. What setting an accent changes is in The kdos command.

Using the swatches from the keyboard. The swatches are one radio group:

The swatches stay enabled while a run goes, with the busy line under them saying so. The focus stays on the swatch a key applied, and a screen reader hears no state change on the other seven. When the run ends and kdos theme list reports the new current accent, the swatches update in place, so the focus stays where it was. A refresh that finds the list unchanged leaves the swatches as they are. A list that adds, drops or reorders an accent rebuilds them, and the focus goes to the swatch in the same place, so it stays in the group.

Where the accent is held. Below the swatches the page compares the three places an accent lives:

The line under the swatches names what each surface wears. The login screen wears the greeter set under /usr/share/kdos/greeter/<accent>/, which for the light paper accent is its dark partner bone, so the line names the partner. The boot menu is named only where /boot/efi exists, so a live medium, whose menu cannot be recoloured, is not told its menu changes.

When Plasma’s accent is ahead of the rest of the machine, Repaint Everything runs kdos theme --from-plasma <Plasma's accent>, the same command kded-kdos runs, so Plasma’s choice is kept and not applied twice. The page follows kded-kdos over io.kdos.Kded1: while the module is carrying an accent down, the page is busy and starts nothing, and when its last run failed while the accents still disagree, the reason is shown above Repaint Everything. The page asks the module with D-Bus activation off, so a page opened outside a session never starts a second kded.

Phosphor mode. This section reads kdos phosphor status --json and holds:

Control Runs
Phosphor mode on or off kdos phosphor on or kdos phosphor off
Preset: Subtle (a soft glow and vignette) or Retro (scanlines and a curved screen, which lowers contrast) kdos phosphor preset subtle or preset retro
Draw over fullscreen windows kdos phosphor fullscreen on or off
Terminus in Konsole and for fixed-width text kdos phosphor terminus on or off

Fine-tune… opens the CRT effect’s own settings, where strength, scanlines and curvature are set by hand. The page then shows the preset as Custom, and picking a preset replaces the tuning. The page also notes that turning the mode on with the Bone or Paper accent switches to Phosphor and turning it off puts the accent back, and, when animations are off, that the power-on, degauss and power-off motions stay still.

Under software rendering the switch and every option are disabled together, because the mode can never come on and an option recorded for it would wait for an on that is refused. A mode already on keeps them, so it can still be changed and turned off. A sentence says why, from the status record’s refusal: the mode needs GPU rendering, or a running Plasma session. A kdos command without the phosphor verb leaves the section saying the mode is not available. What the mode does is in KWin.

The page never writes kwinrc, kdeglobals or a Konsole profile itself.

System Versions

System Versions shows the versions of KDOS kept on this computer and which one is running. A computer installed with two slots, A and B, keeps two whole systems: an update goes into the one not in use, and the computer can go back to the other. Each slot has a form with its version, the date it was built, its kernel and its state, in these words:

The page says What it means
Running now · Confirmed: the version this computer starts This is the version in use, and the one every restart starts.
On trial: kept once this session is confirmed A new version is running for the first time; it is kept once a session has run for a minute, or, on a computer that logs nobody in automatically, once the login screen has.
Starts once at the next restart The next restart tries this version once.
Running for this boot only: the computer starts slot A next time This version was picked at the boot menu; the next restart goes back to the version named.
Set aside: you started the other version from the boot menu A version waiting to be tried was skipped by picking the other at the boot menu. Nothing went wrong with it.
Did not start: the computer went back to the other version A version on trial did not start properly, and the computer went back by itself. A banner above the forms says so.
Incomplete An update stopped while writing this slot; the line below the state says how to write it again.
Installed, not in use / Empty The slot holds a version nobody is running, or nothing.

Going back to the other version. Where there are two versions, the one that is not running carries the page’s one button, Start This Version Next Time, unless it is already set to start next or an update left it incomplete. It starts that version once at the next restart: the previous version after an update, or the new one again after going back.

The page asks first. It says that the version is kept when a session runs for a minute (or, without automatic login, when the login screen does), and that a version that does not get that far is undone by itself. Programs installed and settings changed in one version are not in the other, but everything under /home is the same in both. Once you agree, a banner offers Restart Now, or Keep followed by the current version’s name to call the restart off.

Updates. Under Updates the page says where updates come from (the KDOS releases, a folder or removable medium, or another address), whether one is available or ready to install, and why the last one stopped. Updates are installed from Discover, and the page’s Discover button opens it. On a computer installed with one version the page has no Discover button, and the Updates section names the terminal commands that install an update instead. Installing software chooses whether programs are downloaded prebuilt or built on this computer (see below).

How the page works

Slot states. The page shows KDOS’s root slots: the version, build date, tree commit and kernel each holds, and the state each is in. The states are confirmed, on trial, visiting, failed, set aside (abandoned), installed, incomplete and empty.

A machine installed with two slots shows both, A and B. One installed with a single slot shows that one, under “This computer has one version of KDOS” (below). Only where there are two does the page carry Start This Version Next Time, which arms a one-boot trial of the other slot through Try.

Starting other programs. The update source shown is the tree = line kdos update reads. The Discover buttons and Install KDOS start their program through KIO under its desktop name (org.kde.discover, kdos-installer), so its window comes to the front, including a Discover window that is already open.

The Start Next Time prompt. Start This Version Next Time asks first, in a prompt titled “Start Next Time?”, at most 24 grid units wide. It names the version the next restart starts once, and says:

The prompt is a dialog window of System Settings: modal to the whole program, kept above its window by KWin, with no taskbar entry of its own and no maximise button, since it is held at its own size. Minimising it minimises System Settings with it, and restoring System Settings brings the prompt back. Until it is answered, the whole window takes no input: a click on the sidebar or the footer neither changes the page nor dismisses the prompt.

Where KWin runs its compositing effects, its Dialog Parent effect dims the whole System Settings window while the prompt is open. Under software rendering (a virtual machine’s llvmpipe) that effect does not load and nothing is dimmed; the prompt draws no dim of its own, which would darken the page alone and leave the sidebar looking live. The prompt has the view’s background, square corners and an edge drawn halfway between that background and the view’s text, so it stands apart from the page on a dark colour scheme as well as a light one. On a platform with no second window it falls back to a sheet with rounded corners inside the page, which fades the page toward the window’s background and blocks only the page.

Refusals. When the system versions service refuses Start Next Time or Keep (no administrator’s password was given, or kdos-bootctl refused), the refusal is shown above the page until the trial it was about changes. Once a trial is armed or called off by any route, the refusal is cleared and the banner says what the next restart does.

One slot, or none. A machine with no boot state shows no slot forms. One installed with a single system slot shows “This computer has one version of KDOS” and says there is no previous version to go back to; the running slot’s form stays below it, and the absent slot has none. Its Updates help says that an update is installed from a terminal: sudo kdos update fetch downloads it and sudo kdos update apply installs it, written over the running system and taking effect after a restart, with no previous version to go back to. On such a machine kdos-sysupdated fetches only the binary-host index of the tree in place and prepares no update, so Discover installs none and the page shows no Discover button. apply on its own installs nothing newer than the tree already in /ports, so the fetch comes first.

A machine with two slots is told instead: “It goes into the slot not in use and starts after a restart. It is kept when a session runs for a minute, or, on a computer that logs nobody in automatically, when the login screen does; a version that does not get that far is undone by itself.”

An incomplete slot. A slot an update began writing and did not finish is incomplete. kdos-sysupdated passes kdos-bootctl’s incomplete state on in ListSlots (incomplete true, state “incomplete”, bootable false). Its form:

The page shows that sentence whatever reason the server sends, since it names the command that refills the slot when no newer release is coming. It is plain text, without code quoting, and names no sudo, because an account the installer made outside wheel runs it with su -c.

The live medium. On the live medium (Live on io.kdos.Slots1) the page names the live session: it runs from the installation medium, keeps no versions and is not updated. The page shows neither the update source, the Installing software section nor the Discover button, and its one button, Install KDOS, starts kdos-installer-gui.

Installing software. The section’s two choices are the install = and build-deps = lines of /etc/kdos/update.conf, read from io.kdos.Slots1’s InstallRoute and BuildDeps:

Choice Options Line
Install programs: Download them prebuilt; Build them on this computer install = prebuilt\|source
When building, what a program needs: Download it prebuilt; Build it too build-deps = prebuilt\|source

They are what kdos update install does from a terminal when no flag names a route, and what a build gets for each dependency the machine lacks. Discover offers both routes for every program the binary host holds, through its two origins, “KDOS system” and “KDOS, built on this computer”, and opens the one the first choice names (Discover). A program keeps the route it came by at every update. Apply sends both with SetInstallRoute, and Defaults sets both to prebuilt.

Privilege. The page holds no privilege and touches no file of the boot state. Every change is a call to io.kdos.Slots1 on the system bus, served by kdos-sysupdated, which asks polkit before it acts:

Call Polkit action Default for the active session
Try, CancelTry io.kdos.slots.try an administrator’s password, kept for a while
SetChannel io.kdos.slots.channel an administrator’s password, kept for a while
SetInstallRoute io.kdos.slots.install-route an administrator’s password, kept for a while

Try runs kdos-bootctl try <slot> 1, and a refusal from kdos-bootctl is shown in its own words.

The update source. A location is written whole into the tree = line of /etc/kdos/update.conf, so a path or address holding a space or a control character is refused before it is sent. Another address must be an https:// or file:// one, because kdos update fetches only with curl’s --proto =https,file. An http:// address is shown under the field as “Updates are read from an https or file address.”, and Apply refuses it with the same sentence without calling the service. The edit stays unsaved, so Reset brings back the saved source and the window title keeps its *; System Settings enables Apply and Reset from one unsaved-changes flag, so Apply stays enabled beside the error. SetChannel itself also refuses such an address with InvalidArgs (“not an update channel: ”). The channel names where the recipe tree comes from; the binary host and the slot image keep their own binhost = and image = lines.

The interface is io.kdos.Slots1.xml beside the page’s sources, and both sides are held to it: the page’s tests generate their fake server from it, and kdos-sysupdated serves the same members. How slots are chosen at boot is in Boot and init, and how an update fills one in Discover.

Backups

The Backups page is Kup’s, from Plasma. KDOS builds Kup with a restic backend, carried as a patch written for upstream, so a plan can be an Encrypted Versioned Backup beside Kup’s own rsync and bup types. A restic plan:

Dolphin browses a restic repository through the restic: KIO worker, one folder per snapshot. It reads with restic --no-lock, so it works on read-only media and while a backup runs. kdos backup is the same engine from the command line (Administration).

kdos-settingsd

KDE saves a machine’s name, clock, time zone, language and keyboard through three D-Bus interfaces that systemd defined, never by writing files. KDOS has no systemd, so the root daemon kdos-settingsd serves org.freedesktop.hostname1, org.freedesktop.timedate1 and org.freedesktop.locale1 on the system bus, and these KDE pages and programs work through it unchanged:

Page or program Uses
System Settings → Date & Time timedate1, and nothing else: the zone, the clock and network time
The login screen’s KWin, run with --locale1 locale1’s keyboard layout, followed when it changes
plasma-setup, on an OEM first boot all three
System Monitor’s system sensors hostname1

Where each setting is written. Each setting goes to the file the rest of the machine already reads, so a value set on a page, in the installer or with an editor is the same value everywhere:

Setting File
Hostname /etc/hostname and /etc/hosts
Time zone /etc/localtime and /etc/profile.d/20-timezone.sh, with the zone’s Wi-Fi country in /etc/modprobe.d/kdos-regdom.conf
Network time the /etc/service.disabled/chrony marker
Locale /etc/locale.conf
Console keymap /etc/keymap
Graphical keyboard layout /etc/kdos/xkb.conf and /etc/xdg/kxkbrc, never anything under /etc/X11

How the keyboard layout reaches a session. The layout flows from locale1 to each account:

Who may change what. polkit decides, under systemd’s own action ids. The active session may set the time zone and switch network time without a password; setting the clock, the hostname, the locale or the keyboard asks for an administrator’s password.

The Date & Time page is KDE’s, and it authorises setting the clock before it saves anything. So every Apply there asks for an administrator’s password, even a zone-only change, and that one prompt covers its three calls. kdos timezone changes the zone with no password.

A value is checked before polkit is asked (a zone against the zone tree, a keymap against kbd’s, a layout against xkeyboard-config’s), so a bad value is refused without a prompt.

Every file, every polkit action, the hardware-clock rule, how the daemon is started and how it is tested are in The daemons.

Help

Each KDOS page’s Help button opens that page’s section of this chapter: in the Help Center when it is installed, and otherwise in your web browser.

How it finds the section:

  1. Each page’s metadata names its section in X-DocPath, as kdos/04-programs/kdos-settings.html#<section>. The Help button opens help:/ followed by that text.
  2. With the Help Center installed, the desktop hands the address to it. KIO’s help: worker looks the path up among KDE’s handbooks under /usr/share/doc/HTML/en, where kdos-doc installs kdos as a link to the book in /usr/share/doc/kdos. The worker serves the chapter’s own page, and the Help Center scrolls to the section.
  3. Without it, which is the case on the installation medium and on a default install, the kguiaddons port’s help-local-page.patch finds the page as HTML under doc/HTML/<language>/ in the XDG data directories. It tries each interface language (de_DE), its bare language (de) and then en, and opens the page in the default browser as file:///usr/share/doc/HTML/en/kdos/04-programs/kdos-settings.html#<section>, scrolled to the section.

Qt hands that file: URL to xdg-open (kde-open in Plasma), never to the desktop portal’s OpenURI, which refuses file: URIs and would drop the section; the qt6-qtbase port’s openurl-local-file.patch makes it do so. A path holding .. is never opened that way, and KDE’s own handbooks, which have no HTML file, still go to docs.kde.org.

Every page of the book carries its stylesheet inside it, because the Help Center hands each part of a help: page over as HTML and would refuse a linked stylesheet.

The same address opens from a terminal as khelpcenter help:/kdos/04-programs/kdos-settings.html, and kdos-doc 04-programs/kdos-settings opens the page by its file. The Help Center is not on the installation medium, because it pulls in Qt WebEngine; sudo kdos update install khelpcenter adds it. testing/anchorcheck.py fails when an X-DocPath names a section this chapter does not have.

See also


Part IV — Programs, chapter 23. Previous: 22. The Plasma shell · Contents · Next: 24. Discover