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