[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">
|
---|
[95965b6] | 10 | <!ENTITY plasma5-size "95 MB">
|
---|
| 11 | <!ENTITY plasma5-buildsize "1.1 GB (330 MB installed)">
|
---|
| 12 | <!ENTITY plasma5-time "13 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 |
|
---|
[6dd3533] | 32 | &lfs84_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"/>,
|
---|
| 72 | <xref linkend="pulseaudio"/>,
|
---|
[b7a66395] | 73 | <xref linkend="qca"/>,
|
---|
[95965b6] | 74 | <xref linkend="sassc"/>,
|
---|
[f3429309] | 75 | <xref linkend="taglib"/>, and
|
---|
[1c8d0ff] | 76 | <xref linkend="xcb-util-cursor"/>
|
---|
[153a5795] | 77 | </para>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
[72b8751] | 81 | <xref linkend="fftw"/>,
|
---|
| 82 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
[f3429309] | 83 | <xref linkend="libdbusmenu-qt"/>,
|
---|
| 84 | <xref linkend="libcanberra"/>,
|
---|
| 85 | <xref linkend="libinput"/>,
|
---|
[0779b94] | 86 | <xref linkend="linux-pam"/>,
|
---|
[f3429309] | 87 | <xref linkend="lm_sensors"/>,
|
---|
[88bb10f] | 88 | <xref linkend="oxygen-icons5"/>, and
|
---|
[0779b94] | 89 | <xref linkend="pciutils"/>
|
---|
[153a5795] | 90 | </para>
|
---|
| 91 |
|
---|
[0779b94] | 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[153a5795] | 93 | <para role="optional">
|
---|
[0779b94] | 94 | <xref linkend="glu"/>,
|
---|
[7b1bc743] | 95 | <xref linkend='ibus'/>,
|
---|
[0779b94] | 96 | <xref linkend="xorg-synaptics-driver"/>,
|
---|
[ce228c2] | 97 | <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
|
---|
| 98 | <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
|
---|
[0779b94] | 99 | <ulink url="http://gpsd.berlios.de">libgps</ulink>,
|
---|
| 100 | <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
|
---|
| 101 | <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
|
---|
| 102 | <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
|
---|
[ce228c2] | 103 | <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
|
---|
[0779b94] | 104 | <ulink url="http://qalculate.sourceforge.net">Qalculate</ulink>,
|
---|
[ce228c2] | 105 | <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
|
---|
| 106 | <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
|
---|
[4c3c7f43] | 107 | <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
|
---|
[153a5795] | 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <para condition="html" role="usernotes">User Notes:
|
---|
| 111 | <ulink url="&blfs-wiki;/kf5"/></para>
|
---|
| 112 |
|
---|
| 113 | <sect2>
|
---|
[773b316] | 114 | <title>Downloading KDE Plasma5</title>
|
---|
[153a5795] | 115 |
|
---|
| 116 | <para>
|
---|
| 117 | The easiest way to get the KDE Plasma5 packages is to use a single
|
---|
| 118 | <command>wget</command> to fetch them all at once:
|
---|
| 119 | </para>
|
---|
[f3429309] | 120 |
|
---|
[153a5795] | 121 | <screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
|
---|
[a01d308] | 122 | wget -r -nH -nd -A '*.xz' -np $url</userinput>
|
---|
[153a5795] | 123 | <literal>
|
---|
[f3429309] | 124 | The options used here are:
|
---|
[153a5795] | 125 | -r recurse through child directories
|
---|
| 126 | -nH disable generation of host-prefixed directories
|
---|
[a01d308] | 127 | -nd do not create a hierarchy of directories
|
---|
[153a5795] | 128 | -A '*.xz' just get the *.xz files
|
---|
[10a9447] | 129 | -np don't get parent directories</literal></screen>
|
---|
[153a5795] | 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2>
|
---|
| 134 | <title>Setting Package Order</title>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | The order of building files is important due to internal dependencies.
|
---|
| 138 | Create the list of files in the proper order as follows:
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
[ed4a7a2] | 141 | <screen><userinput>cat > plasma-&plasma5-version;.md5 << "EOF"
|
---|
[95965b6] | 142 | <literal>1195f11a0f135da965f7c84a0b535ad6 kdecoration-5.15.0.tar.xz
|
---|
| 143 | 0d4896be04000503bedcf5c7d51e896a libkscreen-5.15.0.tar.xz
|
---|
| 144 | 784f3f907050c36265d0c289aa15779f libksysguard-5.15.0.tar.xz
|
---|
| 145 | 41d68903361098906f7feb05aeef96da breeze-5.15.0.tar.xz
|
---|
| 146 | 9a0d85a3a6b97e0f0920604e73c8f4f8 breeze-gtk-5.15.0.tar.xz
|
---|
| 147 | 0ed614d82dff50dd7b1df7165113f600 kscreenlocker-5.15.0.tar.xz
|
---|
| 148 | 86528bd2bd6f8a66108fc2ceba3cc1af oxygen-5.15.0.tar.xz
|
---|
| 149 | fdd8a90fc4b917602547adf44553990d kinfocenter-5.15.0.tar.xz
|
---|
| 150 | 8c0b0aaf98727d52c00bfe3ca5152775 ksysguard-5.15.0.tar.xz
|
---|
| 151 | 52f86eb52dda1ccd547a8a66893d439e kwin-5.15.0.tar.xz
|
---|
| 152 | 5424d6b8af2025c44acdaea10615a539 plasma-workspace-5.15.0.tar.xz
|
---|
| 153 | 8649b958165f1a87f07373be0f97fbf3 bluedevil-5.15.0.tar.xz
|
---|
| 154 | 2914de589f74b154fe29e3103be34ef6 kde-gtk-config-5.15.0.tar.xz
|
---|
| 155 | 79d22683db231b7623cf2ebe384994b6 khotkeys-5.15.0.tar.xz
|
---|
| 156 | 821abe928b627a33ae43ffeace3990e5 kmenuedit-5.15.0.tar.xz
|
---|
| 157 | 60dae1dde512a5b8c8f54adb48e83ec4 kscreen-5.15.0.tar.xz
|
---|
| 158 | 2c41b3ae8862a4243169e45348b1cd63 kwallet-pam-5.15.0.tar.xz
|
---|
| 159 | ef01bd635719a4bf3c6845dbc08e7bc3 kwayland-integration-5.15.0.tar.xz
|
---|
| 160 | 6d461e4deeeae854e7efdff26c0fbc2e kwrited-5.15.0.tar.xz
|
---|
| 161 | 7fd8557369f2d3a59e1d84c78a265afc milou-5.15.0.tar.xz
|
---|
| 162 | d3c9475c2b51cdb1f2efedfb5ab6cf88 plasma-nm-5.15.0.tar.xz
|
---|
| 163 | 6eab227685df4ccd68ada3a4b633711f plasma-pa-5.15.0.tar.xz
|
---|
| 164 | 93a379e907d3b03205771e1b5c20ea7d plasma-workspace-wallpapers-5.15.0.tar.xz
|
---|
| 165 | ed5c4fc72e5d72c8da607bd5fe60693f polkit-kde-agent-1-5.15.0.tar.xz
|
---|
| 166 | 12d65231a8265ee56d2ef1915aef7894 powerdevil-5.15.0.tar.xz
|
---|
| 167 | 939ec9bc31bb3c89a73163950bdcedda plasma-desktop-5.15.0.tar.xz
|
---|
| 168 | d7b299906680e0b564ff24f5c0d70f27 kdeplasma-addons-5.15.0.tar.xz
|
---|
| 169 | 92751cff053861a46f58d5ca8837cb65 kgamma5-5.15.0.tar.xz
|
---|
| 170 | f6a267d3e76056a70abc262963f10ed5 ksshaskpass-5.15.0.tar.xz
|
---|
| 171 | #f910c1c8e687ddade3c161e9b6b9b598 plasma-sdk-5.15.0.tar.xz
|
---|
| 172 | 19e3f3cb0c8341039f9855e79b9f395c sddm-kcm-5.15.0.tar.xz
|
---|
| 173 | 9755f8d9e1c84fcf105b464b513bb269 user-manager-5.15.0.tar.xz
|
---|
| 174 | d7135447c459e8c0bdb5d1fb1d703c01 discover-5.15.0.tar.xz
|
---|
| 175 | #745357574864bd167cff7b294486e145 breeze-grub-5.15.0.tar.xz
|
---|
| 176 | #a31d2ba0c628cf40d5102c14930a353c breeze-plymouth-5.15.0.tar.xz
|
---|
| 177 | 885978ef5cae1c843673be511998fe22 kactivitymanagerd-5.15.0.tar.xz
|
---|
| 178 | 3fe2706c6c26f26d9aa38fb658763c9f plasma-integration-5.15.0.tar.xz
|
---|
| 179 | e8d58c1860a29905fcfb0933de163231 plasma-tests-5.15.0.tar.xz
|
---|
| 180 | 710233d7a0cb25b66caba2d496f706ba plymouth-kcm-5.15.0.tar.xz
|
---|
| 181 | 78c04d7c16031002fb373a53ba75514a xdg-desktop-portal-kde-5.15.0.tar.xz
|
---|
| 182 | b1c8325c6a26a2b3f48b4adb6ce0a533 drkonqi-5.15.0.tar.xz
|
---|
| 183 | 3241eed0c5938ecb07c7b6462179fb9b plasma-vault-5.15.0.tar.xz
|
---|
| 184 | 90c0b196206104b28def99c770db4ac1 plasma-browser-integration-5.15.0.tar.xz
|
---|
| 185 | 7033a941eef914415feea7051bf1e42f kde-cli-tools-5.15.0.tar.xz
|
---|
| 186 | 580f675f1f03e5d2f4aec5cd6eebfe5f systemsettings-5.15.0.tar.xz</literal>
|
---|
[153a5795] | 187 | EOF</userinput></screen>
|
---|
| 188 |
|
---|
[a01d308] | 189 | <note><para>The breeze-grub, breeze-plymouth, and plymouth-kcm packages
|
---|
| 190 | above are all for customized support of <ulink
|
---|
[ce228c2] | 191 | url="https://www.freedesktop.org/wiki/Software/Plymouth/">Plymouth</ulink>
|
---|
| 192 | which is designed to be run within an initial ram disk during boot (see
|
---|
[3011abe] | 193 | <xref linkend="initramfs"/>). The plasma-sdk package is optional and used
|
---|
[dd8ae08] | 194 | for software development.</para></note>
|
---|
[ce228c2] | 195 |
|
---|
[153a5795] | 196 | </sect2>
|
---|
| 197 |
|
---|
| 198 | <sect2 role="installation">
|
---|
| 199 | <title>Installation of Plasma5</title>
|
---|
| 200 |
|
---|
| 201 | &as_root;
|
---|
| 202 |
|
---|
| 203 | <para>
|
---|
| 204 | First, start a subshell that will exit on error:
|
---|
| 205 | </para>
|
---|
| 206 |
|
---|
| 207 | <screen><userinput>bash -e</userinput></screen>
|
---|
| 208 |
|
---|
| 209 | <para>
|
---|
| 210 | Install all of the packages by running the following
|
---|
| 211 | commands:
|
---|
| 212 | </para>
|
---|
| 213 |
|
---|
| 214 | <screen><userinput>while read -r line; do
|
---|
| 215 |
|
---|
| 216 | # Get the file name, ignoring comments and blank lines
|
---|
| 217 | if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
|
---|
| 218 | file=$(echo $line | cut -d" " -f2)
|
---|
[f3429309] | 219 |
|
---|
[153a5795] | 220 | pkg=$(echo $file|sed 's|^.*/||') # Remove directory
|
---|
| 221 | packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
|
---|
| 222 |
|
---|
| 223 | tar -xf $file
|
---|
| 224 | pushd $packagedir
|
---|
| 225 |
|
---|
[69a9de5] | 226 | mkdir build
|
---|
| 227 | cd build
|
---|
[153a5795] | 228 |
|
---|
[1c8d0ff] | 229 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
| 230 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 231 | -DBUILD_TESTING=OFF \
|
---|
[69a9de5] | 232 | -Wno-dev .. &&
|
---|
[153a5795] | 233 |
|
---|
[69a9de5] | 234 | make
|
---|
| 235 | as_root make install
|
---|
| 236 | popd
|
---|
[153a5795] | 237 |
|
---|
[b44e7de2] | 238 | <!-- some packages end up with files owned by root in $packagedir,
|
---|
[8f445fdc] | 239 | so use as_root for removing -->
|
---|
| 240 | as_root rm -rf $packagedir
|
---|
[69a9de5] | 241 | as_root /sbin/ldconfig
|
---|
| 242 |
|
---|
[ed4a7a2] | 243 | done < plasma-&plasma5-version;.md5
|
---|
[153a5795] | 244 |
|
---|
[1c8d0ff] | 245 | exit
|
---|
| 246 |
|
---|
[33c8b427] | 247 | install -dvm 755 /usr/share/xsessions &&
|
---|
| 248 | cd /usr/share/xsessions/ &&
|
---|
| 249 | [ -e plasma.desktop ] ||
|
---|
| 250 | as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop<!--
|
---|
[1c8d0ff] | 251 | cd $KF5_PREFIX/share/plasma/plasmoids
|
---|
[153a5795] | 252 |
|
---|
[1c8d0ff] | 253 | for j in $(find -name \*.js); do
|
---|
[3d656d7] | 254 | as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
|
---|
[5ac58b54] | 255 | done--></userinput></screen>
|
---|
[153a5795] | 256 |
|
---|
| 257 | </sect2>
|
---|
[5ac58b54] | 258 | <!--
|
---|
[153a5795] | 259 | <sect2 role="commands">
|
---|
| 260 | <title>Command Explanations</title>
|
---|
| 261 |
|
---|
| 262 | <para>
|
---|
[1c8d0ff] | 263 | <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
|
---|
| 264 | Create symbolic links so qml files can find needed javascript modules.
|
---|
[153a5795] | 265 | </para>
|
---|
| 266 |
|
---|
| 267 | </sect2>
|
---|
[5ac58b54] | 268 | -->
|
---|
[3b0f105] | 269 | <sect2 role="configuration">
|
---|
| 270 | <title>Configuring Plasma</title>
|
---|
| 271 |
|
---|
| 272 | <sect3>
|
---|
| 273 | <title>Linux PAM Configuration</title>
|
---|
| 274 |
|
---|
| 275 | <para>
|
---|
| 276 | If you built Plasma with the recommended <application>Linux
|
---|
| 277 | PAM</application> support, create necessary configuration files by
|
---|
| 278 | running the following commands as the <systemitem
|
---|
| 279 | class="username">root</systemitem> user:
|
---|
| 280 | </para>
|
---|
| 281 |
|
---|
| 282 | <screen role="root"><userinput>cat >> /etc/pam.d/kde << "EOF"
|
---|
| 283 | # Begin /etc/pam.d/kde
|
---|
| 284 |
|
---|
| 285 | auth requisite pam_nologin.so
|
---|
| 286 | auth required pam_env.so
|
---|
| 287 |
|
---|
| 288 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 289 | auth include system-auth
|
---|
| 290 |
|
---|
| 291 | account include system-account
|
---|
| 292 | password include system-password
|
---|
| 293 | session include system-session
|
---|
| 294 |
|
---|
| 295 | # End /etc/pam.d/kde
|
---|
| 296 | EOF
|
---|
| 297 |
|
---|
| 298 | cat > /etc/pam.d/kde-np << "EOF"
|
---|
| 299 | # Begin /etc/pam.d/kde-np
|
---|
| 300 |
|
---|
| 301 | auth requisite pam_nologin.so
|
---|
| 302 | auth required pam_env.so
|
---|
| 303 |
|
---|
| 304 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 305 | auth required pam_permit.so
|
---|
| 306 |
|
---|
| 307 | account include system-account
|
---|
| 308 | password include system-password
|
---|
| 309 | session include system-session
|
---|
| 310 |
|
---|
| 311 | # End /etc/pam.d/kde-np
|
---|
| 312 | EOF
|
---|
| 313 |
|
---|
| 314 | cat > /etc/pam.d/kscreensaver << "EOF"
|
---|
| 315 | # Begin /etc/pam.d/kscreensaver
|
---|
| 316 |
|
---|
| 317 | auth include system-auth
|
---|
| 318 | account include system-account
|
---|
| 319 |
|
---|
| 320 | # End /etc/pam.d/kscreensaver
|
---|
| 321 | EOF</userinput></screen>
|
---|
| 322 | </sect3>
|
---|
| 323 | </sect2>
|
---|
| 324 |
|
---|
[1c8d0ff] | 325 | <sect2 role="starting">
|
---|
| 326 | <title>Starting Plasma5</title>
|
---|
| 327 |
|
---|
[3f460da0] | 328 | <para revision="sysv">
|
---|
[1c8d0ff] | 329 | You can start <application>Plasma5</application> from runlevel 3, using
|
---|
| 330 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
[c225bfa] | 331 | such as <xref linkend="lightdm"/>.
|
---|
[1c8d0ff] | 332 | </para>
|
---|
| 333 |
|
---|
[3f460da0] | 334 | <para revision="systemd">
|
---|
| 335 | You can start <application>Plasma5</application> from a TTY, using
|
---|
[fd42347a] | 336 | <xref linkend="xinit"/><!--, or from a graphical display manager, such as
|
---|
| 337 | <xref linkend="sddm"/>-->.
|
---|
[3f460da0] | 338 | </para>
|
---|
| 339 |
|
---|
[1c8d0ff] | 340 | <para>
|
---|
[460cec4b] | 341 | To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
|
---|
[1c8d0ff] | 342 | run the following commands:
|
---|
| 343 | </para>
|
---|
| 344 |
|
---|
[3f460da0] | 345 | <screen revision="sysv"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[1c8d0ff] | 346 | <literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
|
---|
| 347 | EOF
|
---|
| 348 |
|
---|
[3f460da0] | 349 | startx</userinput></screen>
|
---|
| 350 |
|
---|
| 351 | <screen revision="systemd"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
| 352 | <literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
|
---|
| 353 | EOF
|
---|
| 354 |
|
---|
[1c8d0ff] | 355 | startx</userinput></screen>
|
---|
| 356 |
|
---|
| 357 | <para>
|
---|
| 358 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
| 359 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
| 360 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
| 361 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
| 362 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
| 363 | <command>startx</command> was executed will display many messages,
|
---|
| 364 | including X starting messages, applications automatically started with
|
---|
| 365 | the session, and eventually, some warning and error messages. You may
|
---|
| 366 | prefer to redirect those messages to a log file, which not only will keep
|
---|
| 367 | the initial vt uncluttered, but can also be used for debugging purposes. This
|
---|
| 368 | can be done starting X with:
|
---|
| 369 | </para>
|
---|
| 370 |
|
---|
[3011abe] | 371 | <screen><userinput>startx &> ~/x-session-errors</userinput></screen>
|
---|
[1c8d0ff] | 372 |
|
---|
[3f460da0] | 373 | <note revision="sysv">
|
---|
[1c8d0ff] | 374 | <para>
|
---|
| 375 | You may wish to drop consolekit and/or dbus-launch, e.g., just using
|
---|
| 376 | startkde in ~/.xinitrc. However some capabilities such as mounting or
|
---|
| 377 | umounting file systems from a file manager will not be possible, or the
|
---|
| 378 | reboot option may be absent or inoperative, among other problems.
|
---|
| 379 | </para>
|
---|
| 380 | </note>
|
---|
| 381 | <para>
|
---|
| 382 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
| 383 | where X was running. If you wish to see those messages, simultaneously
|
---|
| 384 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
| 385 | </para>
|
---|
| 386 |
|
---|
[f29eb8a] | 387 | <para>If you intend to start <application>Plasma</application> using a
|
---|
[c225bfa] | 388 | display manager such as <xref linkend="lightdm"/>, there will be two entries
|
---|
[f29eb8a] | 389 | for <application>Plasma</application>, one for use with
|
---|
| 390 | <application>Xorg</application>, and another for
|
---|
| 391 | <application>Wayland</application>. Modify the
|
---|
| 392 | <application>Xorg</application> entry with the following command, as the
|
---|
| 393 | <systemitem class="username">root</systemitem> user, so that you can
|
---|
| 394 | differentiate between the two:</para>
|
---|
| 395 |
|
---|
[33c8b427] | 396 | <screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
|
---|
[f29eb8a] | 397 |
|
---|
| 398 |
|
---|
[1c8d0ff] | 399 | </sect2>
|
---|
| 400 |
|
---|
[153a5795] | 401 | <sect2 role="content">
|
---|
| 402 | <title>Contents</title>
|
---|
| 403 |
|
---|
| 404 | <segmentedlist>
|
---|
| 405 | <segtitle>Installed Programs</segtitle>
|
---|
| 406 | <segtitle>Installed Libraries</segtitle>
|
---|
| 407 | <segtitle>Installed Directories</segtitle>
|
---|
| 408 |
|
---|
| 409 | <seglistitem>
|
---|
| 410 | <seg>
|
---|
[83ef2a4] | 411 | There are too many plasma programs (50 in /opt/kf5/bin) to list
|
---|
| 412 | separately here.
|
---|
[153a5795] | 413 | </seg>
|
---|
| 414 | <seg>
|
---|
[83ef2a4] | 415 | There are too many plasma libraries (39 in /opt/kf5/lib) to list
|
---|
| 416 | separately here.
|
---|
[153a5795] | 417 | </seg>
|
---|
| 418 | <seg>
|
---|
[83ef2a4] | 419 | There are too many plasma directories (over 1000 in /opt/kf5) to
|
---|
| 420 | list separately here.
|
---|
[153a5795] | 421 | </seg>
|
---|
| 422 | </seglistitem>
|
---|
| 423 | </segmentedlist>
|
---|
| 424 |
|
---|
| 425 | </sect2>
|
---|
| 426 |
|
---|
| 427 | </sect1>
|
---|
| 428 |
|
---|