[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 |
|
---|
[c6a5c39] | 7 | <!ENTITY plasma5-download-http "http://download.kde.org/stable/plasma/&plasma5-version;">
|
---|
[153a5795] | 8 | <!ENTITY plasma5-download-ftp " ">
|
---|
| 9 | <!ENTITY plasma5-md5sum "See Below">
|
---|
[1d4ec9d] | 10 | <!ENTITY plasma5-size "98 MB">
|
---|
| 11 | <!ENTITY plasma5-buildsize "1.2 GB (294 MB installed)">
|
---|
[cfd5cb3] | 12 | <!ENTITY plasma5-time "20 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>
|
---|
| 19 | <othername>$LastChangedBy: bdubbs $</othername>
|
---|
| 20 | <date>$Date: 2015-09-24 16:44:04 -0500 (Thu, 24 Sep 2015) $</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Building Plasma 5</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="plasma5-build">
|
---|
[2630345] | 26 | <primary sortas="a-kde-plasma">KDE Plasma 5</primary>
|
---|
[153a5795] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <para>KDE Plasma 5 is a collection of packages based on top of KDE Frameworks
|
---|
[c9d977e8] | 30 | 5 and QML. They implement the KDE Display Environment (Plasma 5).</para>
|
---|
[366fbbb8] | 31 |
|
---|
[b93eccf0] | 32 | &lfs90_checked;
|
---|
[153a5795] | 33 |
|
---|
| 34 | <para>The instructions below build all of the Plasma 5 packages in one
|
---|
[f97d5f6] | 35 | step by using a bash script.</para>
|
---|
[153a5795] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&plasma5-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&plasma5-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &plasma5-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &plasma5-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &plasma5-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &plasma5-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 62 | <para role="required">
|
---|
[89f706b2] | 63 | <!--<xref linkend="fontforge"/>,-->
|
---|
[96f2797] | 64 | <xref linkend="GConf"/>,
|
---|
[f3429309] | 65 | <xref linkend="gtk2"/>,
|
---|
| 66 | <xref linkend="gtk3"/>,
|
---|
[f97d5f6] | 67 | <xref linkend="kf5-frameworks"/>,
|
---|
[366fbbb8] | 68 | <xref linkend="libpwquality"/>,
|
---|
[1c8d0ff] | 69 | <xref linkend="libxkbcommon"/>,
|
---|
[366fbbb8] | 70 | <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
|
---|
[f3429309] | 71 | <xref linkend="NetworkManager"/>,
|
---|
[1f21b9c] | 72 | <xref linkend="pipewire"/>,
|
---|
[f3429309] | 73 | <xref linkend="pulseaudio"/>,
|
---|
[b7a66395] | 74 | <xref linkend="qca"/>,
|
---|
[95965b6] | 75 | <xref linkend="sassc"/>,
|
---|
[f3429309] | 76 | <xref linkend="taglib"/>, and
|
---|
[1c8d0ff] | 77 | <xref linkend="xcb-util-cursor"/>
|
---|
[153a5795] | 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 81 | <para role="recommended">
|
---|
[72b8751] | 82 | <xref linkend="fftw"/>,
|
---|
| 83 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
[f3429309] | 84 | <xref linkend="libdbusmenu-qt"/>,
|
---|
| 85 | <xref linkend="libcanberra"/>,
|
---|
| 86 | <xref linkend="libinput"/>,
|
---|
[0779b94] | 87 | <xref linkend="linux-pam"/>,
|
---|
[f3429309] | 88 | <xref linkend="lm_sensors"/>,
|
---|
[88bb10f] | 89 | <xref linkend="oxygen-icons5"/>, and
|
---|
[0779b94] | 90 | <xref linkend="pciutils"/>
|
---|
[153a5795] | 91 | </para>
|
---|
| 92 |
|
---|
[0779b94] | 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[153a5795] | 94 | <para role="optional">
|
---|
[0779b94] | 95 | <xref linkend="glu"/>,
|
---|
[7b1bc743] | 96 | <xref linkend='ibus'/>,
|
---|
[0779b94] | 97 | <xref linkend="xorg-synaptics-driver"/>,
|
---|
[ce228c2] | 98 | <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
|
---|
| 99 | <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
|
---|
[ea529d1] | 100 | <ulink url="http://www.catb.org/gpsd/libgps.html">libgps</ulink>,
|
---|
[0779b94] | 101 | <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
|
---|
| 102 | <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
|
---|
| 103 | <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
|
---|
[ce228c2] | 104 | <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
|
---|
[ea529d1] | 105 | <ulink url="http://qalculate.github.io/">Qalculate</ulink>,
|
---|
[ce228c2] | 106 | <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
|
---|
| 107 | <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
|
---|
[4c3c7f43] | 108 | <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
|
---|
[153a5795] | 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para condition="html" role="usernotes">User Notes:
|
---|
| 112 | <ulink url="&blfs-wiki;/kf5"/></para>
|
---|
| 113 |
|
---|
| 114 | <sect2>
|
---|
[773b316] | 115 | <title>Downloading KDE Plasma5</title>
|
---|
[153a5795] | 116 |
|
---|
| 117 | <para>
|
---|
| 118 | The easiest way to get the KDE Plasma5 packages is to use a single
|
---|
| 119 | <command>wget</command> to fetch them all at once:
|
---|
| 120 | </para>
|
---|
[f3429309] | 121 |
|
---|
[153a5795] | 122 | <screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
|
---|
[a01d308] | 123 | wget -r -nH -nd -A '*.xz' -np $url</userinput>
|
---|
[153a5795] | 124 | <literal>
|
---|
[f3429309] | 125 | The options used here are:
|
---|
[153a5795] | 126 | -r recurse through child directories
|
---|
| 127 | -nH disable generation of host-prefixed directories
|
---|
[a01d308] | 128 | -nd do not create a hierarchy of directories
|
---|
[153a5795] | 129 | -A '*.xz' just get the *.xz files
|
---|
[10a9447] | 130 | -np don't get parent directories</literal></screen>
|
---|
[153a5795] | 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2>
|
---|
| 135 | <title>Setting Package Order</title>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | The order of building files is important due to internal dependencies.
|
---|
| 139 | Create the list of files in the proper order as follows:
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
[ed4a7a2] | 142 | <screen><userinput>cat > plasma-&plasma5-version;.md5 << "EOF"
|
---|
[1d4ec9d] | 143 | <literal>57d33092638b1671546f5aa58f62939a kdecoration-5.17.3.tar.xz
|
---|
| 144 | 131d445c156a425e4fd16a2c6e16e8f2 libkscreen-5.17.3.tar.xz
|
---|
| 145 | 8e287b24d6697ae7e75824ddaa0c2409 libksysguard-5.17.3.tar.xz
|
---|
| 146 | fde85cab245f8337767663430c4c48b0 breeze-5.17.3.tar.xz
|
---|
| 147 | d859abc935e4bae7c8556a7d0823c11c breeze-gtk-5.17.3.tar.xz
|
---|
| 148 | f7201f181c9fa8080205a571efd1ae1a kscreenlocker-5.17.3.tar.xz
|
---|
| 149 | ebb0a647b32cfc99db0fd41c418ee007 oxygen-5.17.3.tar.xz
|
---|
| 150 | 41fb0b9800fee5710c401836b9ce5a04 kinfocenter-5.17.3.tar.xz
|
---|
| 151 | 251ed74fff7b7bca46c4af973554bd1a ksysguard-5.17.3.tar.xz
|
---|
| 152 | a32ce47f33af05ddd29d55be9b4fab7c kwin-5.17.3.tar.xz
|
---|
| 153 | 90a8576c6d95d0e6f74213df041f1df1 plasma-workspace-5.17.3.tar.xz
|
---|
| 154 | ccd075deae5d603a78479f2fe64a6811 bluedevil-5.17.3.tar.xz
|
---|
| 155 | 937824ad2d27d49c31a6b302dbf016ba kde-gtk-config-5.17.3.tar.xz
|
---|
| 156 | 95027338f2c05183f3d4e51b5472dd6e khotkeys-5.17.3.tar.xz
|
---|
| 157 | 01004da1aad8cd6f927516ba320fcd49 kmenuedit-5.17.3.tar.xz
|
---|
| 158 | af1d6e15b12d2c6675037ea91650eb48 kscreen-5.17.3.tar.xz
|
---|
| 159 | 61c93e0714314bc5c9b9313d68eb979c kwallet-pam-5.17.3.tar.xz
|
---|
| 160 | f884e200e14299031f2948215cecf20d kwayland-integration-5.17.3.tar.xz
|
---|
| 161 | fd7a1ebb83b4318fa6475782011d4066 kwrited-5.17.3.tar.xz
|
---|
| 162 | 0a43963ab03fbac7472eb28dd897e627 milou-5.17.3.tar.xz
|
---|
| 163 | ad793139e22ecdfddb55897f7e1d9c59 plasma-nm-5.17.3.tar.xz
|
---|
| 164 | d97f0f8d87bf6113cc642b06ca254dfd plasma-pa-5.17.3.tar.xz
|
---|
| 165 | b7e1a3b3bcc10156eadb66114827f2cb plasma-workspace-wallpapers-5.17.3.tar.xz
|
---|
| 166 | 9d8f7f5dd2ac879ebdda237208698210 polkit-kde-agent-1-5.17.3.tar.xz
|
---|
| 167 | 9738628a1dc638abedcceb62f9ec18e4 powerdevil-5.17.3.tar.xz
|
---|
| 168 | bc459ace55e8700c83d4e41d9460965e plasma-desktop-5.17.3.tar.xz
|
---|
| 169 | 525de501b3f4f4bd3794229c31db56be kdeplasma-addons-5.17.3.tar.xz
|
---|
| 170 | c967101a7f7fb0aa9a3326852a39be1f kgamma5-5.17.3.tar.xz
|
---|
| 171 | 6dde0208679753dfbae2ca32c14a03a7 ksshaskpass-5.17.3.tar.xz
|
---|
| 172 | #13194ee111514f7806eae32385e343c2 plasma-sdk-5.17.3.tar.xz
|
---|
| 173 | b8f0915909f52fffa0122d0500c3b577 sddm-kcm-5.17.3.tar.xz
|
---|
| 174 | 4eade66f63f4cae1a6873543eebdca64 user-manager-5.17.3.tar.xz
|
---|
| 175 | eae7d894d0093610eadac232a7b2bf22 discover-5.17.3.tar.xz
|
---|
| 176 | #ab24a2b93148403f27ee2684d8a91bb7 breeze-grub-5.17.3.tar.xz
|
---|
| 177 | #7d99290a4168b0299b7ccd1ae450adca breeze-plymouth-5.17.3.tar.xz
|
---|
| 178 | 00b3dbeeb2002c5001cc80b0e23632ba kactivitymanagerd-5.17.3.tar.xz
|
---|
| 179 | 1268e0848969b20892e6e38d2299a774 plasma-integration-5.17.3.tar.xz
|
---|
| 180 | 3ec80d38a08d86a417c0cedeab1309d3 plasma-tests-5.17.3.tar.xz
|
---|
| 181 | 868c68f45337ae8a66a488d2f596cf01 plymouth-kcm-5.17.3.tar.xz
|
---|
| 182 | 7a5bc2995863afd2fa3629edc3fbdc74 xdg-desktop-portal-kde-5.17.3.tar.xz
|
---|
| 183 | fb7add39aef8dbb15e4b4cfb6dccae20 drkonqi-5.17.3.tar.xz
|
---|
| 184 | 03d4d20efeb96a2c2ec5e6b1d5e856e1 plasma-vault-5.17.3.tar.xz
|
---|
| 185 | 10181267dba716be0b79e238f6e741ef plasma-browser-integration-5.17.3.tar.xz
|
---|
| 186 | aa7f2afc78ddd303b550631c3fdcc907 kde-cli-tools-5.17.3.tar.xz
|
---|
| 187 | 459b1c66617e441f5002cad71a5d5b77 systemsettings-5.17.3.tar.xz
|
---|
| 188 | d85c6f197c7f13557819b91bd20fa99f plasma-thunderbolt-5.17.3.tar.xz</literal>
|
---|
[153a5795] | 189 | EOF</userinput></screen>
|
---|
| 190 |
|
---|
[a01d308] | 191 | <note><para>The breeze-grub, breeze-plymouth, and plymouth-kcm packages
|
---|
| 192 | above are all for customized support of <ulink
|
---|
[ce228c2] | 193 | url="https://www.freedesktop.org/wiki/Software/Plymouth/">Plymouth</ulink>
|
---|
| 194 | which is designed to be run within an initial ram disk during boot (see
|
---|
[3011abe] | 195 | <xref linkend="initramfs"/>). The plasma-sdk package is optional and used
|
---|
[dd8ae08] | 196 | for software development.</para></note>
|
---|
[ce228c2] | 197 |
|
---|
[153a5795] | 198 | </sect2>
|
---|
| 199 |
|
---|
| 200 | <sect2 role="installation">
|
---|
| 201 | <title>Installation of Plasma5</title>
|
---|
| 202 |
|
---|
| 203 | &as_root;
|
---|
| 204 |
|
---|
| 205 | <para>
|
---|
| 206 | First, start a subshell that will exit on error:
|
---|
| 207 | </para>
|
---|
| 208 |
|
---|
| 209 | <screen><userinput>bash -e</userinput></screen>
|
---|
| 210 |
|
---|
| 211 | <para>
|
---|
| 212 | Install all of the packages by running the following
|
---|
| 213 | commands:
|
---|
| 214 | </para>
|
---|
| 215 |
|
---|
| 216 | <screen><userinput>while read -r line; do
|
---|
| 217 |
|
---|
| 218 | # Get the file name, ignoring comments and blank lines
|
---|
| 219 | if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
|
---|
| 220 | file=$(echo $line | cut -d" " -f2)
|
---|
[f3429309] | 221 |
|
---|
[153a5795] | 222 | pkg=$(echo $file|sed 's|^.*/||') # Remove directory
|
---|
| 223 | packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
|
---|
| 224 |
|
---|
| 225 | tar -xf $file
|
---|
| 226 | pushd $packagedir
|
---|
| 227 |
|
---|
[4e0a40f] | 228 | # Fix some build issues when generating some configuration files
|
---|
[cfd5cb3] | 229 | case $name in
|
---|
| 230 | plasma-workspace)
|
---|
| 231 | sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
|
---|
| 232 | ;;
|
---|
| 233 |
|
---|
| 234 | khotkeys)
|
---|
| 235 | sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
|
---|
| 236 | ;;
|
---|
| 237 |
|
---|
| 238 | plasma-desktop)
|
---|
| 239 | sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
|
---|
| 240 | ;;
|
---|
| 241 | esac
|
---|
| 242 |
|
---|
[69a9de5] | 243 | mkdir build
|
---|
| 244 | cd build
|
---|
[153a5795] | 245 |
|
---|
[1c8d0ff] | 246 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
| 247 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 248 | -DBUILD_TESTING=OFF \
|
---|
[69a9de5] | 249 | -Wno-dev .. &&
|
---|
[153a5795] | 250 |
|
---|
[69a9de5] | 251 | make
|
---|
| 252 | as_root make install
|
---|
| 253 | popd
|
---|
[153a5795] | 254 |
|
---|
[b44e7de2] | 255 | <!-- some packages end up with files owned by root in $packagedir,
|
---|
[8f445fdc] | 256 | so use as_root for removing -->
|
---|
| 257 | as_root rm -rf $packagedir
|
---|
[69a9de5] | 258 | as_root /sbin/ldconfig
|
---|
| 259 |
|
---|
[ed4a7a2] | 260 | done < plasma-&plasma5-version;.md5
|
---|
[153a5795] | 261 |
|
---|
[527f3db] | 262 | exit</userinput></screen>
|
---|
[1c8d0ff] | 263 |
|
---|
[527f3db] | 264 | <para>
|
---|
| 265 | If you did not set <envar>$KF5_PREFIX</envar> to
|
---|
| 266 | <filename>/usr</filename>, create symlinks to allow display managers to
|
---|
| 267 | find <application>Plasma</application>:
|
---|
| 268 | </para>
|
---|
| 269 |
|
---|
| 270 | <screen><userinput>as_root install -dvm 755 /usr/share/xsessions &&
|
---|
| 271 | cd /usr/share/xsessions/ &&
|
---|
| 272 | [ -e plasma.desktop ] ||
|
---|
| 273 | as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop &&
|
---|
| 274 | as_root install -dvm 755 /usr/share/wayland-sessions &&
|
---|
| 275 | cd /usr/share/wayland-sessions/ &&
|
---|
| 276 | [ -e plasma.desktop ] ||
|
---|
| 277 | as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasma.desktop<!--
|
---|
[1c8d0ff] | 278 | cd $KF5_PREFIX/share/plasma/plasmoids
|
---|
[153a5795] | 279 |
|
---|
[1c8d0ff] | 280 | for j in $(find -name \*.js); do
|
---|
[3d656d7] | 281 | as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
|
---|
[5ac58b54] | 282 | done--></userinput></screen>
|
---|
[153a5795] | 283 |
|
---|
| 284 | </sect2>
|
---|
[5ac58b54] | 285 | <!--
|
---|
[153a5795] | 286 | <sect2 role="commands">
|
---|
| 287 | <title>Command Explanations</title>
|
---|
| 288 |
|
---|
| 289 | <para>
|
---|
[1c8d0ff] | 290 | <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
|
---|
| 291 | Create symbolic links so qml files can find needed javascript modules.
|
---|
[153a5795] | 292 | </para>
|
---|
| 293 |
|
---|
| 294 | </sect2>
|
---|
[5ac58b54] | 295 | -->
|
---|
[3b0f105] | 296 | <sect2 role="configuration">
|
---|
| 297 | <title>Configuring Plasma</title>
|
---|
| 298 |
|
---|
| 299 | <sect3>
|
---|
| 300 | <title>Linux PAM Configuration</title>
|
---|
| 301 |
|
---|
| 302 | <para>
|
---|
| 303 | If you built Plasma with the recommended <application>Linux
|
---|
| 304 | PAM</application> support, create necessary configuration files by
|
---|
| 305 | running the following commands as the <systemitem
|
---|
| 306 | class="username">root</systemitem> user:
|
---|
| 307 | </para>
|
---|
| 308 |
|
---|
[941658d] | 309 | <screen role="root"><userinput>cat > /etc/pam.d/kde << "EOF"
|
---|
[51dfb3e] | 310 | <literal># Begin /etc/pam.d/kde
|
---|
[3b0f105] | 311 |
|
---|
| 312 | auth requisite pam_nologin.so
|
---|
| 313 | auth required pam_env.so
|
---|
| 314 |
|
---|
| 315 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 316 | auth include system-auth
|
---|
| 317 |
|
---|
| 318 | account include system-account
|
---|
| 319 | password include system-password
|
---|
| 320 | session include system-session
|
---|
| 321 |
|
---|
[51dfb3e] | 322 | # End /etc/pam.d/kde</literal>
|
---|
[3b0f105] | 323 | EOF
|
---|
| 324 |
|
---|
| 325 | cat > /etc/pam.d/kde-np << "EOF"
|
---|
[51dfb3e] | 326 | <literal># Begin /etc/pam.d/kde-np
|
---|
[3b0f105] | 327 |
|
---|
| 328 | auth requisite pam_nologin.so
|
---|
| 329 | auth required pam_env.so
|
---|
| 330 |
|
---|
| 331 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 332 | auth required pam_permit.so
|
---|
| 333 |
|
---|
| 334 | account include system-account
|
---|
| 335 | password include system-password
|
---|
| 336 | session include system-session
|
---|
| 337 |
|
---|
[51dfb3e] | 338 | # End /etc/pam.d/kde-np</literal>
|
---|
[3b0f105] | 339 | EOF
|
---|
| 340 |
|
---|
| 341 | cat > /etc/pam.d/kscreensaver << "EOF"
|
---|
[51dfb3e] | 342 | <literal># Begin /etc/pam.d/kscreensaver
|
---|
[3b0f105] | 343 |
|
---|
| 344 | auth include system-auth
|
---|
| 345 | account include system-account
|
---|
| 346 |
|
---|
[51dfb3e] | 347 | # End /etc/pam.d/kscreensaver</literal>
|
---|
[3b0f105] | 348 | EOF</userinput></screen>
|
---|
| 349 | </sect3>
|
---|
| 350 | </sect2>
|
---|
| 351 |
|
---|
[1c8d0ff] | 352 | <sect2 role="starting">
|
---|
| 353 | <title>Starting Plasma5</title>
|
---|
| 354 |
|
---|
[3f460da0] | 355 | <para revision="sysv">
|
---|
[1c8d0ff] | 356 | You can start <application>Plasma5</application> from runlevel 3, using
|
---|
| 357 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
[c225bfa] | 358 | such as <xref linkend="lightdm"/>.
|
---|
[1c8d0ff] | 359 | </para>
|
---|
| 360 |
|
---|
[3f460da0] | 361 | <para revision="systemd">
|
---|
| 362 | You can start <application>Plasma5</application> from a TTY, using
|
---|
[fd42347a] | 363 | <xref linkend="xinit"/><!--, or from a graphical display manager, such as
|
---|
| 364 | <xref linkend="sddm"/>-->.
|
---|
[3f460da0] | 365 | </para>
|
---|
| 366 |
|
---|
[1c8d0ff] | 367 | <para>
|
---|
[460cec4b] | 368 | To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
|
---|
[1c8d0ff] | 369 | run the following commands:
|
---|
| 370 | </para>
|
---|
| 371 |
|
---|
[51dfb3e] | 372 | <screen><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[3f460da0] | 373 | <literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
|
---|
| 374 | EOF
|
---|
| 375 |
|
---|
[1c8d0ff] | 376 | startx</userinput></screen>
|
---|
| 377 |
|
---|
| 378 | <para>
|
---|
| 379 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
| 380 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
| 381 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
| 382 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
| 383 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
| 384 | <command>startx</command> was executed will display many messages,
|
---|
| 385 | including X starting messages, applications automatically started with
|
---|
| 386 | the session, and eventually, some warning and error messages. You may
|
---|
| 387 | prefer to redirect those messages to a log file, which not only will keep
|
---|
| 388 | the initial vt uncluttered, but can also be used for debugging purposes. This
|
---|
| 389 | can be done starting X with:
|
---|
| 390 | </para>
|
---|
| 391 |
|
---|
[3011abe] | 392 | <screen><userinput>startx &> ~/x-session-errors</userinput></screen>
|
---|
[1c8d0ff] | 393 |
|
---|
| 394 | <para>
|
---|
| 395 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
| 396 | where X was running. If you wish to see those messages, simultaneously
|
---|
| 397 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
| 398 | </para>
|
---|
| 399 |
|
---|
[f29eb8a] | 400 | <para>If you intend to start <application>Plasma</application> using a
|
---|
[c225bfa] | 401 | display manager such as <xref linkend="lightdm"/>, there will be two entries
|
---|
[f29eb8a] | 402 | for <application>Plasma</application>, one for use with
|
---|
| 403 | <application>Xorg</application>, and another for
|
---|
| 404 | <application>Wayland</application>. Modify the
|
---|
| 405 | <application>Xorg</application> entry with the following command, as the
|
---|
| 406 | <systemitem class="username">root</systemitem> user, so that you can
|
---|
| 407 | differentiate between the two:</para>
|
---|
| 408 |
|
---|
[33c8b427] | 409 | <screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
|
---|
[f29eb8a] | 410 |
|
---|
| 411 |
|
---|
[1c8d0ff] | 412 | </sect2>
|
---|
| 413 |
|
---|
[153a5795] | 414 | <sect2 role="content">
|
---|
| 415 | <title>Contents</title>
|
---|
| 416 |
|
---|
| 417 | <segmentedlist>
|
---|
| 418 | <segtitle>Installed Programs</segtitle>
|
---|
| 419 | <segtitle>Installed Libraries</segtitle>
|
---|
| 420 | <segtitle>Installed Directories</segtitle>
|
---|
| 421 |
|
---|
| 422 | <seglistitem>
|
---|
| 423 | <seg>
|
---|
[83ef2a4] | 424 | There are too many plasma programs (50 in /opt/kf5/bin) to list
|
---|
| 425 | separately here.
|
---|
[153a5795] | 426 | </seg>
|
---|
| 427 | <seg>
|
---|
[83ef2a4] | 428 | There are too many plasma libraries (39 in /opt/kf5/lib) to list
|
---|
| 429 | separately here.
|
---|
[153a5795] | 430 | </seg>
|
---|
| 431 | <seg>
|
---|
[83ef2a4] | 432 | There are too many plasma directories (over 1000 in /opt/kf5) to
|
---|
| 433 | list separately here.
|
---|
[153a5795] | 434 | </seg>
|
---|
| 435 | </seglistitem>
|
---|
| 436 | </segmentedlist>
|
---|
| 437 |
|
---|
| 438 | </sect2>
|
---|
| 439 |
|
---|
| 440 | </sect1>
|
---|