[ac38e9dc] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 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 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="plasma-workspace" xreflabel="Plasma-Workspace-&plasma-version;">
|
---|
| 9 | <?dbhtml filename="plasma-workspace.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info>
|
---|
[288406c7] | 12 | <othername>$LastChangedBy$</othername>
|
---|
| 13 | <date>$Date$</date>
|
---|
[ac38e9dc] | 14 | </sect1info>
|
---|
| 15 |
|
---|
| 16 | <title>Plasma-Workspace-&plasma-version;</title>
|
---|
| 17 |
|
---|
| 18 | <indexterm zone="plasma-workspace">
|
---|
| 19 | <primary sortas="a-Plasma-Workspace">Plasma-Workspace</primary>
|
---|
| 20 | </indexterm>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="package">
|
---|
| 23 | <title>Introduction to Plasma-Workspace</title>
|
---|
| 24 |
|
---|
| 25 | <para>
|
---|
| 26 | The <application>Plasma-Workspace</application> package contains the
|
---|
| 27 | KDE Plasma Workspace.
|
---|
| 28 | </para>
|
---|
| 29 |
|
---|
| 30 | &lfs77_checked;
|
---|
| 31 |
|
---|
| 32 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 33 | <itemizedlist spacing="compact">
|
---|
| 34 | <listitem>
|
---|
| 35 | <para>
|
---|
| 36 | Download (HTTP): <ulink url="&plasma-workspace-download-http;"/>
|
---|
| 37 | </para>
|
---|
| 38 | </listitem>
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (FTP): <ulink url="&plasma-workspace-download-ftp;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download MD5 sum: &plasma-workspace-md5sum;
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download size: &plasma-workspace-size;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Estimated disk space required: &plasma-workspace-buildsize;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated build time: &plasma-workspace-time;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect3">Plasma-Workspace Dependencies</bridgehead>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 69 | <para role="required">
|
---|
| 70 | <xref linkend="baloo5"/>,
|
---|
| 71 | <xref linkend="kwayland"/>,
|
---|
[6e7faf9] | 72 | <xref linkend="kwin5"/>,
|
---|
| 73 | <xref linkend="libkscreen"/>, and
|
---|
| 74 | <xref linkend="libksysguard"/>
|
---|
[ac38e9dc] | 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
| 79 | <ulink url="http://gpsd.berlios.de/">libgps</ulink>,
|
---|
| 80 | <ulink url="http://qalculate.sourceforge.net">libqalculate</ulink>,
|
---|
| 81 | <xref linkend="linux-pam"/> and
|
---|
| 82 | <ulink url="http://projects.kde.org/prison/">Prison</ulink>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
|
---|
| 86 | <para role="optional"> <!-- Because of circular deps -->
|
---|
| 87 | <xref linkend="bluedevil5"/> (Bluetooth Applet, optional),
|
---|
| 88 | <xref linkend="breeze"/>,
|
---|
[6e7faf9] | 89 | <xref linkend="khelpcenter"/> (Help Viewer, required for most apps' "Help" functionality, optional),
|
---|
[ac38e9dc] | 90 | <xref linkend="kinfocenter"/> (Hardware Information, optional),
|
---|
| 91 | <xref linkend="kio-extras"/>,
|
---|
| 92 | <xref linkend="kmenuedit"/> (Editor for Menu Entries, optional),
|
---|
| 93 | <xref linkend="kmix5"/> (Volume Control Applet, optional),
|
---|
| 94 | <xref linkend="ksysguard"/>,
|
---|
| 95 | <xref linkend="kwrited"/>,
|
---|
| 96 | <xref linkend="milou"/>,
|
---|
| 97 | <xref linkend="oxygen"/>,
|
---|
| 98 | <xref linkend="plasma-desktop"/>,
|
---|
| 99 | <xref linkend="plasma-nm"/> (Network Management Applet, optional),
|
---|
| 100 | <xref linkend="plasma-workspace-wallpapers"/> (Additional Wallpapers, optional),
|
---|
| 101 | <xref linkend="polkit-kde-agent5"/> (Polkit Authentication Agent, recommended),
|
---|
| 102 | <xref linkend="powerdevil"/>,
|
---|
| 103 | <xref linkend="systemd"/> and
|
---|
| 104 | <xref linkend="systemsettings"/>
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para condition="html" role="usernotes">
|
---|
| 108 | User Notes: <ulink url="&blfs-wiki;/plasma-workspace"/>
|
---|
| 109 | </para>
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="installation">
|
---|
| 113 | <title>Installation of Plasma-Workspace</title>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | Install <application>Plasma-Workspace</application> by running the following
|
---|
| 117 | commands:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <screen><userinput>mkdir build &&
|
---|
| 121 | cd build &&
|
---|
| 122 |
|
---|
| 123 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
| 124 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 125 | -DLIB_INSTALL_DIR=lib \
|
---|
| 126 | -DBUILD_TESTING=OFF \
|
---|
| 127 | -DQML_INSTALL_DIR=&qt5-qml-dir; \
|
---|
| 128 | -DQT_PLUGIN_INSTALL_DIR=&qt5-plugins-dir; \
|
---|
| 129 | .. &&
|
---|
| 130 | make</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | This package does not come with a test suite.
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | Make the startup script call <command>qtpaths-qt5</command> instead of
|
---|
| 144 | <command>qtpaths</command> in case <application>qtchooser</application>
|
---|
| 145 | is being used by running the following command as the
|
---|
| 146 | <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
| 148 |
|
---|
| 149 | <screen role="root"><userinput>sed -i "s:qtpaths:&-qt5:g" $KF5_PREFIX/bin/startkde</userinput></screen>
|
---|
| 150 |
|
---|
| 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | <sect2 role="commands">
|
---|
| 154 | <title>Command Explanations</title>
|
---|
| 155 |
|
---|
| 156 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 157 | href="../../xincludes/cmake-release.xml"/>
|
---|
| 158 |
|
---|
| 159 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 160 | href="../../xincludes/kf5-libdir.xml"/>
|
---|
| 161 |
|
---|
| 162 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 163 | href="../../xincludes/kf5-tests.xml"/>
|
---|
| 164 |
|
---|
| 165 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 166 | href="../../xincludes/qt5-qml-dir.xml"/>
|
---|
| 167 |
|
---|
| 168 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 169 | href="../../xincludes/qt5-plugins-dir.xml"/>
|
---|
| 170 |
|
---|
| 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | <sect2 role="configuration">
|
---|
| 174 | <title>Configuring Plasma-Workspace</title>
|
---|
| 175 |
|
---|
| 176 | <para>
|
---|
| 177 | If <application>Linux PAM</application> was present at build time,
|
---|
| 178 | create the necessary configuration file so that the Screen Locker
|
---|
| 179 | can work properly by running the following command as the
|
---|
| 180 | <systemitem class="username">root</systemitem> user:
|
---|
| 181 | </para>
|
---|
| 182 |
|
---|
| 183 | <screen role="root"><userinput>cat > /etc/pam.d/kde << "EOF"
|
---|
| 184 | <literal># Begin /etc/pam.d/kde
|
---|
| 185 |
|
---|
| 186 | auth include system-auth
|
---|
| 187 | account include system-account
|
---|
| 188 | password include system-password
|
---|
| 189 | session include system-session
|
---|
| 190 |
|
---|
| 191 | # End /etc/pam.d/kde</literal>
|
---|
| 192 | EOF</userinput></screen>
|
---|
| 193 |
|
---|
| 194 | <note>
|
---|
| 195 | <para>
|
---|
| 196 | The rest of this section can be skipped if <application>KDE
|
---|
| 197 | Plasma 5</application> was installed in
|
---|
| 198 | <filename class="directory">/usr</filename>
|
---|
| 199 | </para>
|
---|
| 200 | </note>
|
---|
| 201 |
|
---|
| 202 | <para>
|
---|
| 203 | Create a wrapper script that will be used to start the
|
---|
| 204 | <application>KDE Plasma 5</application> by running
|
---|
| 205 | the following command as the <systemitem
|
---|
| 206 | class="username">root</systemitem> user:
|
---|
| 207 | </para>
|
---|
| 208 |
|
---|
| 209 | <screen role="root"><userinput>cat > $KF5_PREFIX/bin/startkde-wrapper << "EOF"
|
---|
| 210 | <literal>#!/bin/sh -e
|
---|
| 211 |
|
---|
| 212 | . /etc/profile.d/kf5.sh
|
---|
| 213 |
|
---|
| 214 | exec $KF5_PREFIX/bin/startkde "$@"</literal>
|
---|
| 215 | EOF
|
---|
| 216 | chmod -v 755 $KF5_PREFIX/bin/startkde-wrapper</userinput></screen>
|
---|
| 217 |
|
---|
| 218 | <para>
|
---|
| 219 | If you are using a display manager to log into your desktop
|
---|
| 220 | (such as <xref linkend="sddm"/>), let it know about the
|
---|
| 221 | <application>KDE</application> Plasma Desktop by running
|
---|
| 222 | the following command as the <systemitem
|
---|
| 223 | class="username">root</systemitem> user:
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
| 226 | <screen role="root"><userinput>install -v -dm755 /usr/share/xsessions
|
---|
| 227 | sed -i "s:startkde:&-wrapper:g" $KF5_PREFIX/share/xsessions/plasma.desktop
|
---|
| 228 | ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop /usr/share/xsessions/kf5-plasma.desktop</userinput></screen>
|
---|
| 229 |
|
---|
| 230 | </sect2>
|
---|
| 231 |
|
---|
| 232 | <sect2 role="content">
|
---|
| 233 | <title>Contents</title>
|
---|
| 234 |
|
---|
| 235 | <segmentedlist>
|
---|
| 236 | <segtitle>Installed Programs</segtitle>
|
---|
| 237 | <segtitle>Installed Libraries</segtitle>
|
---|
| 238 | <segtitle>Installed Directories</segtitle>
|
---|
| 239 |
|
---|
| 240 | <seglistitem>
|
---|
| 241 | <seg>
|
---|
| 242 | kcheckrunning, kcminit, kcminit_startup, kdostartupconfig5,
|
---|
| 243 | klipper, krunner, ksmserver, ksplashqml, kstartupconfig5,
|
---|
| 244 | kuiserver5, plasmashell, plasmawindowed, startkde and
|
---|
| 245 | systemmonitor
|
---|
| 246 | </seg>
|
---|
| 247 | <seg>
|
---|
| 248 | libkdeinit5_kcminit.so, libkdeinit5_kcminit_startup.so,
|
---|
| 249 | libkdeinit5_klipper.so, libkdeinit5_ksmserver.so,
|
---|
| 250 | libkdeinit5_kuiserver5.so, libkworkspace5.so,
|
---|
| 251 | libplasma-geolocation-interface.so, libtaskmanager.so and
|
---|
| 252 | libweather_ion.so
|
---|
| 253 | </seg>
|
---|
| 254 | <seg>
|
---|
| 255 | $KF5_PREFIX/include/{KDE,kworkspace5,plasma,taskmanager},
|
---|
| 256 | $KF5_PREFIX/lib/cmake/{KRunnerAppDBusInterface,KSMServerDBusInterface},
|
---|
| 257 | $KF5_PREFIX/lib/cmake/{LibKWorkspace,LibTaskManager,ScreenSaverDBusInterface},
|
---|
| 258 | $KF5_PREFIX/&qt5-plugins-dir;/kpackage/packagestructure,
|
---|
| 259 | $KF5_PREFIX/&qt5-plugins-dir;/phonon_platform,
|
---|
| 260 | $KF5_PREFIX/&qt5-plugins-dir;/plasma/{dataengine,packagestructure},
|
---|
| 261 | $KF5_PREFIX/&qt5-qml-dir;/org/kde/plasma/private/{battery,digitalclock,icon},
|
---|
| 262 | $KF5_PREFIX/&qt5-qml-dir;/org/kde/plasma/private/{notifications,shell},
|
---|
| 263 | $KF5_PREFIX/&qt5-qml-dir;/org/kde/plasma/{wallpapers,workspace},
|
---|
| 264 | $KF5_PREFIX/&qt5-qml-dir;/org/kde/private/systemtray,
|
---|
| 265 | $KF5_PREFIX/share/doc/HTML/*/klipper,
|
---|
| 266 | $KF5_PREFIX/share/{drkonqi,ksmserver,ksplash,kstyle},
|
---|
| 267 | $KF5_PREFIX/share/plasma/kcms/screenlocker_kcm,
|
---|
| 268 | $KF5_PREFIX/share/plasma/{look-and-feel,plasmoids,services},
|
---|
| 269 | $KF5_PREFIX/share/plasma/{shareprovider,wallpapers} and
|
---|
| 270 | $KF5_PREFIX/share/{sddm,solid,xsessions}
|
---|
| 271 | </seg>
|
---|
| 272 | </seglistitem>
|
---|
| 273 | </segmentedlist>
|
---|
| 274 |
|
---|
| 275 | </sect2>
|
---|
| 276 |
|
---|
| 277 | </sect1>
|
---|