[153a5795] | 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 |
|
---|
[c6b192c] | 7 | <!ENTITY plasma5-download-http "https://download.kde.org/stable/plasma/&plasma5-version;">
|
---|
[153a5795] | 8 | <!ENTITY plasma5-download-ftp " ">
|
---|
| 9 | <!ENTITY plasma5-md5sum "See Below">
|
---|
[dfdd97b] | 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)">
|
---|
[153a5795] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="plasma5-build" xreflabel="Plasma-&plasma5-version;">
|
---|
| 16 | <?dbhtml filename="plasma-all.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[fda29e4] | 19 | <date>$Date$</date>
|
---|
[153a5795] | 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Building Plasma 5</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="plasma5-build">
|
---|
[2630345] | 25 | <primary sortas="a-kde-plasma">KDE Plasma 5</primary>
|
---|
[153a5795] | 26 | </indexterm>
|
---|
| 27 |
|
---|
[1c8c15c] | 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>
|
---|
[366fbbb8] | 32 |
|
---|
[da54a62] | 33 | &lfs110a_checked;
|
---|
[153a5795] | 34 |
|
---|
[1c8c15c] | 35 | <para>
|
---|
| 36 | The instructions below build all of the Plasma 5 packages in one
|
---|
| 37 | step by using a bash script.
|
---|
| 38 | </para>
|
---|
[153a5795] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[1c8c15c] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&plasma5-download-http;"/>
|
---|
| 45 | </para>
|
---|
[153a5795] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[1c8c15c] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&plasma5-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[153a5795] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[1c8c15c] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &plasma5-md5sum;
|
---|
| 55 | </para>
|
---|
[153a5795] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[1c8c15c] | 58 | <para>
|
---|
| 59 | Download size: &plasma5-size;
|
---|
| 60 | </para>
|
---|
[153a5795] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[1c8c15c] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &plasma5-buildsize;
|
---|
| 65 | </para>
|
---|
[153a5795] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[1c8c15c] | 68 | <para>
|
---|
| 69 | Estimated build time: &plasma5-time;
|
---|
| 70 | </para>
|
---|
[153a5795] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
[89f706b2] | 78 | <!--<xref linkend="fontforge"/>,-->
|
---|
[41b0fe1] | 79 | <!-- does not seem to be needed as of 5.22.4 <xref linkend="GConf"/>, -->
|
---|
[f3429309] | 80 | <xref linkend="gtk2"/>,
|
---|
| 81 | <xref linkend="gtk3"/>,
|
---|
[f97d5f6] | 82 | <xref linkend="kf5-frameworks"/>,
|
---|
[366fbbb8] | 83 | <xref linkend="libpwquality"/>,
|
---|
[1c8d0ff] | 84 | <xref linkend="libxkbcommon"/>,
|
---|
[366fbbb8] | 85 | <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
|
---|
[f3429309] | 86 | <xref linkend="NetworkManager"/>,
|
---|
[1f21b9c] | 87 | <xref linkend="pipewire"/>,
|
---|
[f3429309] | 88 | <xref linkend="pulseaudio"/>,
|
---|
[b7a66395] | 89 | <xref linkend="qca"/>,
|
---|
[95965b6] | 90 | <xref linkend="sassc"/>,
|
---|
[f3429309] | 91 | <xref linkend="taglib"/>, and
|
---|
[1c8d0ff] | 92 | <xref linkend="xcb-util-cursor"/>
|
---|
[153a5795] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 96 | <para role="recommended">
|
---|
[72b8751] | 97 | <xref linkend="fftw"/>,
|
---|
| 98 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
[f3429309] | 99 | <xref linkend="libdbusmenu-qt"/>,
|
---|
| 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"/>,
|
---|
[88bb10f] | 105 | <xref linkend="oxygen-icons5"/>, and
|
---|
[0779b94] | 106 | <xref linkend="pciutils"/>
|
---|
[153a5795] | 107 | </para>
|
---|
| 108 |
|
---|
[b359b3e0] | 109 | <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>
|
---|
| 110 | <para role="recommended">
|
---|
[56c69c1e] | 111 | <xref role="runtime" linkend="accountsservice"/> and
|
---|
[b359b3e0] | 112 | <xref role="runtime" linkend="smartmontools"/>
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
[0779b94] | 115 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[153a5795] | 116 | <para role="optional">
|
---|
[0779b94] | 117 | <xref linkend="glu"/>,
|
---|
[7b1bc743] | 118 | <xref linkend='ibus'/>,
|
---|
[64ae3fb] | 119 | <xref linkend='qtwebengine'/>,
|
---|
[0779b94] | 120 | <xref linkend="xorg-synaptics-driver"/>,
|
---|
[8558044] | 121 | <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
|
---|
[ce228c2] | 122 | <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
|
---|
[3d9b01d] | 123 | <ulink url="https://gpsd.gitlab.io/gpsd/">libgps</ulink>,
|
---|
[0779b94] | 124 | <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
|
---|
[c6b192c] | 125 | <ulink url="https://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
|
---|
[0779b94] | 126 | <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
|
---|
[ce228c2] | 127 | <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
|
---|
[ea529d1] | 128 | <ulink url="http://qalculate.github.io/">Qalculate</ulink>,
|
---|
[8558044] | 129 | <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
|
---|
[ce228c2] | 130 | <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
|
---|
[4c3c7f43] | 131 | <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
|
---|
[153a5795] | 132 | </para>
|
---|
| 133 |
|
---|
[64ae3fb] | 134 | <note>
|
---|
| 135 | <para>
|
---|
| 136 | Only two plasma packages optionally use <xref linkend="qtwebengine"/>:
|
---|
[8558044] | 137 | libksysguard and kdeplasma-addons. If QtWebEngine is installed later,
|
---|
[64ae3fb] | 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 |
|
---|
[153a5795] | 143 | <para condition="html" role="usernotes">User Notes:
|
---|
| 144 | <ulink url="&blfs-wiki;/kf5"/></para>
|
---|
| 145 |
|
---|
| 146 | <sect2>
|
---|
[773b316] | 147 | <title>Downloading KDE Plasma5</title>
|
---|
[153a5795] | 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>
|
---|
[f3429309] | 153 |
|
---|
[c6b192c] | 154 | <screen><userinput>url=https://download.kde.org/stable/plasma/&plasma5-version;/
|
---|
[a01d308] | 155 | wget -r -nH -nd -A '*.xz' -np $url</userinput>
|
---|
[153a5795] | 156 | <literal>
|
---|
[f3429309] | 157 | The options used here are:
|
---|
[153a5795] | 158 | -r recurse through child directories
|
---|
| 159 | -nH disable generation of host-prefixed directories
|
---|
[a01d308] | 160 | -nd do not create a hierarchy of directories
|
---|
[153a5795] | 161 | -A '*.xz' just get the *.xz files
|
---|
[10a9447] | 162 | -np don't get parent directories</literal></screen>
|
---|
[153a5795] | 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 |
|
---|
[ed4a7a2] | 174 | <screen><userinput>cat > plasma-&plasma5-version;.md5 << "EOF"
|
---|
[dfdd97b] | 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>
|
---|
[153a5795] | 228 | EOF</userinput></screen>
|
---|
| 229 |
|
---|
[1c8c15c] | 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>
|
---|
[ce228c2] | 243 |
|
---|
[153a5795] | 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)
|
---|
[f3429309] | 267 |
|
---|
[153a5795] | 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
|
---|
[b359b3e0] | 273 | <!--
|
---|
[4e0a40f] | 274 | # Fix some build issues when generating some configuration files
|
---|
[cfd5cb3] | 275 | case $name in
|
---|
| 276 | plasma-workspace)
|
---|
| 277 | sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
|
---|
| 278 | ;;
|
---|
[8558044] | 279 |
|
---|
[cfd5cb3] | 280 | khotkeys)
|
---|
| 281 | sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
|
---|
| 282 | ;;
|
---|
[8558044] | 283 |
|
---|
[cfd5cb3] | 284 | plasma-desktop)
|
---|
| 285 | sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
|
---|
| 286 | ;;
|
---|
| 287 | esac
|
---|
[b359b3e0] | 288 | -->
|
---|
[69a9de5] | 289 | mkdir build
|
---|
| 290 | cd build
|
---|
[153a5795] | 291 |
|
---|
[1c8d0ff] | 292 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
| 293 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 294 | -DBUILD_TESTING=OFF \
|
---|
[69a9de5] | 295 | -Wno-dev .. &&
|
---|
[153a5795] | 296 |
|
---|
[69a9de5] | 297 | make
|
---|
| 298 | as_root make install
|
---|
| 299 | popd
|
---|
[153a5795] | 300 |
|
---|
[b44e7de2] | 301 | <!-- some packages end up with files owned by root in $packagedir,
|
---|
[8f445fdc] | 302 | so use as_root for removing -->
|
---|
| 303 | as_root rm -rf $packagedir
|
---|
[69a9de5] | 304 | as_root /sbin/ldconfig
|
---|
| 305 |
|
---|
[ed4a7a2] | 306 | done < plasma-&plasma5-version;.md5
|
---|
[153a5795] | 307 |
|
---|
[527f3db] | 308 | exit</userinput></screen>
|
---|
[1c8d0ff] | 309 |
|
---|
[527f3db] | 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/ &&
|
---|
[4969ec3c] | 322 | [ -e plasmawayland.desktop ] ||
|
---|
| 323 | as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
|
---|
[1c8d0ff] | 324 | cd $KF5_PREFIX/share/plasma/plasmoids
|
---|
[153a5795] | 325 |
|
---|
[1c8d0ff] | 326 | for j in $(find -name \*.js); do
|
---|
[3d656d7] | 327 | as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
|
---|
[5ac58b54] | 328 | done--></userinput></screen>
|
---|
[153a5795] | 329 |
|
---|
[2e29bba] | 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 |
|
---|
[153a5795] | 339 | </sect2>
|
---|
[5ac58b54] | 340 | <!--
|
---|
[153a5795] | 341 | <sect2 role="commands">
|
---|
| 342 | <title>Command Explanations</title>
|
---|
| 343 |
|
---|
| 344 | <para>
|
---|
[1c8d0ff] | 345 | <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
|
---|
| 346 | Create symbolic links so qml files can find needed javascript modules.
|
---|
[153a5795] | 347 | </para>
|
---|
| 348 |
|
---|
| 349 | </sect2>
|
---|
[5ac58b54] | 350 | -->
|
---|
[3b0f105] | 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 |
|
---|
[8558044] | 364 | <screen role="root"><userinput>cat > /etc/pam.d/kde << "EOF"
|
---|
[51dfb3e] | 365 | <literal># Begin /etc/pam.d/kde
|
---|
[3b0f105] | 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 |
|
---|
[51dfb3e] | 377 | # End /etc/pam.d/kde</literal>
|
---|
[3b0f105] | 378 | EOF
|
---|
| 379 |
|
---|
[8558044] | 380 | cat > /etc/pam.d/kde-np << "EOF"
|
---|
[51dfb3e] | 381 | <literal># Begin /etc/pam.d/kde-np
|
---|
[3b0f105] | 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 |
|
---|
[51dfb3e] | 393 | # End /etc/pam.d/kde-np</literal>
|
---|
[3b0f105] | 394 | EOF
|
---|
| 395 |
|
---|
| 396 | cat > /etc/pam.d/kscreensaver << "EOF"
|
---|
[51dfb3e] | 397 | <literal># Begin /etc/pam.d/kscreensaver
|
---|
[3b0f105] | 398 |
|
---|
| 399 | auth include system-auth
|
---|
| 400 | account include system-account
|
---|
| 401 |
|
---|
[51dfb3e] | 402 | # End /etc/pam.d/kscreensaver</literal>
|
---|
[3b0f105] | 403 | EOF</userinput></screen>
|
---|
| 404 | </sect3>
|
---|
| 405 | </sect2>
|
---|
| 406 |
|
---|
[1c8d0ff] | 407 | <sect2 role="starting">
|
---|
| 408 | <title>Starting Plasma5</title>
|
---|
| 409 |
|
---|
[3f460da0] | 410 | <para revision="sysv">
|
---|
[1c8d0ff] | 411 | You can start <application>Plasma5</application> from runlevel 3, using
|
---|
| 412 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
[c225bfa] | 413 | such as <xref linkend="lightdm"/>.
|
---|
[1c8d0ff] | 414 | </para>
|
---|
| 415 |
|
---|
[3f460da0] | 416 | <para revision="systemd">
|
---|
| 417 | You can start <application>Plasma5</application> from a TTY, using
|
---|
[fd42347a] | 418 | <xref linkend="xinit"/><!--, or from a graphical display manager, such as
|
---|
| 419 | <xref linkend="sddm"/>-->.
|
---|
[3f460da0] | 420 | </para>
|
---|
| 421 |
|
---|
[1c8d0ff] | 422 | <para>
|
---|
[460cec4b] | 423 | To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
|
---|
[1c8d0ff] | 424 | run the following commands:
|
---|
| 425 | </para>
|
---|
| 426 |
|
---|
[51dfb3e] | 427 | <screen><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[718be191] | 428 | <literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startplasma-x11</literal>
|
---|
[3f460da0] | 429 | EOF
|
---|
| 430 |
|
---|
[1c8d0ff] | 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 |
|
---|
[3011abe] | 447 | <screen><userinput>startx &> ~/x-session-errors</userinput></screen>
|
---|
[1c8d0ff] | 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>
|
---|
[7a763b49] | 454 | <!-- Now the entry is "plasma (X11)" for Xorg, so I guess this is
|
---|
| 455 | not needed anymore:
|
---|
[1c8c15c] | 456 | <para>
|
---|
| 457 | If you intend to start <application>Plasma</application> using a
|
---|
[c225bfa] | 458 | display manager such as <xref linkend="lightdm"/>, there will be two entries
|
---|
[f29eb8a] | 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 |
|
---|
[33c8b427] | 466 | <screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
|
---|
[7a763b49] | 467 | -->
|
---|
[f29eb8a] | 468 |
|
---|
[1c8d0ff] | 469 | </sect2>
|
---|
| 470 |
|
---|
[153a5795] | 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>
|
---|
[2e29bba] | 481 | There are too many plasma programs (63 in /opt/kf5/bin) to list
|
---|
[83ef2a4] | 482 | separately here.
|
---|
[153a5795] | 483 | </seg>
|
---|
| 484 | <seg>
|
---|
[b359b3e0] | 485 | There are too many plasma libraries (40 in /opt/kf5/lib) to list
|
---|
[83ef2a4] | 486 | separately here.
|
---|
[153a5795] | 487 | </seg>
|
---|
| 488 | <seg>
|
---|
[83ef2a4] | 489 | There are too many plasma directories (over 1000 in /opt/kf5) to
|
---|
| 490 | list separately here.
|
---|
[153a5795] | 491 | </seg>
|
---|
| 492 | </seglistitem>
|
---|
| 493 | </segmentedlist>
|
---|
| 494 |
|
---|
| 495 | </sect2>
|
---|
| 496 |
|
---|
| 497 | </sect1>
|
---|