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

257.51. kidletime-6.31.0

KDE Frameworks: user idle-time reporting

6.31.0-1 · LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND MIT · 1.5 SBU · 399.9 KiB, 21 files · 43_toolkits, 129 of 344 · ports/core/kf6/kidletime

Homepage: https://api.kde.org/frameworks/kidletime/html/

Why it is in KDOS. The comment above the 61 ports from karchive to kfilemetadata in script/phases/43_toolkits/packages.d/kf6.txt:

The libraries KDE applications are built on, without Plasma.

KIdleTime tells a program how long the user has been idle and wakes it when a given idle time passes or the user comes back. It is how a session dims the screen, locks it or suspends, and how a chat program marks itself away. The work is done by one poller plugin per platform: on Wayland it asks the compositor through the ext-idle-notify-v1 protocol (or KDE’s older org_kde_kwin_idle), under X11 through the X Sync or X Screen Saver extension. PowerDevil and the screen locker of Plasma, konversation and baloo use it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtwayland, wayland, wayland-protocols, plasma-wayland-protocols, libX11, libxcb, libXext, libXScrnSaver.

Required by (9): baloo, discover, konversation, kscreenlocker, kup, kwin, plasma-workspace, plasma5support, powerdevil.

Sources: kidletime-6.31.0.tar.xz (30.2 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 kidletime'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D BUILD_TESTING=OFF \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D WITH_WAYLAND=ON \
	-D WITH_X11=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKF6IdleTime.so.

Directories: /usr/include/KF6/KIdleTime, /usr/lib/cmake/KF6IdleTime, /usr/lib/qt6/plugins/kf6/org.kde.kidletime.platforms, /usr/share/licenses/kidletime.