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

439. The panel and the launcher

The panel, the desktop and the widgets on them are plasmashell; the menu is Kickoff, the Application Launcher; and the search that runs commands, finds files and starts programs is KRunner. This page covers the three KDOS desks and how to switch between them, the pinned applications, the system tray’s KDOS entries, adding an application to the menus, and the KDOS runner’s commands. How the shell is set up on KDOS is in The Plasma shell.

Installation

Port Provides
plasma-workspace plasmashell, KRunner, the task manager, the system tray and the clock
plasma-desktop Kickoff, the pager, the panel and desktop containments, and the Menu Editor’s pages
kmenuedit The Menu Editor, for the application menu
kdeplasma-addons The extra widgets and KRunner plugins
kdos-plasma-look The three desks, org.kdos.desk.kdos, org.kdos.desk.dock and org.kdos.desk.tiling, and the kdos Plasma style the panel is drawn in
kdos-runner The KDOS command palette, ask for the local language model and the offline library in KRunner
plasmoid-kdos-checklist The Getting Started tray entry
plasmoid-kdos-privacy The privacy lamps in the tray, shown only while something captures the microphone, camera or screen
kdos-welcome The KDOS pages of the Welcome Center, among them the desk picker
kdos-tools kdos desk and kdos tiling

plasmashell is started by the session and is not a service. When it stops, as it does whenever KWin crashes or is replaced, the KDOS kded module starts it again a few seconds later, at most five times a minute (see How plasmashell is kept running).

Configuration

The desks

A desk is a Plasma layout template: every panel goes, and the template lays the new ones out on each screen.

Desk Panels Windows
kdos One opaque bottom panel: Start (the mark and its label), the virtual desktops, the pinned applications, the meters, the tray and the clock Floating, with snapping
dock A top bar with Start, the focused window’s application menu, the tray and the clock, and a floating dock of the pinned applications that moves out of a window’s way Floating, with snapping
tiling One thin top bar: Start, the desktops by name, the window list, the processor and memory as text, the tray and the clock Tiled by Krohnkite

A new account starts on the kdos desk, and the Welcome Center’s Desk page offers the others at the first login. What a person changes afterwards is saved in ~/.config/plasma-org.kde.plasma.desktop-appletsrc and ~/.config/plasmashellrc.

The pinned applications

The kdos and dock desks pin four applications when they are laid out: Konsole, Dolphin, Firefox ESR and Kate. The list is part of each desk’s layout script.

~/.config/kdos/favorites names the same four, for two other jobs: at every login the box behind each line is started early, so a boxed favourite opens without a cold start, and a code=XX word on a line is two letters that open the entry when typed alone in KRunner. From fs/etc/skel/.config/kdos/favorites:

#   boxes pre-started at login
# ---------------------------------
#
# One DESKTOP-ENTRY ID per line — the file name under
# ~/.local/share/applications or /usr/share/applications, without the
# `.desktop` — or a box's name. Anything after the first word is a note,
# except a `code=XX` word: those two letters, typed alone in KRunner, open
# the entry (the KDOS runner reads this file too).
#
# At every login, before Plasma starts, `kdos-appbox warmup` starts the box
# behind each line, with its bus proxy, so the first launch of the session
# finds it running instead of paying for a cold start. A boxed application's
# launcher id (`app.<id>`, or `app.<id>.<launcher>` for a pack with several)
# names its box; so does a box's name; a host application's id names no box
# and is skipped. At most eight boxes are started, in the order listed, and a
# box that stays idle past its profile's `autostop` is stopped again by
# `kdos-box gc`.
#
# The panel's pinned launchers are Plasma's own (right-click a task, Pin to
# Task Manager) and are not read from here. The shipped list names the apps
# the desks pin, so a fresh account whose pinned app is boxed starts that box
# warm; testing/lnfcheck.py keeps the two in step.
org.kde.konsole code=TE
org.kde.dolphin code=FM
firefox-esr code=FF
org.kde.kate

fs/etc/skel/.config/kdos/favorites, lines 8–33

Pinning or unpinning a launcher on the panel (right-click a task → Pin to Task Manager) changes the panel alone; editing this file does not change the panel.

The menus

Kickoff and KRunner read the menu plasma-applications.menu, named by XDG_MENU_PREFIX=plasma-, with every file in /etc/xdg/menus/applications-merged/ merged into it. KDOS ships kdos-boxes.menu there, which puts the launchers of boxed applications in their categories, and the offline library adds kdos-library.menu. Each launcher is a desktop entry under /usr/share/applications, ~/.local/share/applications or another applications directory of XDG_DATA_DIRS. The menu is cached by kbuildsycoca6, which Plasma reruns when a directory changes.

Usage

Switching desks

kdos desk                 # which desk this is: kdos, dock or tiling
kdos desk dock            # lay the panels out as the Dock desk
kdos desk undo            # put the last panels back

kdos desk <name> copies the panels file to an undo set and to a dated backup first, and prints the backup’s path. The tiling desk turns auto-tiling on and the other two turn it off. The Welcome Center’s Desk page (open it from Kickoff as Welcome Center) does the same with a preview.

Opening the launcher and searching

KRunner’s KDOS command palette understands the kdos verbs with their arguments filled in, for example accent amber, accent next, tiling off, desk dock, update check or why /etc/fstab; the two letters of a favourite’s code=; the routes of /etc/kdos/menu.conf (setup network); and keys <words>, which lists the chords that match. Its rows rank above Applications and System Settings. KDOS’s own System Settings pages are found by System Settings’ runner, by what they are for as well as their names. lib <words> opens KRunner again with only the offline library: the KDOS books, the manual pages, Zeal’s docsets and the Kiwix archives.

Adding an application to the menus

  1. Write a desktop entry in ~/.local/share/applications/, for example mytool.desktop:

    [Desktop Entry]
    Type=Application
    Name=My Tool
    Exec=mytool %F
    Icon=utilities-terminal
    Categories=Utility;

    Terminal=true runs it in Konsole.

  2. It appears in Kickoff and KRunner within a few seconds. kbuildsycoca6 rebuilds the cache by hand if it does not.

The Menu Editor (right-click Start → Edit Applications) does the same without a file, and hides or moves an entry.

A boxed application’s launcher is written by kdos-appbox when the application is installed; see Boxes.

Adding a widget or a panel

Right-click the panel or the desktop → Enter Edit Mode (or Add Widgets). Drag a widget onto the panel or the desktop; Add Panel adds another panel. Exit Edit Mode keeps the result.

Tips

Troubleshooting

The panel is gone or broken. A shell that stopped comes back by itself within a few seconds. One that is still running but frozen is restarted with kquitapp6 plasmashell; kstart plasmashell from Konsole or KRunner; kstart detaches it, so closing the Konsole leaves it running. If it comes back broken, lay a desk out again with kdos desk kdos.

A new application is not in the menu. Check the entry: desktop-file-validate ~/.local/share/applications/mytool.desktop, and that its Exec program is on PATH. Then run kbuildsycoca6.

A KDOS command does nothing in KRunner. The runner is started by the session bus on the first query: qdbus6 io.kdos.Runner lists its objects when it runs. Its output is in the session bus’s log, $XDG_RUNTIME_DIR/ksvc/kdos-svc.dbus.log.

Known gaps

See also