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

354.9. kde-cli-tools-6.8.2

KDE command-line tools — kde-open, kioclient, kstart, kdesu, keditfiletype, kinfo and plasma-open-settings

6.8.2-1 · (GPL-2.0-only OR GPL-3.0-only) AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GPL-2.0-or-later AND CC0-1.0 AND Artistic-2.0 AND LGPL-2.0-only AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND LGPL-2.0-or-later AND GPL-2.0-only AND MIT · 1.7 SBU · 1.4 MiB, 42 files · 50_desktop, 31 of 92 · ports/core/kde/kde-cli-tools

Homepage: https://invent.kde.org/plasma/kde-cli-tools

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

kde-open, kioclient, kstart and the other command-line tools the session runs.

KDE CLI Tools are the small programs the desktop and its scripts call by name: kde-open, kioclient, kdecp and kdemv (open, copy and move any KIO URL), kstart (start a program with a window rule), keditfiletype and the File Types settings module (the editor Dolphin’s “Edit File Type” opens), kmimetypefinder, kinfo, ksvgtopng, kde-inhibit, kbroadcastnotification, plasma-open-settings, which opens a System Settings page from a systemsettings:// link, and, in /usr/lib/libexec/kf6, kdesu (run a graphical program as another user) and kdeeject. Eight of the programs in /usr/bin also answer to a name with a 5 suffix (kioclient5, kde-open5, kstart5 and the rest), the names that scripts and desktop entries written for Plasma 5 call.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, kcmutils, kconfig, kcoreaddons, kdesu, kdoctools, ki18n, kiconthemes, kio, kparts, kservice, kwidgetsaddons, kwindowsystem, sudo.

Required by (2): kde-plasma, plasma-workspace.

Sources: kde-cli-tools-6.8.2.tar.xz (620.0 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 kde-cli-tools'

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 CMAKE_REQUIRE_FIND_PACKAGE_KF6Su=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6WidgetsAddons=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: kbroadcastnotification, kde-inhibit, kde-open, kde-open5, kdecp, kdecp5, kdemv, kdemv5, keditfiletype, keditfiletype5, kinfo, kioclient, kioclient5, kmimetypefinder, kmimetypefinder5, kstart, kstart5, ksvgtopng, ksvgtopng5, plasma-open-settings.

Directories: /usr/share/doc/HTML/en/kcontrol6/filetypes, /usr/share/doc/HTML/en/kdesu, /usr/share/licenses/kde-cli-tools.

kdesu hands the command to the KDESu framework, which the kdesu port builds to use sudo: the dialog asks for the caller’s own password, and /etc/sudoers decides whether the command may run.

WITH_X11 is left at its default, on. It compiles in the X11 paths of kdesu and kstart, which reach an Xwayland client’s window, and links nothing but Qt’s private GUI module.

The handbooks are built by default and make kdoctools a requirement of the configure.