source: kde/plasma5/plasma-all.xml@ c2220818

12.2 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since c2220818 was c2c16bab, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Bring bimp3 branch up to date with trunk.

  • Property mode set to 100644
File size: 19.8 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[153a5795]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
[6d8eeb9]7 <!ENTITY plasma-download-http "https://download.kde.org/stable/plasma/&plasma-version;">
8 <!ENTITY plasma-download-ftp " ">
9 <!ENTITY plasma-md5sum "See Below">
[91dfeba]10 <!ENTITY plasma-size "230 MB">
11 <!ENTITY plasma-buildsize "1.8 GB (480 MB installed)">
12 <!ENTITY plasma-time "14 SBU (using parallelism=8)">
[153a5795]13]>
14
[6d8eeb9]15<sect1 id="plasma-build" xreflabel="Plasma-&plasma-version;">
[153a5795]16 <?dbhtml filename="plasma-all.html"?>
17
18
[6d8eeb9]19 <title>Building Plasma</title>
[153a5795]20
[6d8eeb9]21 <indexterm zone="plasma-build">
22 <primary sortas="a-kde-plasma">KDE Plasma</primary>
[153a5795]23 </indexterm>
24
[1c8c15c]25 <para>
[6d8eeb9]26 KDE Plasma is a collection of packages based on top of KDE Frameworks
27 and QML. They implement the KDE Display Environment (Plasma).
[1c8c15c]28 </para>
[366fbbb8]29
[d0b42e9]30 &lfs121_checked;
[153a5795]31
[1c8c15c]32 <para>
[6d8eeb9]33 The instructions below build all of the Plasma packages in one
[1c8c15c]34 step by using a bash script.
35 </para>
[153a5795]36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
[1c8c15c]40 <para>
[6d8eeb9]41 Download (HTTP): <ulink url="&plasma-download-http;"/>
[1c8c15c]42 </para>
[153a5795]43 </listitem>
44 <listitem>
[1c8c15c]45 <para>
[6d8eeb9]46 Download (FTP): <ulink url="&plasma-download-ftp;"/>
[1c8c15c]47 </para>
[153a5795]48 </listitem>
49 <listitem>
[1c8c15c]50 <para>
[6d8eeb9]51 Download MD5 sum: &plasma-md5sum;
[1c8c15c]52 </para>
[153a5795]53 </listitem>
54 <listitem>
[1c8c15c]55 <para>
[6d8eeb9]56 Download size: &plasma-size;
[1c8c15c]57 </para>
[153a5795]58 </listitem>
59 <listitem>
[1c8c15c]60 <para>
[6d8eeb9]61 Estimated disk space required: &plasma-buildsize;
[1c8c15c]62 </para>
[153a5795]63 </listitem>
64 <listitem>
[1c8c15c]65 <para>
[6d8eeb9]66 Estimated build time: &plasma-time;
[1c8c15c]67 </para>
[153a5795]68 </listitem>
69 </itemizedlist>
70
[6d8eeb9]71 <bridgehead renderas="sect3">Plasma Dependencies</bridgehead>
[153a5795]72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
[1ba03603]75 <xref linkend="boost"/>,
[f3429309]76 <xref linkend="gtk3"/>,
[5bfcd23e]77 <xref linkend="kf6-frameworks"/>,
[1ba03603]78 <xref linkend="kirigami-addons"/>,
79 <xref linkend="libdisplay-info"/>,
[366fbbb8]80 <xref linkend="libpwquality"/>,
[f36ab176]81 <xref linkend="libqalculate"/>,
[2d3951f]82 <xref linkend="libnl"/>,
[b785dce2]83 <xref linkend="libxcvt"/>,
[1c8d0ff]84 <xref linkend="libxkbcommon"/>,
[366fbbb8]85 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
[1f21b9c]86 <xref linkend="pipewire"/>,
[f3429309]87 <xref linkend="pulseaudio"/>,
[b7a66395]88 <xref linkend="qca"/>,
[1ba03603]89 <xref linkend="qcoro"/>,
[95965b6]90 <xref linkend="sassc"/>,
[2c54252b]91 <xref linkend="taglib"/>,
92 <xref linkend="xdotool"/>, and
93 <xref linkend="xorg-evdev-driver"/>
[153a5795]94 </para>
95
96 <bridgehead renderas="sect4">Recommended</bridgehead>
97 <para role="recommended">
[72b8751]98 <xref linkend="gsettings-desktop-schemas"/>,
[f3429309]99 <xref linkend="libcanberra"/>,
100 <xref linkend="libinput"/>,
[64ae3fb]101 <xref linkend="libpcap"/>,
[0779b94]102 <xref linkend="linux-pam"/>,
[f3429309]103 <xref linkend="lm_sensors"/>,
[0ba3295]104 <xref linkend="oxygen-icons"/>,
[2563594f]105 <xref linkend="pciutils"/>,
[21a65a3]106 <xref linkend="power-profiles-daemon"/>, and
[2563594f]107 the following Python modules:
108 <xref linkend="psutil"/>,
109 <xref linkend="pygdbmi"/>,
110 <xref linkend="sentry-sdk"/>,
111 <xref linkend="urllib3"/> (if they are not installed, they will be
112 downloaded and installed by the drkonqi build procedure)
[153a5795]113 </para>
114
[b359b3e0]115 <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>
116 <para role="recommended">
[f3a27771]117 <xref role="runtime" linkend="accountsservice"/>,
[2c54252b]118 <xref role="runtime" linkend="breeze-icons"/>,
[d93c6b0]119 <xref role="runtime" linkend="smartmontools"/>,
120 <xref role="runtime" linkend="xdg-desktop-portal"/>, and
[f3a27771]121 <xref role="runtime" linkend="xwayland"/>
[b359b3e0]122 </para>
123
[0779b94]124 <bridgehead renderas="sect4">Optional</bridgehead>
[153a5795]125 <para role="optional">
[fa559f1]126 <xref linkend="appstream"/> (build with -qt=true),
[0779b94]127 <xref linkend="glu"/>,
[7b1bc743]128 <xref linkend='ibus'/>,
[64ae3fb]129 <xref linkend='qtwebengine'/>,
[0779b94]130 <xref linkend="xorg-synaptics-driver"/>,
[ce228c2]131 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
[3d9b01d]132 <ulink url="https://gpsd.gitlab.io/gpsd/">libgps</ulink>,
[0779b94]133 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
[ce228c2]134 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
[8558044]135 <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
[ce228c2]136 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
[4c3c7f43]137 <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
[153a5795]138 </para>
139
140 <sect2>
[1ba03603]141 <title>Downloading KDE Plasma</title>
[153a5795]142
143 <para>
[1ba03603]144 The easiest way to get the KDE Plasma packages is to use a single
[153a5795]145 <command>wget</command> to fetch them all at once:
146 </para>
[f3429309]147
[6d8eeb9]148<screen><userinput>url=https://download.kde.org/stable/plasma/&plasma-version;/
[a01d308]149wget -r -nH -nd -A '*.xz' -np $url</userinput>
[153a5795]150<literal>
[f3429309]151The options used here are:
[153a5795]152 -r recurse through child directories
153 -nH disable generation of host-prefixed directories
[a01d308]154 -nd do not create a hierarchy of directories
[153a5795]155 -A '*.xz' just get the *.xz files
[10a9447]156 -np don't get parent directories</literal></screen>
[153a5795]157
158 </sect2>
159
160 <sect2>
161 <title>Setting Package Order</title>
162
163 <para>
164 The order of building files is important due to internal dependencies.
165 Create the list of files in the proper order as follows:
166 </para>
167
[6d8eeb9]168<screen><userinput>cat &gt; plasma-&plasma-version;.md5 &lt;&lt; "EOF"
[91dfeba]169<literal>fb602565447d49747a7dda2aa40c4d4f kdecoration-6.0.5.tar.xz
170130f277cd002be34fad025dc78222db9 libkscreen-6.0.5.tar.xz
171be08ef0ddb460588ab2ac89d9a537956 libksysguard-6.0.5.tar.xz
172c819c48d6ad6ea4c0ef25cb8bf7f9a57 breeze-6.0.5.tar.xz
173851d8b1ed70a24b83d1ee34cabffbd6c breeze-gtk-6.0.5.tar.xz
1747e901330dfc754378f1f88fae0a9941a layer-shell-qt-6.0.5.tar.xz
1754bced972e9db7eac8a0fa8ce22dcac6b plasma-activities-6.0.5.tar.xz
1768c4ce38506ec355a77d3c2cef61d6b5b libplasma-6.0.5.tar.xz
177ca79da353a27361afab76e6a6d09f364 kscreenlocker-6.0.5.tar.xz
178f97e0e893d49df544614350db71adbd4 kinfocenter-6.0.5.tar.xz
17926fe1aacf9d4d415d1853e113618b66b kglobalacceld-6.0.5.tar.xz
18083985c22ca89897cf17b803a9b50f15e kwayland-6.0.5.tar.xz
181889a0c874a93a9892c70a6cd9969abb7 kwin-6.0.5.tar.xz
182453a34c77f28ad6d8422d79b88bf7b9f plasma5support-6.0.5.tar.xz
1833dcad1de3a6866f615597576b305ebce plasma-activities-stats-6.0.5.tar.xz
18484caae7612832d683c373f5415788747 kpipewire-6.0.5.tar.xz
[fd059de]185#7697ef8eedbc90c06e160507775f9e3b plasma-workspace-6.0.5.tar.xz
186518d71251d583c3ad13803779f03c2ff plasma-workspace-6.0.5.1.tar.xz
[91dfeba]187325d6807259349e4a4a9e9740c752e62 plasma-disks-6.0.5.tar.xz
188327b7df00c4a2bed328348a843cd10f6 bluedevil-6.0.5.1.tar.xz
189#b7c69ea25e4e401b78aab4bd59488190 bluedevil-6.0.5.tar.xz
190ea1982dd90db2730b0f2c590aead7fce kde-gtk-config-6.0.5.tar.xz
1915cdef6d17824b2a9bfde05e217497a7b kmenuedit-6.0.5.tar.xz
192b5c9406a29aa68a3f6b1d4a48efa9f91 kscreen-6.0.5.tar.xz
193b0a25bc01b7f65e0207d5ebfc307ed8b kwallet-pam-6.0.5.tar.xz
19442290d2c2cf87fc1b835332414b9d047 kwrited-6.0.5.tar.xz
195cf120d99e7d14964fef5de4e1cfcb7a3 milou-6.0.5.tar.xz
196949b249d147e2b3213d7e4c1b5bb8590 plasma-nm-6.0.5.tar.xz
197e4274d2a91d96e3f0774aa94a57eba58 plasma-pa-6.0.5.tar.xz
198a6d4f30dbb3eaa9147cb5ccd788472d8 plasma-workspace-wallpapers-6.0.5.tar.xz
199fb2f392f7370bd665b918f10ec1fbe38 polkit-kde-agent-1-6.0.5.tar.xz
200deef232b4ceb90980818fa4358a37d52 powerdevil-6.0.5.tar.xz
2014ac4551e1afb524155a1c5fd1028158e plasma-desktop-6.0.5.tar.xz
20247460a8289c726a2a69c4511a3bdc007 kgamma-6.0.5.tar.xz
2032f52416fb211ab956d430759a864c382 ksshaskpass-6.0.5.tar.xz
204#6edf6bb59da445ff7868670503714ec7 plasma-sdk-6.0.5.tar.xz
2058852a3f7ee9cf2c1b2cdce4da79e1709 sddm-kcm-6.0.5.tar.xz
206#f84b8a4b729850cc05ef7e06f7526fec discover-6.0.5.tar.xz
207#6e17a1954b2a58f220036e630fd40f64 breeze-grub-6.0.5.tar.xz
208#387c3ff10618dcd37b5b4c1a42902c86 breeze-plymouth-6.0.5.tar.xz
2095456b489df70cd0729f105327f5f71ff kactivitymanagerd-6.0.5.tar.xz
2100af72c4d39d434137a5f36eb8a67efe3 plasma-integration-6.0.5.tar.xz
211#5dbfe960bf77156fb55e1a0134448655 plymouth-kcm-6.0.5.tar.xz
2123225b3c5d71e0d24c13392137a472be1 xdg-desktop-portal-kde-6.0.5.tar.xz
213f700792dae0709d39e0eff83127c2165 drkonqi-6.0.5.tar.xz
214bb84a93d616e451b24ed0b8fe3baf24d plasma-vault-6.0.5.tar.xz
215#0623a32f1d444dfa77c668e8f12fa329 plasma-browser-integration-6.0.5.tar.xz
216ef739ab228cb266108ccdc43f7ecb153 kde-cli-tools-6.0.5.tar.xz
217f56788b6b76f847df6463f4d5aaa4c49 systemsettings-6.0.5.tar.xz
21897f0fa5b27e91b5dc502e73fb96c616e plasma-thunderbolt-6.0.5.tar.xz
219#6bc6da7089cf4c526d0ed9744a9629d5 plasma-nano-6.0.5.tar.xz
220#a3588aad3c6c7baaa77f6343bfa9f734 plasma-mobile-6.0.5.tar.xz
221778a0e478764fa02fbadbc5a54087323 plasma-firewall-6.0.5.tar.xz
222ba5c4c7cb7ab13d33ff3b5b5b8cb8b9b plasma-systemmonitor-6.0.5.tar.xz
223f07d41d35c675e2c3a1fe1e51dbe7f75 qqc2-breeze-style-6.0.5.tar.xz
224771bd96d6818f05b5e22dc3a9c2f4871 ksystemstats-6.0.5.tar.xz
225c0ee6a9eff0c53ba7db72a2f7ea18944 oxygen-sounds-6.0.5.tar.xz
226f166678fa85a8d7fbdb04bac7e7efcb7 kdeplasma-addons-6.0.5.tar.xz
227#5727a82e55ba8ce755b4b12a17f39efe flatpak-kcm-6.0.5.tar.xz
228102cfff8c5dd75ffe6a607f97a905e4d plasma-welcome-6.0.5.tar.xz
229058f66a6f172200eb73ae0fc93efec75 ocean-sound-theme-6.0.5.tar.xz
230ddc3643fadbf754c2ef3181bfde93400 print-manager-6.0.5.tar.xz
231#0fc72159968efc1798af78716b42c2f9 wacomtablet-6.0.5.tar.xz
232#b5e7dc5cb908c0a8f8b95b4059152585 kwayland-integration-6.0.5.tar.xz</literal>
[153a5795]233EOF</userinput></screen>
234
[1c8c15c]235 <note>
[1ba03603]236 <title>About Commented Out Packages</title>
[1c8c15c]237 <para>
[91dfeba]238 In the above list, several files are commented out with a hash (#) character.
239
240 <itemizedlist spacing="compact">
241 <listitem>
242 <para>
[c77c90b]243 Two packages, bluedevil and plasma-workspace, have been replaced
244 by a 6.0.5.1 version.
[91dfeba]245 </para>
246 </listitem>
247 <listitem>
248 <para>
249 The plasma-sdk package is optional and used for software development.
250 </para>
251 </listitem>
252 <listitem>
253 <para>
254 The discover package requires <xref linkend="appstream"/> to be built
255 with the -D qt=true switch.
256 </para>
257 </listitem>
258 <listitem>
259 <para>
260 The breeze-grub, breeze-plymouth, and plymouth-kcm packages above
261 are all for customized support of
262 <ulink url="https://www.freedesktop.org/wiki/Software/Plymouth/">
263 Plymouth</ulink> which is designed to be run within an initial
264 ram disk during boot (see <xref linkend="initramfs"/>).
265 </para>
266 </listitem>
267 <listitem>
268 <para>
269 The plasma-browser-integration package is only used by plasma-meta
270 which is not installed by BLFS.
271 </para>
272 </listitem>
273 <listitem>
274 <para>
275 The plasma-nano package is used for embedded systems.
276 </para>
277 </listitem>
278 <listitem>
279 <para>
280 The plasma-mobile package provides phone functionality for Plasma.
281 </para>
282 </listitem>
283 <listitem>
284 <para>
[3d516cf]285 The flatpak-kcm package is for managing support of flatpak applications.
[91dfeba]286 </para>
287 </listitem>
288 <listitem>
289 <para>
290 The wacomtablet and kwayland-integration applications require
291 plasma5 support.
292 </para>
293 </listitem>
294 </itemizedlist>
[1c8c15c]295 </para>
296 </note>
[ce228c2]297
[153a5795]298 </sect2>
299
300 <sect2 role="installation">
[6d8eeb9]301 <title>Installation of Plasma</title>
[153a5795]302
303 &as_root;
304
305 <para>
306 First, start a subshell that will exit on error:
307 </para>
308
309<screen><userinput>bash -e</userinput></screen>
310
311 <para>
312 Install all of the packages by running the following
313 commands:
314 </para>
315
316<screen><userinput>while read -r line; do
317
318 # Get the file name, ignoring comments and blank lines
319 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
320 file=$(echo $line | cut -d" " -f2)
[f3429309]321
[153a5795]322 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
323 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
324
325 tar -xf $file
326 pushd $packagedir
[b359b3e0]327<!--
[4e0a40f]328 # Fix some build issues when generating some configuration files
[cfd5cb3]329 case $name in
330 plasma-workspace)
331 sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
332 ;;
[8558044]333
[cfd5cb3]334 khotkeys)
335 sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
336 ;;
[8558044]337
[cfd5cb3]338 plasma-desktop)
339 sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
340 ;;
341 esac
[b359b3e0]342-->
[69a9de5]343 mkdir build
344 cd build
[153a5795]345
[b6f92d4]346 cmake -D CMAKE_INSTALL_PREFIX=$KF6_PREFIX \
[8c6c405d]347 -D CMAKE_INSTALL_LIBEXECDIR=libexec \
[b6f92d4]348 -D CMAKE_BUILD_TYPE=Release \
[792dbe76]349 -D BUILD_QT5=OFF \
[b6f92d4]350 -D BUILD_TESTING=OFF \
351 -W no-dev .. &amp;&amp;
[153a5795]352
[69a9de5]353 make
354 as_root make install
355 popd
[153a5795]356
[b44e7de2]357<!-- some packages end up with files owned by root in $packagedir,
[8f445fdc]358 so use as_root for removing -->
359 as_root rm -rf $packagedir
[69a9de5]360 as_root /sbin/ldconfig
361
[6d8eeb9]362done &lt; plasma-&plasma-version;.md5
[153a5795]363
[527f3db]364exit</userinput></screen>
[1c8d0ff]365
[527f3db]366 <para>
[6d8eeb9]367 If you did not set <envar>$KF6_PREFIX</envar> to
[527f3db]368 <filename>/usr</filename>, create symlinks to allow display managers to
[27bda4fc]369 find <application>Plasma</application>, and to allow the XDG Desktop
[6d8eeb9]370 Portal to be detected. As the &root; user:
[527f3db]371 </para>
372
[6d8eeb9]373<screen><userinput># Setup xsessions (X11 sessions)
374install -dvm 755 /usr/share/xsessions
375cd /usr/share/xsessions
376
377[ -e plasma.desktop ] ||
378ln -sfv $KF6_PREFIX/share/xsessions/plasmax11.desktop
379
380# Setup wayland-sessions
381install -dvm 755 /usr/share/wayland-sessions
382cd /usr/share/wayland-sessions
383
384[ -e plasmawayland.desktop ] ||
385ln -sfv $KF6_PREFIX/share/wayland-sessions/plasma.desktop
386<!-- work around a bug in xdg-desktop-portal-->
387# Setup xdg-desktop-portal
388install -dvm 755 /usr/share/xdg-desktop-portal
389cd /usr/share/xdg-desktop-portal
390
391[ -e kde-portals.conf ] ||
392ln -sfv $KF6_PREFIX/share/xdg-desktop-portal/kde-portals.conf
393
[1e4c908f]394# Setup kde portal
[6d8eeb9]395install -dvm 755 /usr/share/xdg-desktop-portal/portals
396cd /usr/share/xdg-desktop-portal/portals
397
398[ -e kde.portal ] ||
399ln -sfv $KF6_PREFIX/share/xdg-desktop-portal/portals/kde.portal</userinput></screen>
[153a5795]400
[2e29bba]401 <para revision="sysv">
402 Useless systemd units have been installed in
[6d8eeb9]403 <filename class="directory">$KF6_PREFIX/lib</filename>. Remove
[2e29bba]404 them now (as <systemitem class="username">root</systemitem>):
405 </para>
406
407<screen role="root"
[6d8eeb9]408 revision="sysv"><userinput>rm -rf $KF6_PREFIX/lib/systemd</userinput></screen>
[2e29bba]409
[153a5795]410 </sect2>
[5ac58b54]411<!--
[153a5795]412 <sect2 role="commands">
413 <title>Command Explanations</title>
414
415 <para>
[1c8d0ff]416 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
417 Create symbolic links so qml files can find needed javascript modules.
[153a5795]418 </para>
419
420 </sect2>
[5ac58b54]421-->
[3b0f105]422 <sect2 role="configuration">
423 <title>Configuring Plasma</title>
424
425 <sect3>
426 <title>Linux PAM Configuration</title>
427
428 <para>
429 If you built Plasma with the recommended <application>Linux
430 PAM</application> support, create necessary configuration files by
431 running the following commands as the <systemitem
432 class="username">root</systemitem> user:
433 </para>
434
[8558044]435<screen role="root"><userinput>cat &gt; /etc/pam.d/kde &lt;&lt; "EOF"
[51dfb3e]436<literal># Begin /etc/pam.d/kde
[3b0f105]437
438auth requisite pam_nologin.so
439auth required pam_env.so
440
441auth required pam_succeed_if.so uid &gt;= 1000 quiet
442auth include system-auth
443
444account include system-account
445password include system-password
446session include system-session
447
[51dfb3e]448# End /etc/pam.d/kde</literal>
[3b0f105]449EOF
450
[8558044]451cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
[51dfb3e]452<literal># Begin /etc/pam.d/kde-np
[3b0f105]453
454auth requisite pam_nologin.so
455auth required pam_env.so
456
457auth required pam_succeed_if.so uid &gt;= 1000 quiet
458auth required pam_permit.so
459
460account include system-account
461password include system-password
462session include system-session
463
[51dfb3e]464# End /etc/pam.d/kde-np</literal>
[3b0f105]465EOF
466
467cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
[51dfb3e]468<literal># Begin /etc/pam.d/kscreensaver
[3b0f105]469
470auth include system-auth
471account include system-account
472
[51dfb3e]473# End /etc/pam.d/kscreensaver</literal>
[3b0f105]474EOF</userinput></screen>
475 </sect3>
476 </sect2>
477
[1c8d0ff]478 <sect2 role="starting">
[6d8eeb9]479 <title>Starting Plasma</title>
[1c8d0ff]480
[3f460da0]481 <para revision="sysv">
[6d8eeb9]482 You can start <application>Plasma</application> from runlevel 3, using
[1c8d0ff]483 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
[c225bfa]484 such as <xref linkend="lightdm"/>.
[1c8d0ff]485 </para>
486
[3f460da0]487 <para revision="systemd">
[6d8eeb9]488 You can start <application>Plasma</application> from a TTY, using
[fd42347a]489 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
490 <xref linkend="sddm"/>-->.
[3f460da0]491 </para>
492
[1c8d0ff]493 <para>
[6d8eeb9]494 To start <application>Plasma</application> using <xref linkend="xinit"/>,
[1c8d0ff]495 run the following commands:
496 </para>
497
[665150a]498<screen role="nodump"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
[6d8eeb9]499<literal>dbus-launch --exit-with-x11 $KF6_PREFIX/bin/startplasma-x11</literal>
[3f460da0]500EOF
501
[1c8d0ff]502startx</userinput></screen>
503
504 <para>
505 The X session starts on the first unused virtual terminal, normally vt7.
506 You can switch to another vt<emphasis>n</emphasis> simultaneously
507 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
508 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
509 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
510 <command>startx</command> was executed will display many messages,
511 including X starting messages, applications automatically started with
512 the session, and eventually, some warning and error messages. You may
513 prefer to redirect those messages to a log file, which not only will keep
514 the initial vt uncluttered, but can also be used for debugging purposes. This
515 can be done starting X with:
516 </para>
517
[665150a]518 <screen role="nodump"><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
[1c8d0ff]519
520 <para>
521 When shutting down or rebooting, the shutdown messages appear on the vt
522 where X was running. If you wish to see those messages, simultaneously
523 press keys Alt-F7 (assuming that X was running on vt7).
524 </para>
[6d8eeb9]525<!-- Start plasma wayland with
526
527/opt/kf6/lib/libexec/plasma-dbus-run-session-if-needed /opt/kf6/bin/startplasma-wayland
528
529Investigate why it's in /opt/kf6/lib/libexec and not just in /opt/kf6/libexec
530
531
532Now the entry is "plasma (X11)" for Xorg, so I guess this is
[7a763b49]533 not needed anymore:
[1c8c15c]534 <para>
535 If you intend to start <application>Plasma</application> using a
[c225bfa]536 display manager such as <xref linkend="lightdm"/>, there will be two entries
[f29eb8a]537 for <application>Plasma</application>, one for use with
538 <application>Xorg</application>, and another for
539 <application>Wayland</application>. Modify the
540 <application>Xorg</application> entry with the following command, as the
541 <systemitem class="username">root</systemitem> user, so that you can
542 differentiate between the two:</para>
543
[33c8b427]544<screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
[7a763b49]545-->
[f29eb8a]546
[1c8d0ff]547 </sect2>
548
[153a5795]549 <sect2 role="content">
550 <title>Contents</title>
551
552 <segmentedlist>
553 <segtitle>Installed Programs</segtitle>
554 <segtitle>Installed Libraries</segtitle>
555 <segtitle>Installed Directories</segtitle>
556
557 <seglistitem>
558 <seg>
[6d8eeb9]559 There are too many plasma programs (over 50 in /opt/kf6/bin) to list
[83ef2a4]560 separately here.
[153a5795]561 </seg>
562 <seg>
[6d8eeb9]563 There are too many plasma libraries (over 250 in /opt/kf6/lib) to list
[83ef2a4]564 separately here.
[153a5795]565 </seg>
566 <seg>
[6d8eeb9]567 There are too many plasma directories (over 2700 in /opt/kf6) to
[83ef2a4]568 list separately here.
[153a5795]569 </seg>
570 </seglistitem>
571 </segmentedlist>
572
573 </sect2>
574
575</sect1>
Note: See TracBrowser for help on using the repository browser.