Kde-workspace-4.11.21

Introduction to Kde-workspace

The Kde-workspace package contains components that are central to providing the KDE desktop environment. Of particular importance are KWin, the KDE window manager, and Plasma, which provides the workspace interface.

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

Package Information

Kde-workspace Dependencies

Required

kactivities-4.13.3, qimageblitz-0.0.6, xcb-util-image-0.4.0, xcb-util-renderutil-0.3.9, xcb-util-keysyms-0.4.0, and xcb-util-wm-0.4.1

Recommended

Optional

Linux-PAM-1.2.1, libusb-1.0.20, NetworkManager-1.0.10, lm_sensors-3.4.0, QJson-0.8.1, PyKDE4, GoogleGadgets, Prison, libraw1394, gpsd, XMMS, libqalculate (wants CLN), and Wayland-1.10.0

[Note]

Note

Kde-workspace has a run-time dependency called Application menu for Qt that allows the application menubar to be inserted as a single button in the titlebar. It can be found at appmenu-qt.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/kde-workspace

Installation of Kde-workspace

It is recommended to have a dedicated user and group to take control of the kdm daemon after it is started. Issue the following commands as the root user:

groupadd -g 37 kdm &&
useradd -c "KDM Daemon Owner" -d /var/lib/kdm -g kdm \
        -u 37 -s /bin/false kdm &&
install -o kdm -g kdm -dm755 /var/lib/kdm

Install Kde-workspace by running the following commands:

sed -e '/graphics.*TESTNAME/s/-signalplottertest/&2/' \
    -e '/test TESTNAME/s/-signalplottertest/&3/'      \
    -i libs/ksysguard/tests/CMakeLists.txt

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX           \
      -DSYSCONF_INSTALL_DIR=/etc                   \
      -DCMAKE_BUILD_TYPE=Release                   \
      -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE \
      -Wno-dev .. &&
make -j1
[Note]

Note

This package may occasionally fail when building with multiple processors. See Using Multiple Processors for more information.

[Note]

Note

If building KDE in /opt, then an environment variable LIBRARY_PATH=$KDE_PREFIX/lib:$LIBRARY_PATH may be needed on the make line.

Now, as the root user:

make install                  &&
mkdir -p /usr/share/xsessions &&
ln -sf $KDE_PREFIX/share/apps/kdm/sessions/kde-plasma.desktop \
       /usr/share/xsessions/kde-plasma.desktop

Command Explanations

-DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE: This option is set to install the KDE Python objects in the correct place.

Configuring KDE Workspace

Linux PAM Configuration

If you built KDE Workspace with Linux PAM support, create necessary configuration files by running the following commands as the root user:

cat >> /etc/pam.d/kde << "EOF" &&
# Begin /etc/pam.d/kde

auth     requisite      pam_nologin.so
auth     required       pam_env.so

auth     required       pam_succeed_if.so uid >= 1000 quiet
auth     include        system-auth

account  include        system-account
password include        system-password
session  include        system-session

# End /etc/pam.d/kde
EOF
cat > /etc/pam.d/kde-np << "EOF" &&
# Begin /etc/pam.d/kde-np

auth     requisite      pam_nologin.so
auth     required       pam_env.so

auth     required       pam_succeed_if.so uid >= 1000 quiet
auth     required       pam_permit.so

account  include        system-account
password include        system-password
session  include        system-session

# End /etc/pam.d/kde-np
EOF
cat > /etc/pam.d/kscreensaver << "EOF"
# Begin /etc/pam.d/kscreensaver

auth    include system-auth
account include system-account

# End /etc/pam.d/kscreensaver
EOF

Contents

Installed Programs: genkdmconf, kaccess, kapplymousetheme, kblankscrn.kss, kcheckrunning, kcminit, kcminit_startup, kdm, kdmctl, kdostartupconfig4, kfontinst, kfontview, kinfocenter, klipper, kmenuedit, krandom.kss, krandrstartup, krandrtray, krdb, krunner, ksmserver, ksplashqml, ksplashsimple, ksplashx, ksplashx_scale, kstartupconfig4, ksysguard, ksysguardd, ksystraycmd, kwin, kwin_gles, kwrited, oxygen-demo, oxygen-settings, oxygen-shadow-demo, plasma-desktop, plasma-netbook, plasma-overlay, plasma-windowed, solid-action-desktop-gen, solid-network, startkde and systemsettings
Installed Libraries: several in $KDE_PREFIX/lib
Installed Directories: several in $KDE_PREFIX/include, $KDE_PREFIX/lib and $KDE_PREFIX/share

Last updated on 2016-03-02 13:42:47 -0800