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