[ed4724e] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[383f26a] | 7 | <!ENTITY ws-dir "4.13.3">
|
---|
[b4f8b750] | 8 | <!ENTITY kde-workspace-download-http "&kde-download-http;&ws-dir;/src/kde-workspace-&kde-workspace-version;.tar.xz">
|
---|
| 9 | <!ENTITY kde-workspace-download-ftp "&kde-download-ftp;&ws-dir;/src/kde-workspace-&kde-workspace-version;.tar.xz">
|
---|
[9204bbb] | 10 | <!ENTITY kde-workspace-md5sum "64dc4f44a7df7bcde32633a4ad036edb">
|
---|
[0fdd99d] | 11 | <!ENTITY kde-workspace-size "12.9 MB">
|
---|
[9204bbb] | 12 | <!ENTITY kde-workspace-buildsize "57.3 MB">
|
---|
| 13 | <!ENTITY kde-workspace-time "17.4 SBU">
|
---|
[ed4724e] | 14 | ]>
|
---|
| 15 |
|
---|
[22899f9] | 16 | <sect1 id="kde-workspace" xreflabel="KDE-Workspace-&kde-workspace-version;">
|
---|
[2a7334e8] | 17 | <?dbhtml filename="kde-workspace.html"?>
|
---|
[ed4724e] | 18 |
|
---|
| 19 | <sect1info>
|
---|
[09adf3d] | 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
[ed4724e] | 22 | </sect1info>
|
---|
| 23 |
|
---|
[22899f9] | 24 | <title>KDE-Workspace-&kde-workspace-version;</title>
|
---|
[ed4724e] | 25 |
|
---|
[2a7334e8] | 26 | <indexterm zone="kde-workspace">
|
---|
[22899f9] | 27 | <primary sortas="a-KDE-Workspace">KDE-Workspace</primary>
|
---|
[ed4724e] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[22899f9] | 31 | <title>Introduction to KDE-Workspace</title>
|
---|
[ed4724e] | 32 |
|
---|
[2ddc3485] | 33 | <para>
|
---|
[22899f9] | 34 | The KDE-Workspace package contains components that are central to
|
---|
[2ddc3485] | 35 | providing the <application>KDE</application> desktop environment. Of
|
---|
| 36 | particular importance are KWin, the <application>KDE</application>
|
---|
| 37 | window manager, and Plasma, which provides the workspace interface.
|
---|
| 38 | </para>
|
---|
[ed4724e] | 39 |
|
---|
[22899f9] | 40 | &lfs76_checked;
|
---|
[ed4724e] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[2a7334e8] | 45 | <para>Download (HTTP): <ulink url="&kde-workspace-download-http;"/></para>
|
---|
[ed4724e] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[2a7334e8] | 48 | <para>Download (FTP): <ulink url="&kde-workspace-download-ftp;"/></para>
|
---|
[ed4724e] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[2a7334e8] | 51 | <para>Download MD5 sum: &kde-workspace-md5sum;</para>
|
---|
[ed4724e] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[2a7334e8] | 54 | <para>Download size: &kde-workspace-size;</para>
|
---|
[ed4724e] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[2a7334e8] | 57 | <para>Estimated disk space required: &kde-workspace-buildsize;</para>
|
---|
[ed4724e] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[2a7334e8] | 60 | <para>Estimated build time: &kde-workspace-time;</para>
|
---|
[ed4724e] | 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
| 63 |
|
---|
[22899f9] | 64 | <bridgehead renderas="sect3">KDE-Workspace Dependencies</bridgehead>
|
---|
[ed4724e] | 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 67 | <para role="required">
|
---|
[2ddc3485] | 68 | <xref linkend="kactivities"/>,
|
---|
| 69 | <xref linkend="qimageblitz"/>,
|
---|
[c7605660] | 70 | <xref linkend="xcb-util-image"/>,
|
---|
[22899f9] | 71 | <xref linkend="xcb-util-keysyms"/>,
|
---|
| 72 | <xref linkend="xcb-util-renderutil"/>, and
|
---|
[c7605660] | 73 | <xref linkend="xcb-util-wm"/>
|
---|
[ed4724e] | 74 | </para>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
[2ddc3485] | 78 | <xref linkend="boost"/>,
|
---|
[22899f9] | 79 | <xref linkend="kdepimlibs"/>,
|
---|
[2ddc3485] | 80 | <xref linkend="pciutils"/>, and
|
---|
[d1ea8a45] | 81 | <xref linkend="systemd"/> (for Logind)
|
---|
[ed4724e] | 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 85 | <para role="optional">
|
---|
[22899f9] | 86 | <xref linkend="libusb-compat"/>,
|
---|
[2ddc3485] | 87 | <xref linkend="linux-pam"/>,
|
---|
| 88 | <xref linkend="lm_sensors"/>,
|
---|
[22899f9] | 89 | <xref linkend="NetworkManager"/>,
|
---|
[f837bd2] | 90 | <xref linkend="qjson"/>,
|
---|
[12cb8c2d] | 91 | <xref linkend="wayland"/>,
|
---|
[2ddc3485] | 92 | <ulink url="http://code.google.com/p/google-gadgets-for-linux/">GoogleGadgets</ulink>,
|
---|
[22899f9] | 93 | <ulink url="http://www.catb.org/gpsd/">GPSD</ulink>,
|
---|
[2ddc3485] | 94 | <ulink url="http://qalculate.sourceforge.net/">libqalculate</ulink>
|
---|
[22899f9] | 95 | (wants <ulink url="http://www.ginac.de/CLN/">CLN</ulink>),
|
---|
| 96 | <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
|
---|
| 97 | <ulink url="http://projects.kde.org/prison">Prison</ulink>,
|
---|
| 98 | <ulink url="&kde-download-http;&kde-version;/src/">PyKDE4</ulink>, and
|
---|
| 99 | <ulink url="http://www.xmms.org/">XMMS</ulink>
|
---|
[ed4724e] | 100 | </para>
|
---|
| 101 |
|
---|
[2ddc3485] | 102 | <note>
|
---|
| 103 | <para>
|
---|
[22899f9] | 104 | KDE-Workspace has a run-time dependency called
|
---|
[2ddc3485] | 105 | <application>Application menu for Qt</application> that allows the
|
---|
| 106 | application menubar to be inserted as a single button in the titlebar.
|
---|
| 107 | It can be found at
|
---|
| 108 | <ulink url="https://launchpad.net/appmenu-qt">appmenu-qt</ulink>.
|
---|
| 109 | </para>
|
---|
| 110 | </note>
|
---|
[0d7900a] | 111 |
|
---|
[ed4724e] | 112 | <para condition="html" role="usernotes">User Notes:
|
---|
[2ddc3485] | 113 | <ulink url="&blfs-wiki;/kde-workspace"/>
|
---|
[ed4724e] | 114 | </para>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
[22899f9] | 119 | <title>Installation of KDE-Workspace</title>
|
---|
[ed4724e] | 120 |
|
---|
[69138677] | 121 | <para>
|
---|
| 122 | It is recommended to have a dedicated user and group to take
|
---|
| 123 | control of the <command>kdm</command> daemon after it is
|
---|
| 124 | started. Issue the following commands as the
|
---|
| 125 | <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen role="root"><userinput>groupadd -g 37 kdm &&
|
---|
| 129 | useradd -c "KDM Daemon Owner" -d /var/lib/kdm -g kdm \
|
---|
| 130 | -u 37 -s /bin/false kdm &&
|
---|
| 131 | install -o kdm -g kdm -dm755 /var/lib/kdm</userinput></screen>
|
---|
| 132 |
|
---|
[2ddc3485] | 133 | <para>
|
---|
[22899f9] | 134 | Install <application>KDE-Workspace</application> by running the following
|
---|
[2ddc3485] | 135 | commands:
|
---|
| 136 | </para>
|
---|
[ed4724e] | 137 |
|
---|
| 138 | <screen><userinput>mkdir build &&
|
---|
[18c9ee54] | 139 | cd build &&
|
---|
| 140 |
|
---|
| 141 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
| 142 | -DSYSCONF_INSTALL_DIR=/etc \
|
---|
| 143 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[cd6d455] | 144 | -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE \
|
---|
[97c713e] | 145 | -Wno-dev .. &&
|
---|
[ed4724e] | 146 | make</userinput></screen>
|
---|
| 147 |
|
---|
[2ddc3485] | 148 | <para>
|
---|
| 149 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 150 | </para>
|
---|
[ed4724e] | 151 |
|
---|
[18c9ee54] | 152 | <screen role="root"><userinput>make install &&
|
---|
[a939ab2a] | 153 | mkdir -pv /usr/share/xsessions &&
|
---|
[f3d469b1] | 154 | ln -sfv &kde-dir;/share/apps/kdm/sessions/kde-plasma.desktop \
|
---|
[69138677] | 155 | /usr/share/xsessions/kde-plasma.desktop</userinput></screen>
|
---|
[ed4724e] | 156 |
|
---|
| 157 | </sect2>
|
---|
[8d86c672] | 158 |
|
---|
[ed4724e] | 159 | <sect2 role="commands">
|
---|
| 160 | <title>Command Explanations</title>
|
---|
| 161 |
|
---|
[78abf5a] | 162 | <para><option>-DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE</option>: This option is
|
---|
| 163 | set to install the KDE Python objects in the correct place.</para>
|
---|
[ed4724e] | 164 |
|
---|
| 165 | </sect2>
|
---|
[8d86c672] | 166 |
|
---|
[69138677] | 167 | <sect2 role="configuration">
|
---|
| 168 | <title>Configuring KDE Workspace</title>
|
---|
| 169 |
|
---|
| 170 | <sect3>
|
---|
| 171 | <title>Linux PAM Configuration</title>
|
---|
| 172 |
|
---|
[2ddc3485] | 173 | <para>
|
---|
| 174 | If you built <application>KDE Workspace</application> with
|
---|
[c4b0455] | 175 | <application>Linux PAM</application> support, create necessary
|
---|
[2ddc3485] | 176 | configuration files by running the following commands as the
|
---|
| 177 | <systemitem class="username">root</systemitem> user:
|
---|
| 178 | </para>
|
---|
[69138677] | 179 |
|
---|
| 180 | <screen role="root"><userinput>cat >> /etc/pam.d/kde << "EOF" &&
|
---|
| 181 | # Begin /etc/pam.d/kde
|
---|
| 182 |
|
---|
| 183 | auth requisite pam_nologin.so
|
---|
| 184 | auth required pam_env.so
|
---|
| 185 |
|
---|
| 186 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 187 | auth include system-auth
|
---|
| 188 |
|
---|
| 189 | account include system-account
|
---|
| 190 | password include system-password
|
---|
| 191 | session include system-session
|
---|
| 192 |
|
---|
| 193 | # End /etc/pam.d/kde
|
---|
| 194 | EOF
|
---|
| 195 | cat > /etc/pam.d/kde-np << "EOF" &&
|
---|
| 196 | # Begin /etc/pam.d/kde-np
|
---|
| 197 |
|
---|
| 198 | auth requisite pam_nologin.so
|
---|
| 199 | auth required pam_env.so
|
---|
| 200 |
|
---|
| 201 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 202 | auth required pam_permit.so
|
---|
| 203 |
|
---|
| 204 | account include system-account
|
---|
| 205 | password include system-password
|
---|
| 206 | session include system-session
|
---|
| 207 |
|
---|
| 208 | # End /etc/pam.d/kde-np
|
---|
| 209 | EOF
|
---|
| 210 | cat > /etc/pam.d/kscreensaver << "EOF"
|
---|
| 211 | # Begin /etc/pam.d/kscreensaver
|
---|
| 212 |
|
---|
| 213 | auth include system-auth
|
---|
| 214 | account include system-account
|
---|
| 215 |
|
---|
| 216 | # End /etc/pam.d/kscreensaver
|
---|
| 217 | EOF</userinput></screen>
|
---|
| 218 |
|
---|
| 219 | </sect3>
|
---|
| 220 |
|
---|
| 221 | </sect2>
|
---|
| 222 |
|
---|
[ed4724e] | 223 | <sect2 role="content">
|
---|
| 224 | <title>Contents</title>
|
---|
| 225 |
|
---|
| 226 | <segmentedlist>
|
---|
| 227 | <segtitle>Installed Programs</segtitle>
|
---|
| 228 | <segtitle>Installed Libraries</segtitle>
|
---|
| 229 | <segtitle>Installed Directories</segtitle>
|
---|
| 230 |
|
---|
| 231 | <seglistitem>
|
---|
[2a7334e8] | 232 | <seg>genkdmconf, kaccess, kapplymousetheme, kblankscrn.kss,
|
---|
| 233 | kcheckrunning, kcminit, kcminit_startup, kdm, kdmctl,
|
---|
| 234 | kdostartupconfig4, kfontinst, kfontview, kinfocenter, klipper,
|
---|
| 235 | kmenuedit, krandom.kss, krandrstartup, krandrtray, krdb, krunner,
|
---|
| 236 | ksmserver, ksplashqml, ksplashsimple, ksplashx, ksplashx_scale,
|
---|
[cd6d455] | 237 | kstartupconfig4, ksysguard, ksysguardd, ksystraycmd, kwin, kwin_gles,
|
---|
| 238 | kwrited, oxygen-demo, oxygen-settings, oxygen-shadow-demo,
|
---|
| 239 | plasma-desktop, plasma-netbook, plasma-overlay, plasma-windowed,
|
---|
[2a7334e8] | 240 | solid-action-desktop-gen, solid-network, startkde and systemsettings
|
---|
| 241 | </seg>
|
---|
[2cfb44a4] | 242 | <seg>several in &kde-dir;/lib</seg>
|
---|
[2a7334e8] | 243 | <seg>several in &kde-dir;/include, &kde-dir;/lib and &kde-dir;/share
|
---|
| 244 | </seg>
|
---|
[ed4724e] | 245 | </seglistitem>
|
---|
| 246 | </segmentedlist>
|
---|
[69138677] | 247 |
|
---|
[ed4724e] | 248 | </sect2>
|
---|
[0d7900a] | 249 |
|
---|
[ed4724e] | 250 | </sect1>
|
---|