libkscreen-6.1.4 for lxqt

Introduction to libkscreen

The libkscreen package contains the KDE Screen Management library.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

[Important]

Important

This package is extracted from the plasma set of packages. If Plasma-6.1.4 is built, do NOT also build this package as presented here.

Package Information

libkscreen Dependencies

Required

plasma-wayland-protocols-1.14.0 and Qt-6.8.0

Installation of libkscreen

Install libkscreen by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr        \
      -D CMAKE_BUILD_TYPE=Release         \
      -D CMAKE_INSTALL_LIBEXECDIR=libexec \
      -D KDE_INSTALL_USE_QT_SYS_PATHS=ON  \
      -D BUILD_TESTING=OFF                \
      -W no-dev ..                        &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Next, remove a systemd unit which serves no purpose on a SysV system as the root user:

rm -v /usr/lib/systemd/user/plasma-kscreen.service

Contents

Installed Programs: kscreen-doctor
Installed Library: libKF6Screen.so and libKF6ScreenDpms.so
Installed Directories: /usr/lib/cmake/KF6Screen, /usr/include/KF6/KScreen, and /usr/lib/plugins/kf6/kscreen

Short Descriptions

kscreen-doctor

allows modifying the screen setup from the command line

libKF6Screen.so

contains the KDE Screen Management library

libKF6ScreenDpms.so

contains API functions for handling DPMS