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