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