1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE chapter 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 plasma5-download-http "https://download.kde.org/stable/plasma/&plasma5-version;">
|
---|
8 | <!ENTITY plasma5-download-ftp " ">
|
---|
9 | <!ENTITY plasma5-md5sum "See Below">
|
---|
10 | <!ENTITY plasma5-size "183 MB">
|
---|
11 | <!ENTITY plasma5-buildsize "1.7 GB (200 MB installed)">
|
---|
12 | <!ENTITY plasma5-time "19 SBU (using parallelism=4)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="plasma5-build" xreflabel="Plasma-&plasma5-version;">
|
---|
16 | <?dbhtml filename="plasma-all.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>Building Plasma 5</title>
|
---|
23 |
|
---|
24 | <indexterm zone="plasma5-build">
|
---|
25 | <primary sortas="a-kde-plasma">KDE Plasma 5</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | KDE Plasma 5 is a collection of packages based on top of KDE Frameworks
|
---|
30 | 5 and QML. They implement the KDE Display Environment (Plasma 5).
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs110a_checked;
|
---|
34 |
|
---|
35 | <para>
|
---|
36 | The instructions below build all of the Plasma 5 packages in one
|
---|
37 | step by using a bash script.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&plasma5-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&plasma5-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &plasma5-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &plasma5-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &plasma5-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &plasma5-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <!--<xref linkend="fontforge"/>,-->
|
---|
79 | <!-- does not seem to be needed as of 5.22.4 <xref linkend="GConf"/>, -->
|
---|
80 | <xref linkend="gtk2"/>,
|
---|
81 | <xref linkend="gtk3"/>,
|
---|
82 | <xref linkend="kf5-frameworks"/>,
|
---|
83 | <xref linkend="libpwquality"/>,
|
---|
84 | <xref linkend="libxkbcommon"/>,
|
---|
85 | <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
|
---|
86 | <xref linkend="NetworkManager"/>,
|
---|
87 | <xref linkend="pipewire"/>,
|
---|
88 | <xref linkend="pulseaudio"/>,
|
---|
89 | <xref linkend="qca"/>,
|
---|
90 | <xref linkend="sassc"/>,
|
---|
91 | <xref linkend="taglib"/>, and
|
---|
92 | <xref linkend="xcb-util-cursor"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
96 | <para role="recommended">
|
---|
97 | <xref linkend="fftw"/>,
|
---|
98 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
99 | <xref linkend="libdbusmenu-qt"/>,
|
---|
100 | <xref linkend="libcanberra"/>,
|
---|
101 | <xref linkend="libinput"/>,
|
---|
102 | <xref linkend="libpcap"/>,
|
---|
103 | <xref linkend="linux-pam"/>,
|
---|
104 | <xref linkend="lm_sensors"/>,
|
---|
105 | <xref linkend="oxygen-icons5"/>, and
|
---|
106 | <xref linkend="pciutils"/>
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>
|
---|
110 | <para role="recommended">
|
---|
111 | <xref role="runtime" linkend="accountsservice"/> and
|
---|
112 | <xref role="runtime" linkend="smartmontools"/>
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
116 | <para role="optional">
|
---|
117 | <xref linkend="glu"/>,
|
---|
118 | <xref linkend='ibus'/>,
|
---|
119 | <xref linkend='qtwebengine'/>,
|
---|
120 | <xref linkend="xorg-synaptics-driver"/>,
|
---|
121 | <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
|
---|
122 | <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
|
---|
123 | <ulink url="https://gpsd.gitlab.io/gpsd/">libgps</ulink>,
|
---|
124 | <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
|
---|
125 | <ulink url="https://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
|
---|
126 | <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
|
---|
127 | <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
|
---|
128 | <ulink url="http://qalculate.github.io/">Qalculate</ulink>,
|
---|
129 | <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
|
---|
130 | <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
|
---|
131 | <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <note>
|
---|
135 | <para>
|
---|
136 | Only two plasma packages optionally use <xref linkend="qtwebengine"/>:
|
---|
137 | libksysguard and kdeplasma-addons. If QtWebEngine is installed later,
|
---|
138 | only those two packages have to be rebuilt. This allows to provide
|
---|
139 | a more complete display in the system monitor application.
|
---|
140 | </para>
|
---|
141 | </note>
|
---|
142 |
|
---|
143 | <para condition="html" role="usernotes">User Notes:
|
---|
144 | <ulink url="&blfs-wiki;/kf5"/></para>
|
---|
145 |
|
---|
146 | <sect2>
|
---|
147 | <title>Downloading KDE Plasma5</title>
|
---|
148 |
|
---|
149 | <para>
|
---|
150 | The easiest way to get the KDE Plasma5 packages is to use a single
|
---|
151 | <command>wget</command> to fetch them all at once:
|
---|
152 | </para>
|
---|
153 |
|
---|
154 | <screen><userinput>url=https://download.kde.org/stable/plasma/&plasma5-version;/
|
---|
155 | wget -r -nH -nd -A '*.xz' -np $url</userinput>
|
---|
156 | <literal>
|
---|
157 | The options used here are:
|
---|
158 | -r recurse through child directories
|
---|
159 | -nH disable generation of host-prefixed directories
|
---|
160 | -nd do not create a hierarchy of directories
|
---|
161 | -A '*.xz' just get the *.xz files
|
---|
162 | -np don't get parent directories</literal></screen>
|
---|
163 |
|
---|
164 | </sect2>
|
---|
165 |
|
---|
166 | <sect2>
|
---|
167 | <title>Setting Package Order</title>
|
---|
168 |
|
---|
169 | <para>
|
---|
170 | The order of building files is important due to internal dependencies.
|
---|
171 | Create the list of files in the proper order as follows:
|
---|
172 | </para>
|
---|
173 |
|
---|
174 | <screen><userinput>cat > plasma-&plasma5-version;.md5 << "EOF"
|
---|
175 | <literal>70412d6cd8e0d1c4c42ed12902368a7f kdecoration-5.23.4.tar.xz
|
---|
176 | e970cde02338a940dfac2a46834bb914 libkscreen-5.23.4.tar.xz
|
---|
177 | 2b3db1a3157b42f17e7f9bfa5a94632f libksysguard-5.23.4.tar.xz
|
---|
178 | 4121a2c47a3a523fee891e82233dafaa breeze-5.23.4.tar.xz
|
---|
179 | 5c7c1d37cc2e8e4e77509e76c025bd8a breeze-gtk-5.23.4.tar.xz
|
---|
180 | 8a0ca463e975f36a4029c5b58e97d0c6 layer-shell-qt-5.23.4.tar.xz
|
---|
181 | 9ba6af9d821819a12627228348be3a33 kscreenlocker-5.23.4.tar.xz
|
---|
182 | 196a7591da5295467079154bbb555a0e oxygen-5.23.4.tar.xz
|
---|
183 | 98aba2934bc1a37a948b7e2cd5a8a5f5 kinfocenter-5.23.4.tar.xz
|
---|
184 | c3fb19662d5f9df6d08da17537de4a00 kwayland-server-5.23.4.tar.xz
|
---|
185 | 7c4641bdb19b8ff3ebf785d9e62c4e73 kwin-5.23.4.tar.xz
|
---|
186 | b881d2067ab2b2081b1abe514df535d2 plasma-workspace-5.23.4.tar.xz
|
---|
187 | d792a0949023365b7cbe63063cac4d76 plasma-disks-5.23.4.tar.xz
|
---|
188 | 129d38e7781b6b8de4228d5798a43cfb bluedevil-5.23.4.tar.xz
|
---|
189 | 8c9e78a04e7d810e07f3016f2506b294 kde-gtk-config-5.23.4.tar.xz
|
---|
190 | 679e9b0049272f9dd09fd5aa196d4083 khotkeys-5.23.4.tar.xz
|
---|
191 | 25f187342eccfea8400ee7473d00c776 kmenuedit-5.23.4.tar.xz
|
---|
192 | 525d86e1f10e27a682419dd7fe50adc7 kscreen-5.23.4.tar.xz
|
---|
193 | b8dee5bf600004b67d499144e5b73aa4 kwallet-pam-5.23.4.tar.xz
|
---|
194 | ccadb3775b62e6c79ae876d36e112d2d kwayland-integration-5.23.4.tar.xz
|
---|
195 | 8d5500231378fce92b938e650b93af02 kwrited-5.23.4.tar.xz
|
---|
196 | c747fc88fe6321936d321145953c9113 milou-5.23.4.tar.xz
|
---|
197 | c8550fccbb1f4545b75d3d12ff3f2bd0 plasma-nm-5.23.4.tar.xz
|
---|
198 | f8eb962f3ddb735440161349ccb53b7d plasma-pa-5.23.4.tar.xz
|
---|
199 | a8c49526c3166ab39c52d5c2698cac66 plasma-workspace-wallpapers-5.23.4.tar.xz
|
---|
200 | a4c54e6faa3539f87327fed2957d46e6 polkit-kde-agent-1-5.23.4.tar.xz
|
---|
201 | caebf6ab603fca247adfb04d96b276b1 powerdevil-5.23.4.tar.xz
|
---|
202 | 4f53438f181525c1c64de34e8a2a7539 plasma-desktop-5.23.4.tar.xz
|
---|
203 | 7050e2d550375e09c5713c7975439748 kdeplasma-addons-5.23.4.tar.xz
|
---|
204 | a142e8c4f2ca73e35384962d998a3b5c kgamma5-5.23.4.tar.xz
|
---|
205 | daf8770fe5e265aad69534d64f3d9cea ksshaskpass-5.23.4.tar.xz
|
---|
206 | #ad6f77ebdbc3396bbf08e61168669fa6 plasma-sdk-5.23.4.tar.xz
|
---|
207 | 71a0156a31687357103f954fa78b6848 sddm-kcm-5.23.4.tar.xz
|
---|
208 | 006e75263753756f8755bd059c19ab9e discover-5.23.4.tar.xz
|
---|
209 | #9c8f0c048dc42677d74353bbfa2159a2 breeze-grub-5.23.4.tar.xz
|
---|
210 | #71c20d264f3e55a6b44d7bb999cb2392 breeze-plymouth-5.23.4.tar.xz
|
---|
211 | 280b8796189bc7aab7176b11d544e847 kactivitymanagerd-5.23.4.tar.xz
|
---|
212 | ff59902f5d98c8b95e0233bbd51dc2c6 plasma-integration-5.23.4.tar.xz
|
---|
213 | 75323ed6f25645cfc177b05851708aef plasma-tests-5.23.4.tar.xz
|
---|
214 | #90f7253019ffeebea00e46c8d01825e3 plymouth-kcm-5.23.4.tar.xz
|
---|
215 | 9834a8793b8ec9c9ba100088b156eda7 xdg-desktop-portal-kde-5.23.4.tar.xz
|
---|
216 | 8a105673248c94dd7d67345e5015cfa1 drkonqi-5.23.4.tar.xz
|
---|
217 | f95e5d77072c1e63d868fcf31794f2a7 plasma-vault-5.23.4.tar.xz
|
---|
218 | 159c8ef827875feee49ad2ab18a69a68 plasma-browser-integration-5.23.4.tar.xz
|
---|
219 | 6100c39ded0b25058d8d9c58a06dd88f kde-cli-tools-5.23.4.tar.xz
|
---|
220 | da45f029de7d611f1f2ce68d944b9c97 systemsettings-5.23.4.tar.xz
|
---|
221 | d13e77f6cfd50f710f155cec76fd4096 plasma-thunderbolt-5.23.4.tar.xz
|
---|
222 | #26080aa1ce99de8ec0e8e170713a0bdb plasma-nano-5.23.4.tar.xz
|
---|
223 | #6977fd972f03934aa40f6dceead0268a plasma-phone-components-5.23.4.tar.xz
|
---|
224 | 8287067abceafacc586bdea72917f63a plasma-firewall-5.23.4.tar.xz
|
---|
225 | 287dc2d4ba0501335460db00e40151be plasma-systemmonitor-5.23.4.tar.xz
|
---|
226 | 43eb9791a41bab99ba7a69a95740a53c qqc2-breeze-style-5.23.4.tar.xz
|
---|
227 | 77f7b33c69d7638d1109757feab51e74 ksystemstats-5.23.4.tar.xz</literal>
|
---|
228 | EOF</userinput></screen>
|
---|
229 |
|
---|
230 | <note>
|
---|
231 | <para>
|
---|
232 | The breeze-grub, breeze-plymouth, and plymouth-kcm packages above are
|
---|
233 | all for customized support of <ulink
|
---|
234 | url="https://www.freedesktop.org/wiki/Software/Plymouth/"
|
---|
235 | >Plymouth</ulink>
|
---|
236 | which is designed to be run within an initial ram disk during boot (see
|
---|
237 | <xref linkend="initramfs"/>). The plasma-sdk package is optional and
|
---|
238 | used for software development. The plasma-nano package is used for
|
---|
239 | embedded systems and plasma-phone-components provides phone
|
---|
240 | functionality for Plasma.
|
---|
241 | </para>
|
---|
242 | </note>
|
---|
243 |
|
---|
244 | </sect2>
|
---|
245 |
|
---|
246 | <sect2 role="installation">
|
---|
247 | <title>Installation of Plasma5</title>
|
---|
248 |
|
---|
249 | &as_root;
|
---|
250 |
|
---|
251 | <para>
|
---|
252 | First, start a subshell that will exit on error:
|
---|
253 | </para>
|
---|
254 |
|
---|
255 | <screen><userinput>bash -e</userinput></screen>
|
---|
256 |
|
---|
257 | <para>
|
---|
258 | Install all of the packages by running the following
|
---|
259 | commands:
|
---|
260 | </para>
|
---|
261 |
|
---|
262 | <screen><userinput>while read -r line; do
|
---|
263 |
|
---|
264 | # Get the file name, ignoring comments and blank lines
|
---|
265 | if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
|
---|
266 | file=$(echo $line | cut -d" " -f2)
|
---|
267 |
|
---|
268 | pkg=$(echo $file|sed 's|^.*/||') # Remove directory
|
---|
269 | packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
|
---|
270 |
|
---|
271 | tar -xf $file
|
---|
272 | pushd $packagedir
|
---|
273 | <!--
|
---|
274 | # Fix some build issues when generating some configuration files
|
---|
275 | case $name in
|
---|
276 | plasma-workspace)
|
---|
277 | sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
|
---|
278 | ;;
|
---|
279 |
|
---|
280 | khotkeys)
|
---|
281 | sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
|
---|
282 | ;;
|
---|
283 |
|
---|
284 | plasma-desktop)
|
---|
285 | sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
|
---|
286 | ;;
|
---|
287 | esac
|
---|
288 | -->
|
---|
289 | mkdir build
|
---|
290 | cd build
|
---|
291 |
|
---|
292 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
293 | -DCMAKE_BUILD_TYPE=Release \
|
---|
294 | -DBUILD_TESTING=OFF \
|
---|
295 | -Wno-dev .. &&
|
---|
296 |
|
---|
297 | make
|
---|
298 | as_root make install
|
---|
299 | popd
|
---|
300 |
|
---|
301 | <!-- some packages end up with files owned by root in $packagedir,
|
---|
302 | so use as_root for removing -->
|
---|
303 | as_root rm -rf $packagedir
|
---|
304 | as_root /sbin/ldconfig
|
---|
305 |
|
---|
306 | done < plasma-&plasma5-version;.md5
|
---|
307 |
|
---|
308 | exit</userinput></screen>
|
---|
309 |
|
---|
310 | <para>
|
---|
311 | If you did not set <envar>$KF5_PREFIX</envar> to
|
---|
312 | <filename>/usr</filename>, create symlinks to allow display managers to
|
---|
313 | find <application>Plasma</application>:
|
---|
314 | </para>
|
---|
315 |
|
---|
316 | <screen><userinput>as_root install -dvm 755 /usr/share/xsessions &&
|
---|
317 | cd /usr/share/xsessions/ &&
|
---|
318 | [ -e plasma.desktop ] ||
|
---|
319 | as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop &&
|
---|
320 | as_root install -dvm 755 /usr/share/wayland-sessions &&
|
---|
321 | cd /usr/share/wayland-sessions/ &&
|
---|
322 | [ -e plasmawayland.desktop ] ||
|
---|
323 | as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
|
---|
324 | cd $KF5_PREFIX/share/plasma/plasmoids
|
---|
325 |
|
---|
326 | for j in $(find -name \*.js); do
|
---|
327 | as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
|
---|
328 | done--></userinput></screen>
|
---|
329 |
|
---|
330 | <para revision="sysv">
|
---|
331 | Useless systemd units have been installed in
|
---|
332 | <filename class="directory">$KF5_PREFIX/lib</filename>. Remove
|
---|
333 | them now (as <systemitem class="username">root</systemitem>):
|
---|
334 | </para>
|
---|
335 |
|
---|
336 | <screen role="root"
|
---|
337 | revision="sysv"><userinput>rm -rf $KF5_PREFIX/lib/systemd</userinput></screen>
|
---|
338 |
|
---|
339 | </sect2>
|
---|
340 | <!--
|
---|
341 | <sect2 role="commands">
|
---|
342 | <title>Command Explanations</title>
|
---|
343 |
|
---|
344 | <para>
|
---|
345 | <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
|
---|
346 | Create symbolic links so qml files can find needed javascript modules.
|
---|
347 | </para>
|
---|
348 |
|
---|
349 | </sect2>
|
---|
350 | -->
|
---|
351 | <sect2 role="configuration">
|
---|
352 | <title>Configuring Plasma</title>
|
---|
353 |
|
---|
354 | <sect3>
|
---|
355 | <title>Linux PAM Configuration</title>
|
---|
356 |
|
---|
357 | <para>
|
---|
358 | If you built Plasma with the recommended <application>Linux
|
---|
359 | PAM</application> support, create necessary configuration files by
|
---|
360 | running the following commands as the <systemitem
|
---|
361 | class="username">root</systemitem> user:
|
---|
362 | </para>
|
---|
363 |
|
---|
364 | <screen role="root"><userinput>cat > /etc/pam.d/kde << "EOF"
|
---|
365 | <literal># Begin /etc/pam.d/kde
|
---|
366 |
|
---|
367 | auth requisite pam_nologin.so
|
---|
368 | auth required pam_env.so
|
---|
369 |
|
---|
370 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
371 | auth include system-auth
|
---|
372 |
|
---|
373 | account include system-account
|
---|
374 | password include system-password
|
---|
375 | session include system-session
|
---|
376 |
|
---|
377 | # End /etc/pam.d/kde</literal>
|
---|
378 | EOF
|
---|
379 |
|
---|
380 | cat > /etc/pam.d/kde-np << "EOF"
|
---|
381 | <literal># Begin /etc/pam.d/kde-np
|
---|
382 |
|
---|
383 | auth requisite pam_nologin.so
|
---|
384 | auth required pam_env.so
|
---|
385 |
|
---|
386 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
387 | auth required pam_permit.so
|
---|
388 |
|
---|
389 | account include system-account
|
---|
390 | password include system-password
|
---|
391 | session include system-session
|
---|
392 |
|
---|
393 | # End /etc/pam.d/kde-np</literal>
|
---|
394 | EOF
|
---|
395 |
|
---|
396 | cat > /etc/pam.d/kscreensaver << "EOF"
|
---|
397 | <literal># Begin /etc/pam.d/kscreensaver
|
---|
398 |
|
---|
399 | auth include system-auth
|
---|
400 | account include system-account
|
---|
401 |
|
---|
402 | # End /etc/pam.d/kscreensaver</literal>
|
---|
403 | EOF</userinput></screen>
|
---|
404 | </sect3>
|
---|
405 | </sect2>
|
---|
406 |
|
---|
407 | <sect2 role="starting">
|
---|
408 | <title>Starting Plasma5</title>
|
---|
409 |
|
---|
410 | <para revision="sysv">
|
---|
411 | You can start <application>Plasma5</application> from runlevel 3, using
|
---|
412 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
413 | such as <xref linkend="lightdm"/>.
|
---|
414 | </para>
|
---|
415 |
|
---|
416 | <para revision="systemd">
|
---|
417 | You can start <application>Plasma5</application> from a TTY, using
|
---|
418 | <xref linkend="xinit"/><!--, or from a graphical display manager, such as
|
---|
419 | <xref linkend="sddm"/>-->.
|
---|
420 | </para>
|
---|
421 |
|
---|
422 | <para>
|
---|
423 | To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
|
---|
424 | run the following commands:
|
---|
425 | </para>
|
---|
426 |
|
---|
427 | <screen><userinput>cat > ~/.xinitrc << "EOF"
|
---|
428 | <literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startplasma-x11</literal>
|
---|
429 | EOF
|
---|
430 |
|
---|
431 | startx</userinput></screen>
|
---|
432 |
|
---|
433 | <para>
|
---|
434 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
435 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
436 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
437 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
438 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
439 | <command>startx</command> was executed will display many messages,
|
---|
440 | including X starting messages, applications automatically started with
|
---|
441 | the session, and eventually, some warning and error messages. You may
|
---|
442 | prefer to redirect those messages to a log file, which not only will keep
|
---|
443 | the initial vt uncluttered, but can also be used for debugging purposes. This
|
---|
444 | can be done starting X with:
|
---|
445 | </para>
|
---|
446 |
|
---|
447 | <screen><userinput>startx &> ~/x-session-errors</userinput></screen>
|
---|
448 |
|
---|
449 | <para>
|
---|
450 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
451 | where X was running. If you wish to see those messages, simultaneously
|
---|
452 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
453 | </para>
|
---|
454 | <!-- Now the entry is "plasma (X11)" for Xorg, so I guess this is
|
---|
455 | not needed anymore:
|
---|
456 | <para>
|
---|
457 | If you intend to start <application>Plasma</application> using a
|
---|
458 | display manager such as <xref linkend="lightdm"/>, there will be two entries
|
---|
459 | for <application>Plasma</application>, one for use with
|
---|
460 | <application>Xorg</application>, and another for
|
---|
461 | <application>Wayland</application>. Modify the
|
---|
462 | <application>Xorg</application> entry with the following command, as the
|
---|
463 | <systemitem class="username">root</systemitem> user, so that you can
|
---|
464 | differentiate between the two:</para>
|
---|
465 |
|
---|
466 | <screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
|
---|
467 | -->
|
---|
468 |
|
---|
469 | </sect2>
|
---|
470 |
|
---|
471 | <sect2 role="content">
|
---|
472 | <title>Contents</title>
|
---|
473 |
|
---|
474 | <segmentedlist>
|
---|
475 | <segtitle>Installed Programs</segtitle>
|
---|
476 | <segtitle>Installed Libraries</segtitle>
|
---|
477 | <segtitle>Installed Directories</segtitle>
|
---|
478 |
|
---|
479 | <seglistitem>
|
---|
480 | <seg>
|
---|
481 | There are too many plasma programs (63 in /opt/kf5/bin) to list
|
---|
482 | separately here.
|
---|
483 | </seg>
|
---|
484 | <seg>
|
---|
485 | There are too many plasma libraries (40 in /opt/kf5/lib) to list
|
---|
486 | separately here.
|
---|
487 | </seg>
|
---|
488 | <seg>
|
---|
489 | There are too many plasma directories (over 1000 in /opt/kf5) to
|
---|
490 | list separately here.
|
---|
491 | </seg>
|
---|
492 | </seglistitem>
|
---|
493 | </segmentedlist>
|
---|
494 |
|
---|
495 | </sect2>
|
---|
496 |
|
---|
497 | </sect1>
|
---|