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

354.2. kglobalacceld-6.8.2

Global shortcut registry library that KWin loads to serve org.kde.kglobalaccel

6.8.2-1 · LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND CC0-1.0 · 1.4 SBU · 643.3 KiB, 15 files · 50_desktop, 2 of 92 · ports/core/kde/kglobalacceld

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

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

The global shortcut registry KWin loads to serve org.kde.kglobalaccel.

kglobalacceld is the registry of global shortcuts: which component owns which key combination, the shortcuts every application registers through kglobalaccel, and the actions desktop entries declare. It is a library, libKGlobalAccelD, not a program of its own: kwin links it, serves org.kde.kglobalaccel on the session bus with it, and matches every key press against it before a window sees the key. The shortcuts are kept in ~/.config/kglobalshortcutsrc.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qttools, kconfig, kcoreaddons, kglobalaccel, kservice, kio, kjobwidgets.

Required by (4): kde-plasma, kwin, kwin-effect-kdos-keys, kwin-script-kdos-runraise.

Sources: kglobalacceld-6.8.2.tar.xz (50.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 kglobalacceld'

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 qdbus_EXECUTABLE=/usr/bin/qdbus6 \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKGlobalAccelD.so.

Directories: /usr/include/KGlobalAccelD, /usr/lib/cmake/KGlobalAccelD, /usr/share/licenses/kglobalacceld.

The install has no executable, no D-Bus activation file and no autostart entry: the shortcuts work while KWin runs and not before, so the SDDM greeter, which runs KWin with --no-global-shortcuts, has none. The library is installed without the unversioned libKGlobalAccelD.so link a -lKGlobalAccelD would need; a consumer links it through the CMake package KGlobalAccelD, whose target names the versioned file, as KWin does.