[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"
|
---|
[9db9de94] | 143 | <literal>65ad6be44bae48a8b95282f38a172bd5 kdecoration-5.18.0.tar.xz
|
---|
| 144 | 352ee02e39de0bb991fde185d910dc2b libkscreen-5.18.0.tar.xz
|
---|
| 145 | 6cd8353bb8ee8017eb9cec1d9784354e libksysguard-5.18.0.tar.xz
|
---|
| 146 | 4bfa3626154af80e53fa6df31088fa5d breeze-5.18.0.tar.xz
|
---|
| 147 | 6f4e972f00edbcc3078646066546fd1d breeze-gtk-5.18.0.tar.xz
|
---|
| 148 | 44ced6d2ea583ecdf39eb12121f797ea kscreenlocker-5.18.0.tar.xz
|
---|
| 149 | 8ad9334b3b7cdc74a457a43fe8e3d763 oxygen-5.18.0.tar.xz
|
---|
| 150 | 49a00ae8e8516ee9c63b1361e7e8b35a kinfocenter-5.18.0.tar.xz
|
---|
| 151 | 8877136028cbf810156ace05e23a0606 ksysguard-5.18.0.tar.xz
|
---|
| 152 | 6c9e520619c2dd1cfb58b18c39a35a2a kwin-5.18.0.tar.xz
|
---|
| 153 | 37a8c7b47c30a6fbc96812e07e520a17 plasma-workspace-5.18.0.tar.xz
|
---|
| 154 | 2df5eab9f574037d8ddd44595ae9740b bluedevil-5.18.0.tar.xz
|
---|
| 155 | 0bdcc24e5892f1ef18dacec5a7a02335 kde-gtk-config-5.18.0.tar.xz
|
---|
| 156 | c9aa2a00ef44caf72fc35bac425bfb11 khotkeys-5.18.0.tar.xz
|
---|
| 157 | bf513fd5cb621fe6188ae539af1357a0 kmenuedit-5.18.0.tar.xz
|
---|
| 158 | a24eb028b1942bbb6be277830c883ca4 kscreen-5.18.0.tar.xz
|
---|
| 159 | ff159637ce8450930120560657dc7aa4 kwallet-pam-5.18.0.tar.xz
|
---|
| 160 | 76828427796d566b04947c01219fb538 kwayland-integration-5.18.0.tar.xz
|
---|
| 161 | 26a01a5e99685854aa6cee4c1b5aa3ac kwrited-5.18.0.tar.xz
|
---|
| 162 | 75d8aef7a58acabd6cbf8e58622264e2 milou-5.18.0.tar.xz
|
---|
| 163 | 3702c99b031856ee14facf953ab96a12 plasma-nm-5.18.0.tar.xz
|
---|
| 164 | af558e3b675c1dbde752b8f27d107f34 plasma-pa-5.18.0.tar.xz
|
---|
| 165 | dbbf224c5f626d6e93aa049f05c79824 plasma-workspace-wallpapers-5.18.0.tar.xz
|
---|
| 166 | 64d690559f2ae9ad9724709d880e500b polkit-kde-agent-1-5.18.0.tar.xz
|
---|
| 167 | 2a295e35d8344c8c486d35ce31daed2e powerdevil-5.18.0.tar.xz
|
---|
| 168 | f7763083a9ae5562a88725ede46019d9 plasma-desktop-5.18.0.tar.xz
|
---|
| 169 | fbd61128d753723f94f3e3377f1c6dbf kdeplasma-addons-5.18.0.tar.xz
|
---|
| 170 | 04ff88998c5a0732b9a1bb76320155ca kgamma5-5.18.0.tar.xz
|
---|
| 171 | 54420fb7d114b527c820018db615db80 ksshaskpass-5.18.0.tar.xz
|
---|
| 172 | #246b73de780bf92444ac4d6f69f50d2f plasma-sdk-5.18.0.tar.xz
|
---|
| 173 | 3ae3cbec00e5f354e680ae88683e92b4 sddm-kcm-5.18.0.tar.xz
|
---|
| 174 | 01663f7d1817c976119189ccbd8fc139 user-manager-5.18.0.tar.xz
|
---|
| 175 | 434034a0af6aa4456adef6002f9964d7 discover-5.18.0.tar.xz
|
---|
| 176 | #0a5db8616c37961c34b4107672f8ca1f breeze-grub-5.18.0.tar.xz
|
---|
| 177 | #2483b77974bfcd0b311d10d947486b8d breeze-plymouth-5.18.0.tar.xz
|
---|
| 178 | 19eeb2603042ed8f13861728a42240c3 kactivitymanagerd-5.18.0.tar.xz
|
---|
| 179 | 75ba0f7a3eb652b8aa52cdb2bb6cf449 plasma-integration-5.18.0.tar.xz
|
---|
| 180 | 71b682f963f4c219a10c92706f7e0de0 plasma-tests-5.18.0.tar.xz
|
---|
| 181 | #2d10a553fa7d7ab7df3ad14ce41d4f7e plymouth-kcm-5.18.0.tar.xz
|
---|
| 182 | 6801ac281d11cd0b06132b8f0044b913 xdg-desktop-portal-kde-5.18.0.tar.xz
|
---|
| 183 | 69c20946b2cfaa5d94443bf2daa5cefc drkonqi-5.18.0.tar.xz
|
---|
| 184 | 404bb032a9870e2182ed28bac4b62f30 plasma-vault-5.18.0.tar.xz
|
---|
| 185 | 916bb56baee7ce272dc0076eef96c116 plasma-browser-integration-5.18.0.tar.xz
|
---|
| 186 | 6d28a752327246b0085192d784a30164 kde-cli-tools-5.18.0.tar.xz
|
---|
| 187 | b89a6fcfd152fcff0c737b7994b93503 systemsettings-5.18.0.tar.xz
|
---|
| 188 | 9a4d8193ff7a01e0fea74de69897f63a plasma-thunderbolt-5.18.0.tar.xz
|
---|
| 189 | #7f67365c7aa0e385abdc3b8e5a4ed290 plasma-nano-5.18.0.tar.xz
|
---|
| 190 | #98a08ead926817ef803e0f0037ed7336 plasma-phone-components-5.18.0.tar.xz</literal>
|
---|
[153a5795] | 191 | EOF</userinput></screen>
|
---|
| 192 |
|
---|
[a01d308] | 193 | <note><para>The breeze-grub, breeze-plymouth, and plymouth-kcm packages
|
---|
| 194 | above are all for customized support of <ulink
|
---|
[ce228c2] | 195 | url="https://www.freedesktop.org/wiki/Software/Plymouth/">Plymouth</ulink>
|
---|
| 196 | which is designed to be run within an initial ram disk during boot (see
|
---|
[3011abe] | 197 | <xref linkend="initramfs"/>). The plasma-sdk package is optional and used
|
---|
[9db9de94] | 198 | for software development. The plasma-nano package is used for embedded
|
---|
| 199 | systems and plasma-phone-components provides phone functionality for Plasma.</para></note>
|
---|
[ce228c2] | 200 |
|
---|
[153a5795] | 201 | </sect2>
|
---|
| 202 |
|
---|
| 203 | <sect2 role="installation">
|
---|
| 204 | <title>Installation of Plasma5</title>
|
---|
| 205 |
|
---|
| 206 | &as_root;
|
---|
| 207 |
|
---|
| 208 | <para>
|
---|
| 209 | First, start a subshell that will exit on error:
|
---|
| 210 | </para>
|
---|
| 211 |
|
---|
| 212 | <screen><userinput>bash -e</userinput></screen>
|
---|
| 213 |
|
---|
| 214 | <para>
|
---|
| 215 | Install all of the packages by running the following
|
---|
| 216 | commands:
|
---|
| 217 | </para>
|
---|
| 218 |
|
---|
| 219 | <screen><userinput>while read -r line; do
|
---|
| 220 |
|
---|
| 221 | # Get the file name, ignoring comments and blank lines
|
---|
| 222 | if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
|
---|
| 223 | file=$(echo $line | cut -d" " -f2)
|
---|
[f3429309] | 224 |
|
---|
[153a5795] | 225 | pkg=$(echo $file|sed 's|^.*/||') # Remove directory
|
---|
| 226 | packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
|
---|
| 227 |
|
---|
| 228 | tar -xf $file
|
---|
| 229 | pushd $packagedir
|
---|
| 230 |
|
---|
[4e0a40f] | 231 | # Fix some build issues when generating some configuration files
|
---|
[cfd5cb3] | 232 | case $name in
|
---|
| 233 | plasma-workspace)
|
---|
| 234 | sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
|
---|
| 235 | ;;
|
---|
| 236 |
|
---|
| 237 | khotkeys)
|
---|
| 238 | sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
|
---|
| 239 | ;;
|
---|
| 240 |
|
---|
| 241 | plasma-desktop)
|
---|
| 242 | sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
|
---|
| 243 | ;;
|
---|
| 244 | esac
|
---|
| 245 |
|
---|
[69a9de5] | 246 | mkdir build
|
---|
| 247 | cd build
|
---|
[153a5795] | 248 |
|
---|
[1c8d0ff] | 249 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
| 250 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 251 | -DBUILD_TESTING=OFF \
|
---|
[69a9de5] | 252 | -Wno-dev .. &&
|
---|
[153a5795] | 253 |
|
---|
[69a9de5] | 254 | make
|
---|
| 255 | as_root make install
|
---|
| 256 | popd
|
---|
[153a5795] | 257 |
|
---|
[b44e7de2] | 258 | <!-- some packages end up with files owned by root in $packagedir,
|
---|
[8f445fdc] | 259 | so use as_root for removing -->
|
---|
| 260 | as_root rm -rf $packagedir
|
---|
[69a9de5] | 261 | as_root /sbin/ldconfig
|
---|
| 262 |
|
---|
[ed4a7a2] | 263 | done < plasma-&plasma5-version;.md5
|
---|
[153a5795] | 264 |
|
---|
[527f3db] | 265 | exit</userinput></screen>
|
---|
[1c8d0ff] | 266 |
|
---|
[527f3db] | 267 | <para>
|
---|
| 268 | If you did not set <envar>$KF5_PREFIX</envar> to
|
---|
| 269 | <filename>/usr</filename>, create symlinks to allow display managers to
|
---|
| 270 | find <application>Plasma</application>:
|
---|
| 271 | </para>
|
---|
| 272 |
|
---|
| 273 | <screen><userinput>as_root install -dvm 755 /usr/share/xsessions &&
|
---|
| 274 | cd /usr/share/xsessions/ &&
|
---|
| 275 | [ -e plasma.desktop ] ||
|
---|
| 276 | as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop &&
|
---|
| 277 | as_root install -dvm 755 /usr/share/wayland-sessions &&
|
---|
| 278 | cd /usr/share/wayland-sessions/ &&
|
---|
| 279 | [ -e plasma.desktop ] ||
|
---|
| 280 | as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasma.desktop<!--
|
---|
[1c8d0ff] | 281 | cd $KF5_PREFIX/share/plasma/plasmoids
|
---|
[153a5795] | 282 |
|
---|
[1c8d0ff] | 283 | for j in $(find -name \*.js); do
|
---|
[3d656d7] | 284 | as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
|
---|
[5ac58b54] | 285 | done--></userinput></screen>
|
---|
[153a5795] | 286 |
|
---|
| 287 | </sect2>
|
---|
[5ac58b54] | 288 | <!--
|
---|
[153a5795] | 289 | <sect2 role="commands">
|
---|
| 290 | <title>Command Explanations</title>
|
---|
| 291 |
|
---|
| 292 | <para>
|
---|
[1c8d0ff] | 293 | <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
|
---|
| 294 | Create symbolic links so qml files can find needed javascript modules.
|
---|
[153a5795] | 295 | </para>
|
---|
| 296 |
|
---|
| 297 | </sect2>
|
---|
[5ac58b54] | 298 | -->
|
---|
[3b0f105] | 299 | <sect2 role="configuration">
|
---|
| 300 | <title>Configuring Plasma</title>
|
---|
| 301 |
|
---|
| 302 | <sect3>
|
---|
| 303 | <title>Linux PAM Configuration</title>
|
---|
| 304 |
|
---|
| 305 | <para>
|
---|
| 306 | If you built Plasma with the recommended <application>Linux
|
---|
| 307 | PAM</application> support, create necessary configuration files by
|
---|
| 308 | running the following commands as the <systemitem
|
---|
| 309 | class="username">root</systemitem> user:
|
---|
| 310 | </para>
|
---|
| 311 |
|
---|
[941658d] | 312 | <screen role="root"><userinput>cat > /etc/pam.d/kde << "EOF"
|
---|
[51dfb3e] | 313 | <literal># Begin /etc/pam.d/kde
|
---|
[3b0f105] | 314 |
|
---|
| 315 | auth requisite pam_nologin.so
|
---|
| 316 | auth required pam_env.so
|
---|
| 317 |
|
---|
| 318 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 319 | auth include system-auth
|
---|
| 320 |
|
---|
| 321 | account include system-account
|
---|
| 322 | password include system-password
|
---|
| 323 | session include system-session
|
---|
| 324 |
|
---|
[51dfb3e] | 325 | # End /etc/pam.d/kde</literal>
|
---|
[3b0f105] | 326 | EOF
|
---|
| 327 |
|
---|
| 328 | cat > /etc/pam.d/kde-np << "EOF"
|
---|
[51dfb3e] | 329 | <literal># Begin /etc/pam.d/kde-np
|
---|
[3b0f105] | 330 |
|
---|
| 331 | auth requisite pam_nologin.so
|
---|
| 332 | auth required pam_env.so
|
---|
| 333 |
|
---|
| 334 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 335 | auth required pam_permit.so
|
---|
| 336 |
|
---|
| 337 | account include system-account
|
---|
| 338 | password include system-password
|
---|
| 339 | session include system-session
|
---|
| 340 |
|
---|
[51dfb3e] | 341 | # End /etc/pam.d/kde-np</literal>
|
---|
[3b0f105] | 342 | EOF
|
---|
| 343 |
|
---|
| 344 | cat > /etc/pam.d/kscreensaver << "EOF"
|
---|
[51dfb3e] | 345 | <literal># Begin /etc/pam.d/kscreensaver
|
---|
[3b0f105] | 346 |
|
---|
| 347 | auth include system-auth
|
---|
| 348 | account include system-account
|
---|
| 349 |
|
---|
[51dfb3e] | 350 | # End /etc/pam.d/kscreensaver</literal>
|
---|
[3b0f105] | 351 | EOF</userinput></screen>
|
---|
| 352 | </sect3>
|
---|
| 353 | </sect2>
|
---|
| 354 |
|
---|
[1c8d0ff] | 355 | <sect2 role="starting">
|
---|
| 356 | <title>Starting Plasma5</title>
|
---|
| 357 |
|
---|
[3f460da0] | 358 | <para revision="sysv">
|
---|
[1c8d0ff] | 359 | You can start <application>Plasma5</application> from runlevel 3, using
|
---|
| 360 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
[c225bfa] | 361 | such as <xref linkend="lightdm"/>.
|
---|
[1c8d0ff] | 362 | </para>
|
---|
| 363 |
|
---|
[3f460da0] | 364 | <para revision="systemd">
|
---|
| 365 | You can start <application>Plasma5</application> from a TTY, using
|
---|
[fd42347a] | 366 | <xref linkend="xinit"/><!--, or from a graphical display manager, such as
|
---|
| 367 | <xref linkend="sddm"/>-->.
|
---|
[3f460da0] | 368 | </para>
|
---|
| 369 |
|
---|
[1c8d0ff] | 370 | <para>
|
---|
[460cec4b] | 371 | To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
|
---|
[1c8d0ff] | 372 | run the following commands:
|
---|
| 373 | </para>
|
---|
| 374 |
|
---|
[51dfb3e] | 375 | <screen><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[718be191] | 376 | <literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startplasma-x11</literal>
|
---|
[3f460da0] | 377 | EOF
|
---|
| 378 |
|
---|
[1c8d0ff] | 379 | startx</userinput></screen>
|
---|
| 380 |
|
---|
| 381 | <para>
|
---|
| 382 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
| 383 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
| 384 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
| 385 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
| 386 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
| 387 | <command>startx</command> was executed will display many messages,
|
---|
| 388 | including X starting messages, applications automatically started with
|
---|
| 389 | the session, and eventually, some warning and error messages. You may
|
---|
| 390 | prefer to redirect those messages to a log file, which not only will keep
|
---|
| 391 | the initial vt uncluttered, but can also be used for debugging purposes. This
|
---|
| 392 | can be done starting X with:
|
---|
| 393 | </para>
|
---|
| 394 |
|
---|
[3011abe] | 395 | <screen><userinput>startx &> ~/x-session-errors</userinput></screen>
|
---|
[1c8d0ff] | 396 |
|
---|
| 397 | <para>
|
---|
| 398 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
| 399 | where X was running. If you wish to see those messages, simultaneously
|
---|
| 400 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
| 401 | </para>
|
---|
| 402 |
|
---|
[f29eb8a] | 403 | <para>If you intend to start <application>Plasma</application> using a
|
---|
[c225bfa] | 404 | display manager such as <xref linkend="lightdm"/>, there will be two entries
|
---|
[f29eb8a] | 405 | for <application>Plasma</application>, one for use with
|
---|
| 406 | <application>Xorg</application>, and another for
|
---|
| 407 | <application>Wayland</application>. Modify the
|
---|
| 408 | <application>Xorg</application> entry with the following command, as the
|
---|
| 409 | <systemitem class="username">root</systemitem> user, so that you can
|
---|
| 410 | differentiate between the two:</para>
|
---|
| 411 |
|
---|
[33c8b427] | 412 | <screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
|
---|
[f29eb8a] | 413 |
|
---|
| 414 |
|
---|
[1c8d0ff] | 415 | </sect2>
|
---|
| 416 |
|
---|
[153a5795] | 417 | <sect2 role="content">
|
---|
| 418 | <title>Contents</title>
|
---|
| 419 |
|
---|
| 420 | <segmentedlist>
|
---|
| 421 | <segtitle>Installed Programs</segtitle>
|
---|
| 422 | <segtitle>Installed Libraries</segtitle>
|
---|
| 423 | <segtitle>Installed Directories</segtitle>
|
---|
| 424 |
|
---|
| 425 | <seglistitem>
|
---|
| 426 | <seg>
|
---|
[83ef2a4] | 427 | There are too many plasma programs (50 in /opt/kf5/bin) to list
|
---|
| 428 | separately here.
|
---|
[153a5795] | 429 | </seg>
|
---|
| 430 | <seg>
|
---|
[83ef2a4] | 431 | There are too many plasma libraries (39 in /opt/kf5/lib) to list
|
---|
| 432 | separately here.
|
---|
[153a5795] | 433 | </seg>
|
---|
| 434 | <seg>
|
---|
[83ef2a4] | 435 | There are too many plasma directories (over 1000 in /opt/kf5) to
|
---|
| 436 | list separately here.
|
---|
[153a5795] | 437 | </seg>
|
---|
| 438 | </seglistitem>
|
---|
| 439 | </segmentedlist>
|
---|
| 440 |
|
---|
| 441 | </sect2>
|
---|
| 442 |
|
---|
| 443 | </sect1>
|
---|