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