source: kde5/plasma/plasma-workspace.xml@ 0ed1e5d

kde5-14686
Last change on this file since 0ed1e5d was 0ed1e5d, checked in by Xi Ruoyao <xry111@…>, 3 years ago

Add kscreen. Some fixes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/kde5@14728 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.2 KB
Line 
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
8<sect1 id="plasma-workspace" xreflabel="Plasma-Workspace-&plasma-version;">
9 <?dbhtml filename="plasma-workspace.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>Plasma-Workspace-&plasma-version;</title>
17
18 <indexterm zone="plasma-workspace">
19 <primary sortas="a-Plasma-Workspace">Plasma-Workspace</primary>
20 </indexterm>
21
22 <sect2 role="package">
23 <title>Introduction to Plasma-Workspace</title>
24
25 <para>
26 The <application>Plasma-Workspace</application> package contains the
27 KDE Plasma Workspace.
28 </para>
29
30 &lfs76_checked;
31
32 <bridgehead renderas="sect3">Package Information</bridgehead>
33 <itemizedlist spacing="compact">
34 <listitem>
35 <para>
36 Download (HTTP): <ulink url="&plasma-workspace-download-http;"/>
37 </para>
38 </listitem>
39 <listitem>
40 <para>
41 Download (FTP): <ulink url="&plasma-workspace-download-ftp;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download MD5 sum: &plasma-workspace-md5sum;
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download size: &plasma-workspace-size;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Estimated disk space required: &plasma-workspace-buildsize;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated build time: &plasma-workspace-time;
62 </para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">Plasma-Workspace Dependencies</bridgehead>
67
68 <bridgehead renderas="sect4">Required</bridgehead>
69 <para role="required">
70 <xref linkend="baloo5"/>,
71 <xref linkend="kdesu"/>,
72 <xref linkend="kdewebkit"/>,
73 <xref linkend="kidletime"/>,
74 <xref linkend="kjsembed"/>,
75 <xref linkend="knotifyconfig"/>,
76 <xref linkend="krunner"/>,
77 <xref linkend="kwin5"/>,
78 <xref linkend="libkscreen"/> and
79 <xref linkend="libksysguard"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="ktexteditor"/>
85 </para>
86
87 <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
88 <para role="required">
89 <xref linkend="breeze"/>,
90 <xref linkend="kde-cli-tools"/>,
91 <xref linkend="kded"/>,
92 <xref linkend="khelpcenter"/>,
93 <xref linkend="kio-extras"/>,
94 <xref linkend="milou"/>,
95 <xref linkend="oxygen"/>,
96 <xref linkend="plasma-workspace-wallpapers"/> and
97 <xref linkend="polkit-kde-agent5"/>
98 </para>
99
100 <bridgehead renderas="sect4">Optional</bridgehead>
101 <para role="optional">
102 <ulink url="http://gpsd.berlios.de/">libgps</ulink>,
103 <ulink url="http://qalculate.sourceforge.net">libqalculate</ulink>,
104 <xref linkend="linux-pam"/> and
105 <ulink url="http://projects.kde.org/prison/">Prison</ulink>
106 </para>
107
108 <para condition="html" role="usernotes">
109 User Notes: <ulink url="&blfs-wiki;/plasma-workspace"/>
110 </para>
111 </sect2>
112
113 <sect2 role="installation">
114 <title>Installation of Plasma-Workspace</title>
115
116 <para>
117 Install <application>Plasma-Workspace</application> by running the following
118 commands:
119 </para>
120
121<screen><userinput>mkdir build &amp;&amp;
122cd build &amp;&amp;
123
124cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
125 -DCMAKE_BUILD_TYPE=Release \
126 -DSYSCONF_INSTALL_DIR=$KF5_SYSCONFDIR \
127 -DLIB_INSTALL_DIR=lib \
128 -DBUILD_TESTING=OFF \
129 -DQML_INSTALL_DIR=&qt5-qml-dir; \
130 -DQT_PLUGIN_INSTALL_DIR=&qt5-plugins-dir; \
131 .. &amp;&amp;
132make</userinput></screen>
133
134 <para>
135 This package does not come with a test suite.
136 </para>
137
138 <para>
139 Now, as the <systemitem class="username">root</systemitem> user:
140 </para>
141
142<screen role="root"><userinput>make install</userinput></screen>
143
144 <para>
145 Make the startup script call <command>qtpaths-qt5</command> instead of
146 <command>qtpaths</command> in case <application>qtchooser</application>
147 is being used by running the following command as the
148 <systemitem class="username">root</systemitem> user:
149 </para>
150
151<screen role="root"><userinput>sed -i "s:qtpaths:&amp;-qt5:g" $KF5_PREFIX/bin/startkde</userinput></screen>
152
153 </sect2>
154
155 <sect2 role="commands">
156 <title>Command Explanations</title>
157
158 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
159 href="../../xincludes/cmake-release.xml"/>
160
161 <para>
162 <parameter>-DSYSCONF_INSTALL_DIR=$KF5_SYSCONFDIR</parameter>: This switch
163 is used to set correct XDG configuration directory.
164 </para>
165
166 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
167 href="../../xincludes/kf5-libdir.xml"/>
168
169 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
170 href="../../xincludes/kf5-tests.xml"/>
171
172 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
173 href="../../xincludes/qt5-qml-dir.xml"/>
174
175 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
176 href="../../xincludes/qt5-plugins-dir.xml"/>
177
178 </sect2>
179
180 <sect2 role="configuration">
181 <title>Configuring Plasma-Workspace</title>
182
183 <note>
184 <para>
185 This section can be skipped if <application>KDE Plasma 5</application>
186 was installed in <filename class="directory">/usr</filename>
187 </para>
188 </note>
189
190 <para>
191 Create a wrapper script that will be used to start the
192 <application>KDE Plasma 5</application> by running
193 the following command as the <systemitem
194 class="username">root</systemitem> user:
195 </para>
196
197<screen role="root"><userinput>cat &gt; $KF5_PREFIX/bin/startkde-wrapper &lt;&lt; "EOF"
198<literal>#!/bin/sh -e
199
200. /etc/profile.d/qt5.sh
201. /etc/profile.d/kf5.sh
202
203exec $KF5_PREFIX/bin/startkde "$@"</literal>
204EOF
205chmod -v 755 $KF5_PREFIX/bin/startkde-wrapper</userinput></screen>
206
207 <para>
208 If you are using a display manager to log into your desktop,
209 let it know about <application>KDE</application> Plasma
210 Desktop by running the following command as the
211 <systemitem class="username">root</systemitem> user:
212 </para>
213
214<screen role="root"><userinput>install -v -dm755 /usr/share/xsessions
215sed -i "s:startkde:&amp;-wrapper:g" $KF5_PREFIX/share/xsessions/plasma.desktop
216ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop /usr/share/xsessions/kf5-plasma.desktop</userinput></screen>
217
218 </sect2>
219
220 <sect2 role="content">
221 <title>Contents</title>
222
223 <segmentedlist>
224 <segtitle>Installed Programs</segtitle>
225 <segtitle>Installed Libraries</segtitle>
226 <segtitle>Installed Directories</segtitle>
227
228 <seglistitem>
229 <seg>
230 kcheckrunning, kcminit, kcminit_startup, kdostartupconfig5,
231 kglobalaccel5, klipper, krunner, ksmserver, ksplashqml,
232 kstartupconfig5, kuiserver5, plasmashell, plasmawindowed,
233 startkde and systemmonitor
234 </seg>
235 <seg>
236 libkdeinit5_kcminit.so, libkdeinit5_kcminit_startup.so,
237 libkdeinit5_kglobalaccel5.so, libkdeinit5_klipper.so,
238 libkdeinit5_ksmserver.so, libkdeinit5_kuiserver5.so,
239 libKF5XmlRpcClientPrivate.so, libkworkspace5.so,
240 libplasma-geolocation-interface.so, libtaskmanager.so and
241 libweather_ion.so
242 </seg>
243 <seg>
244 $KF5_PREFIX/include/{KDE,kworkspace5,plasma,taskmanager},
245 $KF5_PREFIX/lib/cmake/{KRunnerAppDBusInterface,KSMServerDBusInterface},
246 $KF5_PREFIX/lib/cmake/{LibKWorkspace,LibTaskManager,ScreenSaverDBusInterface},
247 $KF5_PREFIX/&qt5-plugins-dir;/plasma,
248 $KF5_PREFIX/&qt5-qml-dir;/org/kde/{plasma,private},
249 $KF5_PREFIX/share/doc/HTML/*/klipper,
250 $KF5_PREFIX/share/{drkonqi,ksmserver,ksplash},
251 $KF5_PREFIX/share/plasma/{kcms,look-and-feel,plasmoids,services},
252 $KF5_PREFIX/share/plasma/{shareprovider,wallpapers},
253 $KF5_PREFIX/share/sddm,
254 $KF5_PREFIX/share/solid and
255 $KF5_PREFIX/share/xsessions
256 </seg>
257 </seglistitem>
258 </segmentedlist>
259
260 </sect2>
261
262</sect1>
Note: See TracBrowser for help on using the repository browser.