[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">
|
---|
[42846033] | 10 | <!ENTITY plasma5-size "111 MB">
|
---|
| 11 | <!ENTITY plasma5-buildsize "985 MB (294 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">
|
---|
| 26 | <primary sortas="a-kf5">KDE Plasma 5</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <para>KDE Plasma 5 is a collection of packages based on top of KDE Frameworks
|
---|
[6c91a92a] | 30 | 5 and QML. It has been derived from the monolithic KDE 4 desktop.
|
---|
[1c8d0ff] | 31 | They implement the KDE Display Environment (Plasma 5).</para>
|
---|
[366fbbb8] | 32 |
|
---|
[f4cb967e] | 33 | &lfs81_checked;
|
---|
[153a5795] | 34 |
|
---|
| 35 | <para>The instructions below build all of the Plasma 5 packages in one
|
---|
[f97d5f6] | 36 | step by using a bash script.</para>
|
---|
[153a5795] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&plasma5-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&plasma5-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &plasma5-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &plasma5-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &plasma5-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &plasma5-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 63 | <para role="required">
|
---|
[89f706b2] | 64 | <!--<xref linkend="fontforge"/>,-->
|
---|
[96f2797] | 65 | <xref linkend="GConf"/>,
|
---|
[f3429309] | 66 | <xref linkend="gtk2"/>,
|
---|
| 67 | <xref linkend="gtk3"/>,
|
---|
[f97d5f6] | 68 | <xref linkend="kf5-frameworks"/>,
|
---|
[366fbbb8] | 69 | <xref linkend="libpwquality"/>,
|
---|
[1c8d0ff] | 70 | <xref linkend="libxkbcommon"/>,
|
---|
[366fbbb8] | 71 | <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
|
---|
[f3429309] | 72 | <xref linkend="NetworkManager"/>,
|
---|
| 73 | <xref linkend="pulseaudio"/>,
|
---|
| 74 | <xref linkend="python2"/>,
|
---|
[460cec4b] | 75 | <xref linkend="qca"/> (built with qt5),
|
---|
[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">
|
---|
[f3429309] | 82 | <xref linkend="libdbusmenu-qt"/>,
|
---|
| 83 | <xref linkend="libcanberra"/>,
|
---|
| 84 | <xref linkend="libinput"/>,
|
---|
[0779b94] | 85 | <xref linkend="linux-pam"/>,
|
---|
[f3429309] | 86 | <xref linkend="lm_sensors"/>,
|
---|
[88bb10f] | 87 | <xref linkend="oxygen-icons5"/>, and
|
---|
[0779b94] | 88 | <xref linkend="pciutils"/>
|
---|
[153a5795] | 89 | </para>
|
---|
| 90 |
|
---|
[0779b94] | 91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[153a5795] | 92 | <para role="optional">
|
---|
[0779b94] | 93 | <xref linkend="glu"/>,
|
---|
[7b1bc743] | 94 | <xref linkend='ibus'/>,
|
---|
[0779b94] | 95 | <xref linkend="xorg-synaptics-driver"/>,
|
---|
[ce228c2] | 96 | <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
|
---|
| 97 | <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
|
---|
[0779b94] | 98 | <ulink url="http://gpsd.berlios.de">libgps</ulink>,
|
---|
| 99 | <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
|
---|
| 100 | <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
|
---|
| 101 | <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
|
---|
[ce228c2] | 102 | <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
|
---|
[0779b94] | 103 | <ulink url="http://qalculate.sourceforge.net">Qalculate</ulink>,
|
---|
[ce228c2] | 104 | <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
|
---|
| 105 | <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
|
---|
[4c3c7f43] | 106 | <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
|
---|
[153a5795] | 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para condition="html" role="usernotes">User Notes:
|
---|
| 110 | <ulink url="&blfs-wiki;/kf5"/></para>
|
---|
| 111 |
|
---|
| 112 | <sect2>
|
---|
[773b316] | 113 | <title>Downloading KDE Plasma5</title>
|
---|
[153a5795] | 114 |
|
---|
| 115 | <para>
|
---|
| 116 | The easiest way to get the KDE Plasma5 packages is to use a single
|
---|
| 117 | <command>wget</command> to fetch them all at once:
|
---|
| 118 | </para>
|
---|
[f3429309] | 119 |
|
---|
[153a5795] | 120 | <screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
|
---|
[a01d308] | 121 | wget -r -nH -nd -A '*.xz' -np $url</userinput>
|
---|
[153a5795] | 122 | <literal>
|
---|
[f3429309] | 123 | The options used here are:
|
---|
[153a5795] | 124 | -r recurse through child directories
|
---|
| 125 | -nH disable generation of host-prefixed directories
|
---|
[a01d308] | 126 | -nd do not create a hierarchy of directories
|
---|
[153a5795] | 127 | -A '*.xz' just get the *.xz files
|
---|
[10a9447] | 128 | -np don't get parent directories</literal></screen>
|
---|
[153a5795] | 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2>
|
---|
| 133 | <title>Setting Package Order</title>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | The order of building files is important due to internal dependencies.
|
---|
| 137 | Create the list of files in the proper order as follows:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
[ed4a7a2] | 140 | <screen><userinput>cat > plasma-&plasma5-version;.md5 << "EOF"
|
---|
[42846033] | 141 | <literal>d88f68c4dc164ffd01c8b97747a98d5b kde-cli-tools-5.11.4.tar.xz
|
---|
| 142 | ec7ccf4213a349a89c44dd79ee4e84f0 kdecoration-5.11.4.tar.xz
|
---|
| 143 | e5a76c0348deaf565a596ae37541b3ae libkscreen-5.11.4.tar.xz
|
---|
| 144 | aa7f970cdddf05a0ea97972ee85b2238 libksysguard-5.11.4.tar.xz
|
---|
| 145 | bde2d5344cd3cfbfca3d08559db3f1b1 breeze-5.11.4.tar.xz
|
---|
| 146 | 5fab1a28047962c2d66bfa3b922a0c7b breeze-gtk-5.11.4.tar.xz
|
---|
| 147 | a93a609de1d346927399c6c12bf60843 kscreenlocker-5.11.4.tar.xz
|
---|
| 148 | 997c543e4cf9668ff1a76f9db29911ee oxygen-5.11.4.tar.xz
|
---|
| 149 | 0bcde5e63570448c76d53e20ab5eff3e kinfocenter-5.11.4.tar.xz
|
---|
| 150 | de5775e01614cce24b2044f564445adc ksysguard-5.11.4.tar.xz
|
---|
| 151 | f56900e45dbabb713cd4ef824e6d7323 kwin-5.11.4.tar.xz
|
---|
| 152 | fd55a65c5459775ed524d8de897ec31f systemsettings-5.11.4.tar.xz
|
---|
| 153 | 40b6acaebf7412d4ba5feee476965e01 plasma-workspace-5.11.4.tar.xz
|
---|
| 154 | 23dda6808b0f584a49040cbe405af88b bluedevil-5.11.4.tar.xz
|
---|
| 155 | 4343f5e010ed3c0cec03e5e4b697c804 kde-gtk-config-5.11.4.tar.xz
|
---|
| 156 | a99e7e73794b599be385839b88683503 khotkeys-5.11.4.tar.xz
|
---|
| 157 | 3a005563749fe7f1d3142b53a7f2ddfc kmenuedit-5.11.4.tar.xz
|
---|
| 158 | 1c3c53d350a9427cde77b8cba77a533c kscreen-5.11.4.tar.xz
|
---|
| 159 | 8f09c454407900cae56827caf5117e1d kwallet-pam-5.11.4.tar.xz
|
---|
| 160 | 9ed78f6b6407ceb16bdb594bb36bdbc2 kwayland-integration-5.11.4.tar.xz
|
---|
| 161 | 16fe5249444f345921dd88be983c9bfe kwrited-5.11.4.tar.xz
|
---|
| 162 | d2e72f895c418cf2b7e51fbf4da8c240 milou-5.11.4.tar.xz
|
---|
| 163 | 8c999cacc92b3f256edcd0addd0878ac plasma-nm-5.11.4.tar.xz
|
---|
| 164 | befbc3ebeb75b3b6cb8559f3b039e322 plasma-pa-5.11.4.tar.xz
|
---|
| 165 | df943e57ebba65150df11b824fac5154 plasma-workspace-wallpapers-5.11.4.tar.xz
|
---|
| 166 | 5ccbd6b00367b48873b1b5653ad110c2 polkit-kde-agent-1-5.11.4.tar.xz
|
---|
| 167 | 85616354c53b934752f221b4d89cd3dc powerdevil-5.11.4.tar.xz
|
---|
| 168 | 5fb2f7a0aecd20b5eb3eba8c1d15956a plasma-desktop-5.11.4.tar.xz
|
---|
| 169 | c08b672beb73bf531318ecce7d90cb84 kdeplasma-addons-5.11.4.tar.xz
|
---|
| 170 | 615358f580a64ac053d327771b00c67f kgamma5-5.11.4.tar.xz
|
---|
| 171 | 1a5d2ae7c34e3e7c9aedb931111554fa ksshaskpass-5.11.4.tar.xz
|
---|
| 172 | #a8bdcdc6a79f79737070ceb7704ec2fc plasma-sdk-5.11.4.tar.xz
|
---|
| 173 | 335e0f9a1fce7f527b3d4b581ff915fb sddm-kcm-5.11.4.tar.xz
|
---|
| 174 | 965b833b71654869ecd865e2d59011f4 user-manager-5.11.4.tar.xz
|
---|
| 175 | 4d4bfd4f7197a989c917c40887d4ad8b discover-5.11.4.tar.xz
|
---|
| 176 | #1f23543acaf94836807b647453682189 breeze-grub-5.11.4.tar.xz
|
---|
| 177 | #1129678c3765a52d7d244094da25e20d breeze-plymouth-5.11.4.tar.xz
|
---|
| 178 | 24747273a2e9f0d09736b95fbfe82478 kactivitymanagerd-5.11.4.tar.xz
|
---|
| 179 | ff4eeba3baf3b750aa158dfa622a8fe9 plasma-integration-5.11.4.tar.xz
|
---|
| 180 | 15d11076b37a6bbada14e72c3e6c4516 plasma-tests-5.11.4.tar.xz
|
---|
| 181 | 79f355d9b3ee53570045d9f90df36964 plymouth-kcm-5.11.4.tar.xz
|
---|
| 182 | 9358a51ce97edd9d53044bd096e69bc2 xdg-desktop-portal-kde-5.11.4.tar.xz
|
---|
| 183 | e879c77b1dc567d04cb191cbb785ec45 drkonqi-5.11.4.tar.xz
|
---|
| 184 | 7726dbaabc0f0f301ffde730dc3e73c7 plasma-vault-5.11.4.tar.xz</literal>
|
---|
[153a5795] | 185 | EOF</userinput></screen>
|
---|
| 186 |
|
---|
[a01d308] | 187 | <note><para>The breeze-grub, breeze-plymouth, and plymouth-kcm packages
|
---|
| 188 | above are all for customized support of <ulink
|
---|
[ce228c2] | 189 | url="https://www.freedesktop.org/wiki/Software/Plymouth/">Plymouth</ulink>
|
---|
| 190 | which is designed to be run within an initial ram disk during boot (see
|
---|
[3011abe] | 191 | <xref linkend="initramfs"/>). The plasma-sdk package is optional and used
|
---|
[dd8ae08] | 192 | for software development.</para></note>
|
---|
[ce228c2] | 193 |
|
---|
[153a5795] | 194 | </sect2>
|
---|
| 195 |
|
---|
| 196 | <sect2 role="installation">
|
---|
| 197 | <title>Installation of Plasma5</title>
|
---|
| 198 |
|
---|
| 199 | &as_root;
|
---|
| 200 |
|
---|
| 201 | <para>
|
---|
| 202 | First, start a subshell that will exit on error:
|
---|
| 203 | </para>
|
---|
| 204 |
|
---|
| 205 | <screen><userinput>bash -e</userinput></screen>
|
---|
| 206 |
|
---|
| 207 | <para>
|
---|
| 208 | Install all of the packages by running the following
|
---|
| 209 | commands:
|
---|
| 210 | </para>
|
---|
| 211 |
|
---|
| 212 | <screen><userinput>while read -r line; do
|
---|
| 213 |
|
---|
| 214 | # Get the file name, ignoring comments and blank lines
|
---|
| 215 | if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
|
---|
| 216 | file=$(echo $line | cut -d" " -f2)
|
---|
[f3429309] | 217 |
|
---|
[153a5795] | 218 | pkg=$(echo $file|sed 's|^.*/||') # Remove directory
|
---|
| 219 | packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
|
---|
| 220 |
|
---|
| 221 | tar -xf $file
|
---|
| 222 | pushd $packagedir
|
---|
| 223 |
|
---|
[69a9de5] | 224 | mkdir build
|
---|
| 225 | cd build
|
---|
[153a5795] | 226 |
|
---|
[1c8d0ff] | 227 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
| 228 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 229 | -DBUILD_TESTING=OFF \
|
---|
[69a9de5] | 230 | -Wno-dev .. &&
|
---|
[153a5795] | 231 |
|
---|
[69a9de5] | 232 | make
|
---|
| 233 | as_root make install
|
---|
| 234 | popd
|
---|
[153a5795] | 235 |
|
---|
[b44e7de2] | 236 | <!-- some packages end up with files owned by root in $packagedir,
|
---|
[8f445fdc] | 237 | so use as_root for removing -->
|
---|
| 238 | as_root rm -rf $packagedir
|
---|
[69a9de5] | 239 | as_root /sbin/ldconfig
|
---|
| 240 |
|
---|
[ed4a7a2] | 241 | done < plasma-&plasma5-version;.md5
|
---|
[153a5795] | 242 |
|
---|
[1c8d0ff] | 243 | exit
|
---|
| 244 |
|
---|
| 245 | cd $KF5_PREFIX/share/plasma/plasmoids
|
---|
[153a5795] | 246 |
|
---|
[1c8d0ff] | 247 | for j in $(find -name \*.js); do
|
---|
[3d656d7] | 248 | as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
|
---|
[1c8d0ff] | 249 | done</userinput></screen>
|
---|
[153a5795] | 250 |
|
---|
| 251 | </sect2>
|
---|
| 252 |
|
---|
| 253 | <sect2 role="commands">
|
---|
| 254 | <title>Command Explanations</title>
|
---|
| 255 |
|
---|
| 256 | <para>
|
---|
[1c8d0ff] | 257 | <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
|
---|
| 258 | Create symbolic links so qml files can find needed javascript modules.
|
---|
[153a5795] | 259 | </para>
|
---|
| 260 |
|
---|
| 261 | </sect2>
|
---|
[3b0f105] | 262 |
|
---|
| 263 | <sect2 role="configuration">
|
---|
| 264 | <title>Configuring Plasma</title>
|
---|
| 265 |
|
---|
| 266 | <sect3>
|
---|
| 267 | <title>Linux PAM Configuration</title>
|
---|
| 268 |
|
---|
| 269 | <para>
|
---|
| 270 | If you built Plasma with the recommended <application>Linux
|
---|
| 271 | PAM</application> support, create necessary configuration files by
|
---|
| 272 | running the following commands as the <systemitem
|
---|
| 273 | class="username">root</systemitem> user:
|
---|
| 274 | </para>
|
---|
| 275 |
|
---|
| 276 | <screen role="root"><userinput>cat >> /etc/pam.d/kde << "EOF"
|
---|
| 277 | # Begin /etc/pam.d/kde
|
---|
| 278 |
|
---|
| 279 | auth requisite pam_nologin.so
|
---|
| 280 | auth required pam_env.so
|
---|
| 281 |
|
---|
| 282 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 283 | auth include system-auth
|
---|
| 284 |
|
---|
| 285 | account include system-account
|
---|
| 286 | password include system-password
|
---|
| 287 | session include system-session
|
---|
| 288 |
|
---|
| 289 | # End /etc/pam.d/kde
|
---|
| 290 | EOF
|
---|
| 291 |
|
---|
| 292 | cat > /etc/pam.d/kde-np << "EOF"
|
---|
| 293 | # Begin /etc/pam.d/kde-np
|
---|
| 294 |
|
---|
| 295 | auth requisite pam_nologin.so
|
---|
| 296 | auth required pam_env.so
|
---|
| 297 |
|
---|
| 298 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
| 299 | auth required pam_permit.so
|
---|
| 300 |
|
---|
| 301 | account include system-account
|
---|
| 302 | password include system-password
|
---|
| 303 | session include system-session
|
---|
| 304 |
|
---|
| 305 | # End /etc/pam.d/kde-np
|
---|
| 306 | EOF
|
---|
| 307 |
|
---|
| 308 | cat > /etc/pam.d/kscreensaver << "EOF"
|
---|
| 309 | # Begin /etc/pam.d/kscreensaver
|
---|
| 310 |
|
---|
| 311 | auth include system-auth
|
---|
| 312 | account include system-account
|
---|
| 313 |
|
---|
| 314 | # End /etc/pam.d/kscreensaver
|
---|
| 315 | EOF</userinput></screen>
|
---|
| 316 | </sect3>
|
---|
| 317 | </sect2>
|
---|
| 318 |
|
---|
[1c8d0ff] | 319 | <sect2 role="starting">
|
---|
| 320 | <title>Starting Plasma5</title>
|
---|
| 321 |
|
---|
[3f460da0] | 322 | <para revision="sysv">
|
---|
[1c8d0ff] | 323 | You can start <application>Plasma5</application> from runlevel 3, using
|
---|
| 324 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
| 325 | such as <xref linkend="sddm"/>.
|
---|
| 326 | </para>
|
---|
| 327 |
|
---|
[3f460da0] | 328 | <para revision="systemd">
|
---|
| 329 | You can start <application>Plasma5</application> from a TTY, using
|
---|
[fd42347a] | 330 | <xref linkend="xinit"/><!--, or from a graphical display manager, such as
|
---|
| 331 | <xref linkend="sddm"/>-->.
|
---|
[3f460da0] | 332 | </para>
|
---|
| 333 |
|
---|
[1c8d0ff] | 334 | <para>
|
---|
[460cec4b] | 335 | To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
|
---|
[1c8d0ff] | 336 | run the following commands:
|
---|
| 337 | </para>
|
---|
| 338 |
|
---|
[3f460da0] | 339 | <screen revision="sysv"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[1c8d0ff] | 340 | <literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
|
---|
| 341 | EOF
|
---|
| 342 |
|
---|
[3f460da0] | 343 | startx</userinput></screen>
|
---|
| 344 |
|
---|
| 345 | <screen revision="systemd"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
| 346 | <literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
|
---|
| 347 | EOF
|
---|
| 348 |
|
---|
[1c8d0ff] | 349 | startx</userinput></screen>
|
---|
| 350 |
|
---|
| 351 | <para>
|
---|
| 352 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
| 353 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
| 354 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
| 355 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
| 356 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
| 357 | <command>startx</command> was executed will display many messages,
|
---|
| 358 | including X starting messages, applications automatically started with
|
---|
| 359 | the session, and eventually, some warning and error messages. You may
|
---|
| 360 | prefer to redirect those messages to a log file, which not only will keep
|
---|
| 361 | the initial vt uncluttered, but can also be used for debugging purposes. This
|
---|
| 362 | can be done starting X with:
|
---|
| 363 | </para>
|
---|
| 364 |
|
---|
[3011abe] | 365 | <screen><userinput>startx &> ~/x-session-errors</userinput></screen>
|
---|
[1c8d0ff] | 366 |
|
---|
[3f460da0] | 367 | <note revision="sysv">
|
---|
[1c8d0ff] | 368 | <para>
|
---|
| 369 | You may wish to drop consolekit and/or dbus-launch, e.g., just using
|
---|
| 370 | startkde in ~/.xinitrc. However some capabilities such as mounting or
|
---|
| 371 | umounting file systems from a file manager will not be possible, or the
|
---|
| 372 | reboot option may be absent or inoperative, among other problems.
|
---|
| 373 | </para>
|
---|
| 374 | </note>
|
---|
| 375 | <para>
|
---|
| 376 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
| 377 | where X was running. If you wish to see those messages, simultaneously
|
---|
| 378 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
| 379 | </para>
|
---|
| 380 |
|
---|
[f29eb8a] | 381 | <para>If you intend to start <application>Plasma</application> using a
|
---|
| 382 | display manager such as <xref linkend="sddm"/>, there will be two entries
|
---|
| 383 | for <application>Plasma</application>, one for use with
|
---|
| 384 | <application>Xorg</application>, and another for
|
---|
| 385 | <application>Wayland</application>. Modify the
|
---|
| 386 | <application>Xorg</application> entry with the following command, as the
|
---|
| 387 | <systemitem class="username">root</systemitem> user, so that you can
|
---|
| 388 | differentiate between the two:</para>
|
---|
| 389 |
|
---|
| 390 | <screen><userinput role="root">sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
|
---|
| 391 |
|
---|
| 392 |
|
---|
[1c8d0ff] | 393 | </sect2>
|
---|
| 394 |
|
---|
[153a5795] | 395 | <sect2 role="content">
|
---|
| 396 | <title>Contents</title>
|
---|
| 397 |
|
---|
| 398 | <segmentedlist>
|
---|
| 399 | <segtitle>Installed Programs</segtitle>
|
---|
| 400 | <segtitle>Installed Libraries</segtitle>
|
---|
| 401 | <segtitle>Installed Directories</segtitle>
|
---|
| 402 |
|
---|
| 403 | <seglistitem>
|
---|
| 404 | <seg>
|
---|
[83ef2a4] | 405 | There are too many plasma programs (50 in /opt/kf5/bin) to list
|
---|
| 406 | separately here.
|
---|
[153a5795] | 407 | </seg>
|
---|
| 408 | <seg>
|
---|
[83ef2a4] | 409 | There are too many plasma libraries (39 in /opt/kf5/lib) to list
|
---|
| 410 | separately here.
|
---|
[153a5795] | 411 | </seg>
|
---|
| 412 | <seg>
|
---|
[83ef2a4] | 413 | There are too many plasma directories (over 1000 in /opt/kf5) to
|
---|
| 414 | list separately here.
|
---|
[153a5795] | 415 | </seg>
|
---|
| 416 | </seglistitem>
|
---|
| 417 | </segmentedlist>
|
---|
| 418 |
|
---|
| 419 | </sect2>
|
---|
| 420 |
|
---|
| 421 | </sect1>
|
---|
| 422 |
|
---|