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

345.3. kinfocenter-6.8.2

Info Center — the hardware, graphics, firmware security, network, energy and distribution pages of System Settings

6.8.2-1 · (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GPL-2.0-or-later AND LGPL-2.1-or-later · 1.3 SBU · 1.9 MiB, 58 files · 50_desktop, 12 of 92 · ports/core/sysmon/kinfocenter

Homepage: https://invent.kde.org/plasma/kinfocenter

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

Info Center: the hardware, graphics, firmware and energy pages of System Settings.

Info Center is the read-only half of System Settings: About this System, and pages for the CPU, memory, block devices, PCI and USB devices, graphics (OpenGL ES through EGL, Vulkan, VA-API, OpenCL, Wayland, EDID), audio, network interfaces, firmware security, energy, sensors, interrupts and Samba shares. kinfocenter is a link to systemsettings, which opens with only these pages; the pages themselves are QML KCMs in /usr/lib/qt6/plugins/plasma/kcms/kinfocenter.

Depends on: cmake, ninja, extra-cmake-modules, pkgconf, qt6-qtbase, qt6-qtdeclarative, qt6-qtgraphs, qt6-qttools, kconfig, kcoreaddons, ki18n, kcmutils, kio, kservice, solid, kauth, kdoctools, kirigami, kdeclarative, libdrm, libglvnd, eudev, libusb, systemsettings, aha, clinfo, dmidecode, polkit, pciutils, lm-sensors, util-linux, iproute2, vulkan-tools, wayland-utils, mesa-demos, libva-utils, libdisplay-info, fwupd, libpulse.

Required by (1): kde-plasma.

Sources: kinfocenter-6.8.2.tar.xz (763.8 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/50_desktop/phase.env && kpkg install kinfocenter'

build.sh:

cmake -S . -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 \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D BUILD_DOC=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_USB1=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
rm "$PKG"/usr/lib/qt6/plugins/plasma/kcms/kinfocenter/kcm_glx.so \
	"$PKG"/usr/lib/qt6/plugins/plasma/kcms/kinfocenter/kcm_xserver.so

Programs: kinfocenter.

Libraries: libKInfoCenterInternal.so.

Directories: /usr/lib/qt6/qml/org/kde/kinfocenter, /usr/share/doc/HTML/en/kinfocenter, /usr/share/kinfocenter, /usr/share/licenses/kinfocenter.

Most pages show the output of a command-line tool. Each page’s metadata names its tool in TryExec, but System Settings does not read that key in a KCM’s metadata, so a page whose tool is missing is still listed and opens on an error; every tool a shipped page runs is therefore a run-time dependency in depends: aha from aha, which turns fwupdmgr and ip output into HTML; clinfo from clinfo; dmidecode from dmidecode, which only the KAuth helper runs; lspci from pciutils; sensors from lm-sensors; lscpu and lsblk from util-linux; ip from iproute2; vulkaninfo from vulkan-tools; wayland-info from wayland-utils; eglinfo from mesa-demos; vainfo from libva-utils; di-edid-decode from libdisplay-info; fwupdmgr from fwupd; pactl from libpulse; and qdbus from qt6-qttools, which the KWin support information page runs from Qt’s own binary directory, /usr/lib/qt6/bin, to ask KWin for its report.

The X Server and GLX pages need xdpyinfo and glxinfo, neither of which the image ships: mesa-demos is built without X11, and there is no X server outside Xwayland. Upstream builds both pages with no option to leave them out, so build.sh deletes kcm_xserver.so and kcm_glx.so after the install; kept, they would be listed under Graphics and each would open on a message asking for the missing program.

The memory page and About this System read the firmware tables through a KAuth helper, kinfocenter-dmidecode-helper, which runs dmidecode as root, found in /usr/sbin on the path D-Bus activation gives it. Its two actions are granted by upstream’s own policy through polkit: org.kde.kinfocenter.dmidecode.memoryinformation to the active local session and org.kde.kinfocenter.dmidecode.systeminformation to active and inactive ones, so neither asks for a password in a session elogind tracks (see The security model).

Chimera’s fix-output.patch is not carried: it works around a wcout locale fault in libc++, and this tree builds C++ with GCC and libstdc++.