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