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