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

251.10. kunifiedpush-26.08.2

UnifiedPush client library, push distributor daemon and its System Settings page

26.08.2-1 · LGPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 · 2.2 SBU · 884.2 KiB, 21 files · 43_toolkits, 344 of 344 · ports/core/xdg/kunifiedpush

Homepage: https://invent.kde.org/libraries/kunifiedpush

KUnifiedPush is KDE’s implementation of UnifiedPush, the open standard for push notifications without Google’s servers. It has three parts: the client library an application links to register for pushes (NeoChat, Tokodon and Itinerary do), kunifiedpush-distributor, the per-user D-Bus service that keeps one connection to a push server (ntfy, Gotify, NextPush or Mozilla’s Autopush) and hands each message to the application it is for, and the Push Notifications page in System Settings, which chooses the server and lists the registered applications.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtwebsockets, openssl, kcoreaddons, ki18n, solid, kservice, kcmutils, kcrash, kirigami.

Required by (2): neochat, tokodon.

Sources: kunifiedpush-26.08.2.tar.xz (88.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kunifiedpush'

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 KUNIFIEDPUSH_CLIENT_ONLY=OFF \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
rm -rf "$PKG/usr/lib/systemd"

Programs: kunifiedpush-distributor.

Libraries: libKUnifiedPush.so.

Directories: /etc/xdg/KDE, /usr/include/KUnifiedPush, /usr/lib/cmake/KUnifiedPush, /usr/share/licenses/kunifiedpush.

The install puts a systemd user unit, kunifiedpush-distributor.service, and its graphical-session.target.wants link under /usr/lib/systemd; build.sh removes the directory, since KDOS has no systemd (see No systemd) and the package lint refuses it. The distributor starts from the XDG autostart entry /etc/xdg/autostart/org.kde.kunifiedpush-distributor.desktop instead, which the Plasma session runs at login; the entry’s X-systemd-skip=true only matters where systemd starts the unit.

The distributor opens no connection while no application has registered with it: it stays idle on the session bus, and only a registration makes it connect to the push server. The server is https://unifiedpush.kde.org/, an ntfy instance, from the shipped default /etc/xdg/KDE/kunifiedpush-distributor.conf; System Settings changes it per user.

Messages are encrypted end to end with Web Push message encryption (RFC 8291), which is what openssl is for. The System Settings page is a QML page that imports Kirigami, so kirigami is in depends for run time.

The System Settings page also installs kcm_push_notifications.desktop, which KCMUtils generates with NoDisplay=true: it lets kcmshell6 and a search open the page and adds no row to the application menu.