Kde-workspace-4.11.11

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.5 platform.

Package Information

Kde-workspace Dependencies

Required

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

Recommended

Optional

Linux-PAM-1.1.8, libusb-1.0.19, NetworkManager-0.9.10.0, lm_sensors-3.3.5, QJson-0.8.1, PyKDE4, GoogleGadgets, Prison, libraw1394, gpsd, XMMS, libqalculate (wants CLN) and Wayland

[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:

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

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 2014-07-24 11:26:47 +0000