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

354.17. plasma-nm-6.8.2

Plasma network applet, connection editor and Wi-Fi, mobile broadband and VPN settings over NetworkManager

6.8.2-1 · (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GPL-2.0-or-later AND LGPL-2.0-or-later · 6.7 SBU · 7.0 MiB, 52 files · 50_desktop, 40 of 92 · ports/core/kde/plasma-nm

Homepage: https://invent.kde.org/plasma/plasma-nm

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

The network applet and connection editor, over NetworkManager.

plasma-nm is Plasma’s front end to NetworkManager: the network applet in the panel, the connection editor, the Wi-Fi, Ethernet, mobile broadband and VPN pages of System Settings, and the kded module that asks for secrets and reports connection changes. It talks to NetworkManager through networkmanager-qt and to ModemManager through modemmanager-qt, and keeps the passwords it is asked to remember in the Secret Service through qtkeychain.

Depends on: cmake, ninja, extra-cmake-modules, pkgconf, qt6-qtbase, qt6-qtdeclarative, qtkeychain, kcolorscheme, kcompletion, kconfig, kcoreaddons, kdbusaddons, kdeclarative, kio, ki18n, kjobwidgets, knotifications, kservice, solid, kwidgetsaddons, kwindowsystem, kcmutils, networkmanager-qt, modemmanager-qt, libplasma, kirigami, kirigami-addons, prison, kquickcharts, qcoro, openssl, networkmanager, mobile-broadband-provider-info.

Required by (3): kde-plasma, plasma-setup, plasma-welcome.

Sources: plasma-nm-6.8.2.tar.xz (1.6 MiB). Every step kpkg takes applies to this port.

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

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_OPENCONNECT=OFF \
	-Wno-dev
grep -qx 'MOBILEBROADBANDPROVIDERINFO_FOUND:INTERNAL=1' build/CMakeCache.txt
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libplasmanm_cellular.so, libplasmanm_editor.so, libplasmanm_internal.so.

Directories: /usr/lib/qt6/plugins/plasma/network, /usr/lib/qt6/qml/org/kde/plasma/networkmanagement, /usr/share/kcm_networkmanagement, /usr/share/licenses/plasma-nm.

The mobile broadband wizard reads the provider database of mobile-broadband-provider-info, whose path the configure takes from that package’s pkg-config file. The lookup is optional upstream and has no switch: when the file is missing the path is compiled in empty and the wizard lists no providers. The grep after the configure stops the build unless the cache records the module as found.

The other VPN editors (OpenVPN, L2TP, PPTP, SSTP, strongSwan, Libreswan, vpnc, Fortinet SSL, iodine, SSH) are always built. Each only writes a connection for its NetworkManager plugin, and of those plugins only networkmanager-openvpn is a port. WireGuard is part of NetworkManager itself, and its editor is part of the connection editor rather than a plugin.

kirigami, kirigami-addons, kquickcharts, kdeclarative and prison are QML modules the applet and the settings pages load at run time; the configure checks only for org.kde.prison and org.kde.kirigamiaddons.formcard. Changing a system-wide connection is authorised by polkit (see Why settings.modify.system is granted).