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

12.2 gimp3 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since f94a518 was 91dfeba, checked in by Bruce Dubbs <bdubbs@…>, 4 months ago

Update to plasma-6.0.5.

  • 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">
[14e7e0b]75 <!--<xref linkend="gtk2"/>, Does not seem to be needed any more -->
[1ba03603]76 <xref linkend="boost"/>,
[f3429309]77 <xref linkend="gtk3"/>,
[5bfcd23e]78 <xref linkend="kf6-frameworks"/>,
[1ba03603]79 <xref linkend="kirigami-addons"/>,
80 <xref linkend="libdisplay-info"/>,
[366fbbb8]81 <xref linkend="libpwquality"/>,
[f36ab176]82 <xref linkend="libqalculate"/>,
[2d3951f]83 <xref linkend="libnl"/>,
[b785dce2]84 <xref linkend="libxcvt"/>,
[1c8d0ff]85 <xref linkend="libxkbcommon"/>,
[366fbbb8]86 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
[1f21b9c]87 <xref linkend="pipewire"/>,
[f3429309]88 <xref linkend="pulseaudio"/>,
[b7a66395]89 <xref linkend="qca"/>,
[1ba03603]90 <xref linkend="qcoro"/>,
[95965b6]91 <xref linkend="sassc"/>,
[2c54252b]92 <xref linkend="taglib"/>,
93 <xref linkend="xdotool"/>, and
94 <xref linkend="xorg-evdev-driver"/>
[153a5795]95 </para>
96
97 <bridgehead renderas="sect4">Recommended</bridgehead>
98 <para role="recommended">
[72b8751]99 <xref linkend="gsettings-desktop-schemas"/>,
[f3429309]100 <xref linkend="libcanberra"/>,
101 <xref linkend="libinput"/>,
[64ae3fb]102 <xref linkend="libpcap"/>,
[0779b94]103 <xref linkend="linux-pam"/>,
[f3429309]104 <xref linkend="lm_sensors"/>,
[0ba3295]105 <xref linkend="oxygen-icons"/>,
[2563594f]106 <xref linkend="pciutils"/>,
[21a65a3]107 <xref linkend="power-profiles-daemon"/>, and
[2563594f]108 the following Python modules:
109 <xref linkend="psutil"/>,
110 <xref linkend="pygdbmi"/>,
111 <xref linkend="sentry-sdk"/>,
112 <xref linkend="urllib3"/> (if they are not installed, they will be
113 downloaded and installed by the drkonqi build procedure)
[153a5795]114 </para>
115
[b359b3e0]116 <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>
117 <para role="recommended">
[f3a27771]118 <xref role="runtime" linkend="accountsservice"/>,
[2c54252b]119 <xref role="runtime" linkend="breeze-icons"/>,
[d93c6b0]120 <xref role="runtime" linkend="smartmontools"/>,
121 <xref role="runtime" linkend="xdg-desktop-portal"/>, and
[f3a27771]122 <xref role="runtime" linkend="xwayland"/>
[b359b3e0]123 </para>
124
[0779b94]125 <bridgehead renderas="sect4">Optional</bridgehead>
[153a5795]126 <para role="optional">
[fa559f1]127 <xref linkend="appstream"/> (build with -qt=true),
[0779b94]128 <xref linkend="glu"/>,
[7b1bc743]129 <xref linkend='ibus'/>,
[64ae3fb]130 <xref linkend='qtwebengine'/>,
[0779b94]131 <xref linkend="xorg-synaptics-driver"/>,
[ce228c2]132 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
[3d9b01d]133 <ulink url="https://gpsd.gitlab.io/gpsd/">libgps</ulink>,
[0779b94]134 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
[ce228c2]135 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
[8558044]136 <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
[ce228c2]137 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
[4c3c7f43]138 <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
[153a5795]139 </para>
140
141 <sect2>
[1ba03603]142 <title>Downloading KDE Plasma</title>
[153a5795]143
144 <para>
[1ba03603]145 The easiest way to get the KDE Plasma packages is to use a single
[153a5795]146 <command>wget</command> to fetch them all at once:
147 </para>
[f3429309]148
[6d8eeb9]149<screen><userinput>url=https://download.kde.org/stable/plasma/&plasma-version;/
[a01d308]150wget -r -nH -nd -A '*.xz' -np $url</userinput>
[153a5795]151<literal>
[f3429309]152The options used here are:
[153a5795]153 -r recurse through child directories
154 -nH disable generation of host-prefixed directories
[a01d308]155 -nd do not create a hierarchy of directories
[153a5795]156 -A '*.xz' just get the *.xz files
[10a9447]157 -np don't get parent directories</literal></screen>
[153a5795]158
159 </sect2>
160
161 <sect2>
162 <title>Setting Package Order</title>
163
164 <para>
165 The order of building files is important due to internal dependencies.
166 Create the list of files in the proper order as follows:
167 </para>
168
[6d8eeb9]169<screen><userinput>cat &gt; plasma-&plasma-version;.md5 &lt;&lt; "EOF"
[91dfeba]170<literal>fb602565447d49747a7dda2aa40c4d4f kdecoration-6.0.5.tar.xz
171130f277cd002be34fad025dc78222db9 libkscreen-6.0.5.tar.xz
172be08ef0ddb460588ab2ac89d9a537956 libksysguard-6.0.5.tar.xz
173c819c48d6ad6ea4c0ef25cb8bf7f9a57 breeze-6.0.5.tar.xz
174851d8b1ed70a24b83d1ee34cabffbd6c breeze-gtk-6.0.5.tar.xz
1757e901330dfc754378f1f88fae0a9941a layer-shell-qt-6.0.5.tar.xz
1764bced972e9db7eac8a0fa8ce22dcac6b plasma-activities-6.0.5.tar.xz
1778c4ce38506ec355a77d3c2cef61d6b5b libplasma-6.0.5.tar.xz
178ca79da353a27361afab76e6a6d09f364 kscreenlocker-6.0.5.tar.xz
179f97e0e893d49df544614350db71adbd4 kinfocenter-6.0.5.tar.xz
18026fe1aacf9d4d415d1853e113618b66b kglobalacceld-6.0.5.tar.xz
18183985c22ca89897cf17b803a9b50f15e kwayland-6.0.5.tar.xz
182889a0c874a93a9892c70a6cd9969abb7 kwin-6.0.5.tar.xz
183453a34c77f28ad6d8422d79b88bf7b9f plasma5support-6.0.5.tar.xz
1843dcad1de3a6866f615597576b305ebce plasma-activities-stats-6.0.5.tar.xz
18584caae7612832d683c373f5415788747 kpipewire-6.0.5.tar.xz
1867697ef8eedbc90c06e160507775f9e3b plasma-workspace-6.0.5.tar.xz
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>
243 One package, bluedevil-6.0.5, has been replaced by a 6.0.5.1 version.
244 </para>
245 </listitem>
246 <listitem>
247 <para>
248 The plasma-sdk package is optional and used for software development.
249 </para>
250 </listitem>
251 <listitem>
252 <para>
253 The discover package requires <xref linkend="appstream"/> to be built
254 with the -D qt=true switch.
255 </para>
256 </listitem>
257 <listitem>
258 <para>
259 The breeze-grub, breeze-plymouth, and plymouth-kcm packages above
260 are all for customized support of
261 <ulink url="https://www.freedesktop.org/wiki/Software/Plymouth/">
262 Plymouth</ulink> which is designed to be run within an initial
263 ram disk during boot (see <xref linkend="initramfs"/>).
264 </para>
265 </listitem>
266 <listitem>
267 <para>
268 The plasma-browser-integration package is only used by plasma-meta
269 which is not installed by BLFS.
270 </para>
271 </listitem>
272 <listitem>
273 <para>
274 The plasma-nano package is used for embedded systems.
275 </para>
276 </listitem>
277 <listitem>
278 <para>
279 The plasma-mobile package provides phone functionality for Plasma.
280 </para>
281 </listitem>
282 <listitem>
283 <para>
284 The flatpack-kcm package is for managing support of flatpack applications.
285 </para>
286 </listitem>
287 <listitem>
288 <para>
289 The wacomtablet and kwayland-integration applications require
290 plasma5 support.
291 </para>
292 </listitem>
293 </itemizedlist>
[1c8c15c]294 </para>
295 </note>
[ce228c2]296
[153a5795]297 </sect2>
298
299 <sect2 role="installation">
[6d8eeb9]300 <title>Installation of Plasma</title>
[153a5795]301
302 &as_root;
303
304 <para>
305 First, start a subshell that will exit on error:
306 </para>
307
308<screen><userinput>bash -e</userinput></screen>
309
310 <para>
311 Install all of the packages by running the following
312 commands:
313 </para>
314
315<screen><userinput>while read -r line; do
316
317 # Get the file name, ignoring comments and blank lines
318 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
319 file=$(echo $line | cut -d" " -f2)
[f3429309]320
[153a5795]321 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
322 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
323
324 tar -xf $file
325 pushd $packagedir
[b359b3e0]326<!--
[4e0a40f]327 # Fix some build issues when generating some configuration files
[cfd5cb3]328 case $name in
329 plasma-workspace)
330 sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
331 ;;
[8558044]332
[cfd5cb3]333 khotkeys)
334 sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
335 ;;
[8558044]336
[cfd5cb3]337 plasma-desktop)
338 sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
339 ;;
340 esac
[b359b3e0]341-->
[69a9de5]342 mkdir build
343 cd build
[153a5795]344
[b6f92d4]345 cmake -D CMAKE_INSTALL_PREFIX=$KF6_PREFIX \
[8c6c405d]346 -D CMAKE_INSTALL_LIBEXECDIR=libexec \
[b6f92d4]347 -D CMAKE_BUILD_TYPE=Release \
[792dbe76]348 -D BUILD_QT5=OFF \
[b6f92d4]349 -D BUILD_TESTING=OFF \
350 -W no-dev .. &amp;&amp;
[153a5795]351
[69a9de5]352 make
353 as_root make install
354 popd
[153a5795]355
[b44e7de2]356<!-- some packages end up with files owned by root in $packagedir,
[8f445fdc]357 so use as_root for removing -->
358 as_root rm -rf $packagedir
[69a9de5]359 as_root /sbin/ldconfig
360
[6d8eeb9]361done &lt; plasma-&plasma-version;.md5
[153a5795]362
[527f3db]363exit</userinput></screen>
[1c8d0ff]364
[527f3db]365 <para>
[6d8eeb9]366 If you did not set <envar>$KF6_PREFIX</envar> to
[527f3db]367 <filename>/usr</filename>, create symlinks to allow display managers to
[27bda4fc]368 find <application>Plasma</application>, and to allow the XDG Desktop
[6d8eeb9]369 Portal to be detected. As the &root; user:
[527f3db]370 </para>
371
[6d8eeb9]372<screen><userinput># Setup xsessions (X11 sessions)
373install -dvm 755 /usr/share/xsessions
374cd /usr/share/xsessions
375
376[ -e plasma.desktop ] ||
377ln -sfv $KF6_PREFIX/share/xsessions/plasmax11.desktop
378
379# Setup wayland-sessions
380install -dvm 755 /usr/share/wayland-sessions
381cd /usr/share/wayland-sessions
382
383[ -e plasmawayland.desktop ] ||
384ln -sfv $KF6_PREFIX/share/wayland-sessions/plasma.desktop
385<!-- work around a bug in xdg-desktop-portal-->
386# Setup xdg-desktop-portal
387install -dvm 755 /usr/share/xdg-desktop-portal
388cd /usr/share/xdg-desktop-portal
389
390[ -e kde-portals.conf ] ||
391ln -sfv $KF6_PREFIX/share/xdg-desktop-portal/kde-portals.conf
392
[1e4c908f]393# Setup kde portal
[6d8eeb9]394install -dvm 755 /usr/share/xdg-desktop-portal/portals
395cd /usr/share/xdg-desktop-portal/portals
396
397[ -e kde.portal ] ||
398ln -sfv $KF6_PREFIX/share/xdg-desktop-portal/portals/kde.portal</userinput></screen>
[153a5795]399
[2e29bba]400 <para revision="sysv">
401 Useless systemd units have been installed in
[6d8eeb9]402 <filename class="directory">$KF6_PREFIX/lib</filename>. Remove
[2e29bba]403 them now (as <systemitem class="username">root</systemitem>):
404 </para>
405
406<screen role="root"
[6d8eeb9]407 revision="sysv"><userinput>rm -rf $KF6_PREFIX/lib/systemd</userinput></screen>
[2e29bba]408
[153a5795]409 </sect2>
[5ac58b54]410<!--
[153a5795]411 <sect2 role="commands">
412 <title>Command Explanations</title>
413
414 <para>
[1c8d0ff]415 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
416 Create symbolic links so qml files can find needed javascript modules.
[153a5795]417 </para>
418
419 </sect2>
[5ac58b54]420-->
[3b0f105]421 <sect2 role="configuration">
422 <title>Configuring Plasma</title>
423
424 <sect3>
425 <title>Linux PAM Configuration</title>
426
427 <para>
428 If you built Plasma with the recommended <application>Linux
429 PAM</application> support, create necessary configuration files by
430 running the following commands as the <systemitem
431 class="username">root</systemitem> user:
432 </para>
433
[8558044]434<screen role="root"><userinput>cat &gt; /etc/pam.d/kde &lt;&lt; "EOF"
[51dfb3e]435<literal># Begin /etc/pam.d/kde
[3b0f105]436
437auth requisite pam_nologin.so
438auth required pam_env.so
439
440auth required pam_succeed_if.so uid &gt;= 1000 quiet
441auth include system-auth
442
443account include system-account
444password include system-password
445session include system-session
446
[51dfb3e]447# End /etc/pam.d/kde</literal>
[3b0f105]448EOF
449
[8558044]450cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
[51dfb3e]451<literal># Begin /etc/pam.d/kde-np
[3b0f105]452
453auth requisite pam_nologin.so
454auth required pam_env.so
455
456auth required pam_succeed_if.so uid &gt;= 1000 quiet
457auth required pam_permit.so
458
459account include system-account
460password include system-password
461session include system-session
462
[51dfb3e]463# End /etc/pam.d/kde-np</literal>
[3b0f105]464EOF
465
466cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
[51dfb3e]467<literal># Begin /etc/pam.d/kscreensaver
[3b0f105]468
469auth include system-auth
470account include system-account
471
[51dfb3e]472# End /etc/pam.d/kscreensaver</literal>
[3b0f105]473EOF</userinput></screen>
474 </sect3>
475 </sect2>
476
[1c8d0ff]477 <sect2 role="starting">
[6d8eeb9]478 <title>Starting Plasma</title>
[1c8d0ff]479
[3f460da0]480 <para revision="sysv">
[6d8eeb9]481 You can start <application>Plasma</application> from runlevel 3, using
[1c8d0ff]482 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
[c225bfa]483 such as <xref linkend="lightdm"/>.
[1c8d0ff]484 </para>
485
[3f460da0]486 <para revision="systemd">
[6d8eeb9]487 You can start <application>Plasma</application> from a TTY, using
[fd42347a]488 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
489 <xref linkend="sddm"/>-->.
[3f460da0]490 </para>
491
[1c8d0ff]492 <para>
[6d8eeb9]493 To start <application>Plasma</application> using <xref linkend="xinit"/>,
[1c8d0ff]494 run the following commands:
495 </para>
496
[665150a]497<screen role="nodump"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
[6d8eeb9]498<literal>dbus-launch --exit-with-x11 $KF6_PREFIX/bin/startplasma-x11</literal>
[3f460da0]499EOF
500
[1c8d0ff]501startx</userinput></screen>
502
503 <para>
504 The X session starts on the first unused virtual terminal, normally vt7.
505 You can switch to another vt<emphasis>n</emphasis> simultaneously
506 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
507 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
508 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
509 <command>startx</command> was executed will display many messages,
510 including X starting messages, applications automatically started with
511 the session, and eventually, some warning and error messages. You may
512 prefer to redirect those messages to a log file, which not only will keep
513 the initial vt uncluttered, but can also be used for debugging purposes. This
514 can be done starting X with:
515 </para>
516
[665150a]517 <screen role="nodump"><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
[1c8d0ff]518
519 <para>
520 When shutting down or rebooting, the shutdown messages appear on the vt
521 where X was running. If you wish to see those messages, simultaneously
522 press keys Alt-F7 (assuming that X was running on vt7).
523 </para>
[6d8eeb9]524<!-- Start plasma wayland with
525
526/opt/kf6/lib/libexec/plasma-dbus-run-session-if-needed /opt/kf6/bin/startplasma-wayland
527
528Investigate why it's in /opt/kf6/lib/libexec and not just in /opt/kf6/libexec
529
530
531Now the entry is "plasma (X11)" for Xorg, so I guess this is
[7a763b49]532 not needed anymore:
[1c8c15c]533 <para>
534 If you intend to start <application>Plasma</application> using a
[c225bfa]535 display manager such as <xref linkend="lightdm"/>, there will be two entries
[f29eb8a]536 for <application>Plasma</application>, one for use with
537 <application>Xorg</application>, and another for
538 <application>Wayland</application>. Modify the
539 <application>Xorg</application> entry with the following command, as the
540 <systemitem class="username">root</systemitem> user, so that you can
541 differentiate between the two:</para>
542
[33c8b427]543<screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
[7a763b49]544-->
[f29eb8a]545
[1c8d0ff]546 </sect2>
547
[153a5795]548 <sect2 role="content">
549 <title>Contents</title>
550
551 <segmentedlist>
552 <segtitle>Installed Programs</segtitle>
553 <segtitle>Installed Libraries</segtitle>
554 <segtitle>Installed Directories</segtitle>
555
556 <seglistitem>
557 <seg>
[6d8eeb9]558 There are too many plasma programs (over 50 in /opt/kf6/bin) to list
[83ef2a4]559 separately here.
[153a5795]560 </seg>
561 <seg>
[6d8eeb9]562 There are too many plasma libraries (over 250 in /opt/kf6/lib) to list
[83ef2a4]563 separately here.
[153a5795]564 </seg>
565 <seg>
[6d8eeb9]566 There are too many plasma directories (over 2700 in /opt/kf6) to
[83ef2a4]567 list separately here.
[153a5795]568 </seg>
569 </seglistitem>
570 </segmentedlist>
571
572 </sect2>
573
574</sect1>
Note: See TracBrowser for help on using the repository browser.