kidletime-5.115.0 for lxqt

Introduction to kidletime

KIdleTime is used to report the idle time of users and the system. It is useful not only for determining the current idle time of the PC, but also for getting notified upon idle time events, such as custom timeouts or user activity.

This package is known to build and work properly using an LFS 12.1 platform.

[Important]

Important

This package is extracted from the KF5 set of packages. If KDE Frameworks-5.115.0 is built, do NOT also build this package as presented here.

Package Information

kidletime Dependencies

Required

extra-cmake-modules-5.115.0, plasma-wayland-protocols-1.12.0, and (Qt-5.15.12 or qt-alternate-5.15.12)

Installation of kidletime

Install kidletime by running the following commands:

mkdir -v build &&
cd       build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr        \
      -DCMAKE_INSTALL_LIBEXECDIR=libexec \
      -DKDE_INSTALL_USE_QT_SYS_PATHS=ON  \
      -DCMAKE_BUILD_TYPE=Release         \
      -DBUILD_TESTING=OFF                \
      -Wno-dev ..                        &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

-DCMAKE_INSTALL_LIBEXECDIR=libexec: This overrides the default in extra-cmake-modules, which is /usr/lib/libexec and is not FHS compliant.

-DKDE_INSTALL_USE_QT_SYS_PATHS=ON: This forces installation of Qt plugins in the same directory as Qt-5.15.12 itself. Otherwise they get installed into /usr/mkspecs, which is not FHS compliant.

Contents

Installed Programs: None
Installed Library: libKF5IdleTime.so
Installed Directories: /usr/lib/plugins/kf5/org.kde.kidletime.platforms, /usr/lib/cmake/KF5IdleTime, and /usr/include/KF5/KIdleTime

Short Descriptions

libKF5GuiAddons.so

contains the KDE API for idle time reports