[8fe1ea6] | 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>
|
---|
| 12 | <othername>$LastChangedBy$</othername>
|
---|
| 13 | <date>$Date$</date>
|
---|
| 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 | &lfs75_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="kdesu"/>,
|
---|
| 72 | <xref linkend="kdewebkit"/>,
|
---|
| 73 | <xref linkend="kidletime"/>,
|
---|
| 74 | <xref linkend="kjsembed"/>,
|
---|
| 75 | <xref linkend="knotifyconfig"/>,
|
---|
| 76 | <xref linkend="krunner"/>,
|
---|
| 77 | <xref linkend="kwin5"/>,
|
---|
| 78 | <xref linkend="libkscreen"/> and
|
---|
| 79 | <xref linkend="libksysguard"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 83 | <para role="recommended">
|
---|
| 84 | <xref linkend="ktexteditor"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
|
---|
| 88 | <para role="required">
|
---|
| 89 | <xref linkend="breeze"/>,
|
---|
| 90 | <xref linkend="kde-cli-tools"/>,
|
---|
| 91 | <xref linkend="kded"/>,
|
---|
| 92 | <xref linkend="khelpcenter"/>,
|
---|
| 93 | <xref linkend="kio-extras"/>,
|
---|
| 94 | <xref linkend="milou"/>,
|
---|
| 95 | <xref linkend="oxygen"/> and
|
---|
| 96 | <xref linkend="plasma-workspace-wallpapers"/>
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
| 101 | <ulink url="http://gpsd.berlios.de/">libgps</ulink>,
|
---|
| 102 | <ulink url="http://qalculate.sourceforge.net">libqalculate</ulink> and
|
---|
| 103 | <xref linkend="linux-pam"/>
|
---|
| 104 | <!-- Prison, kdepimlibs5 -->
|
---|
| 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 | -DSYSCONF_INSTALL_DIR=$KF5_SYSCONFDIR \
|
---|
| 126 | -DLIB_INSTALL_DIR=lib \
|
---|
| 127 | -DBUILD_TESTING=OFF \
|
---|
| 128 | -DQML_INSTALL_DIR=&qt5-qml-dir; \
|
---|
| 129 | -DQT_PLUGIN_INSTALL_DIR=&qt5-plugins-dir; \
|
---|
| 130 | .. &&
|
---|
| 131 | make</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | This package does not come with a test suite.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
| 141 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 142 |
|
---|
[b9ae33f] | 143 | <para>
|
---|
| 144 | Make the startup script call <command>qtpaths-qt5</command> instead of
|
---|
| 145 | <command>qtpaths</command> in case <application>qtchooser</application>
|
---|
| 146 | is being used by running the following command as the
|
---|
| 147 | <systemitem class="username">root</systemitem> user:
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
| 150 | <screen role="root"><userinput>sed -i "s:qtpaths:&-qt5:g" $KF5_PREFIX/bin/startkde</userinput></screen>
|
---|
| 151 |
|
---|
[8fe1ea6] | 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="commands">
|
---|
| 155 | <title>Command Explanations</title>
|
---|
| 156 |
|
---|
| 157 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 158 | href="../../xincludes/cmake-release.xml"/>
|
---|
| 159 |
|
---|
| 160 | <para>
|
---|
| 161 | <parameter>-DSYSCONF_INSTALL_DIR=$KF5_SYSCONFDIR</parameter>: This switch
|
---|
| 162 | is used to set correct XDG configuration directory.
|
---|
| 163 | </para>
|
---|
| 164 |
|
---|
| 165 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 166 | href="../../xincludes/kf5-libdir.xml"/>
|
---|
| 167 |
|
---|
| 168 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 169 | href="../../xincludes/kf5-tests.xml"/>
|
---|
| 170 |
|
---|
| 171 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 172 | href="../../xincludes/qt5-qml-dir.xml"/>
|
---|
| 173 |
|
---|
| 174 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 175 | href="../../xincludes/qt5-plugins-dir.xml"/>
|
---|
| 176 |
|
---|
| 177 | </sect2>
|
---|
| 178 |
|
---|
| 179 | <sect2 role="configuration">
|
---|
| 180 | <title>Configuring Plasma-Workspace</title>
|
---|
| 181 |
|
---|
| 182 | <note>
|
---|
| 183 | <para>
|
---|
| 184 | This section can be skipped if <application>KDE Plasma 5</application>
|
---|
| 185 | was installed in <filename class="directory">/usr</filename>
|
---|
| 186 | </para>
|
---|
| 187 | </note>
|
---|
| 188 |
|
---|
| 189 | <para>
|
---|
| 190 | Create a wrapper script that will be used to start the
|
---|
| 191 | <application>KDE Plasma 5</application> by running
|
---|
| 192 | the following command as the <systemitem
|
---|
| 193 | class="username">root</systemitem> user:
|
---|
| 194 | </para>
|
---|
| 195 |
|
---|
| 196 | <screen role="root"><userinput>cat > $KF5_PREFIX/bin/startkde-wrapper << "EOF"
|
---|
| 197 | <literal>#!/bin/sh -e
|
---|
| 198 |
|
---|
| 199 | . /etc/profile.d/qt5.sh
|
---|
| 200 | . /etc/profile.d/kf5.sh
|
---|
| 201 |
|
---|
| 202 | exec $KF5_PREFIX/bin/startkde "$@"</literal>
|
---|
| 203 | EOF
|
---|
| 204 | chmod -v 755 $KF5_PREFIX/bin/startkde-wrapper</userinput></screen>
|
---|
| 205 |
|
---|
| 206 | <para>
|
---|
| 207 | If you are using a display manager to log into your desktop,
|
---|
| 208 | let it know about <application>KDE</application> Plasma
|
---|
| 209 | Desktop by running the following command as the
|
---|
| 210 | <systemitem class="username">root</systemitem> user:
|
---|
| 211 | </para>
|
---|
| 212 |
|
---|
| 213 | <screen role="root"><userinput>install -v -dm755 /usr/share/xsessions
|
---|
| 214 | sed -i "s:startkde:&-wrapper:g" $KF5_PREFIX/share/xsessions/plasma.desktop
|
---|
| 215 | ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop /usr/share/xsessions/kf5-plasma.desktop</userinput></screen>
|
---|
| 216 |
|
---|
| 217 | </sect2>
|
---|
| 218 |
|
---|
| 219 | <sect2 role="content">
|
---|
| 220 | <title>Contents</title>
|
---|
| 221 |
|
---|
| 222 | <segmentedlist>
|
---|
| 223 | <segtitle>Installed Programs</segtitle>
|
---|
| 224 | <segtitle>Installed Libraries</segtitle>
|
---|
| 225 | <segtitle>Installed Directories</segtitle>
|
---|
| 226 |
|
---|
| 227 | <seglistitem>
|
---|
| 228 | <seg>
|
---|
| 229 | kcheckrunning, kcminit, kcminit_startup, kdostartupconfig5,
|
---|
| 230 | kglobalaccel5, klipper, krunner, ksmserver, ksplashqml,
|
---|
| 231 | kstartupconfig5, kuiserver5, plasmashell, startkde and
|
---|
| 232 | systemmonitor
|
---|
| 233 | </seg>
|
---|
| 234 | <seg>
|
---|
| 235 | libkdeinit5_kcminit.so, libkdeinit5_kcminit_startup.so,
|
---|
| 236 | libkdeinit5_kglobalaccel5.so, libkdeinit5_klipper.so,
|
---|
| 237 | libkdeinit5_ksmserver.so, libkdeinit5_kuiserver5.so,
|
---|
| 238 | libKF5XmlRpcClientPrivate.so, libkworkspace.so,
|
---|
| 239 | libplasma-geolocation-interface.so, libtaskmanager.so and
|
---|
| 240 | libweather_ion.so
|
---|
| 241 | </seg>
|
---|
| 242 | <seg>
|
---|
| 243 | $KF5_PREFIX/include/{KDE,kworkspace,plasma,taskmanager},
|
---|
| 244 | $KF5_PREFIX/lib/cmake/{KRunnerAppDBusInterface,KSMServerDBusInterface},
|
---|
| 245 | $KF5_PREFIX/lib/cmake/{LibKWorkspace,LibTaskManager,ScreenSaverDBusInterface},
|
---|
| 246 | $KF5_PREFIX/&qt5-plugins-dir;/plasma,
|
---|
| 247 | $KF5_PREFIX/&qt5-qml-dir;/org/kde/{plasma,private},
|
---|
| 248 | $KF5_PREFIX/share/doc/HTML/*/klipper,
|
---|
| 249 | $KF5_PREFIX/share/{drkonqi,ksmserver,ksplash},
|
---|
| 250 | $KF5_PREFIX/share/plasma/{look-and-fee,plasmoids,services},
|
---|
| 251 | $KF5_PREFIX/share/plasma/{shareprovider,wallpapers},
|
---|
| 252 | $KF5_PREFIX/share/sddm,
|
---|
| 253 | $KF5_PREFIX/share/solid and
|
---|
| 254 | $KF5_PREFIX/share/xsessions
|
---|
| 255 | </seg>
|
---|
| 256 | </seglistitem>
|
---|
| 257 | </segmentedlist>
|
---|
| 258 |
|
---|
| 259 | </sect2>
|
---|
| 260 |
|
---|
| 261 | </sect1>
|
---|