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