KDE: Difference between revisions

From Alpine Linux
(Created page with "KDE is a software project comprising a desktop environment known as Plasma, a collection of libraries and frameworks known as KDE Frameworks, and several applications known as...")
 
m (Change link to Repositories page)
(29 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[File:KDEScreenshot.png |thumb |KDE Plasma screenshot.]]
KDE is a software project comprising a desktop environment known as Plasma, a collection of libraries and frameworks known as KDE Frameworks, and several applications known as KDE Applications. Their [https://userbase.kde.org/Welcome_to_KDE_UserBase UserBase wiki] has detailed information about most KDE Applications.
KDE is a software project comprising a desktop environment known as Plasma, a collection of libraries and frameworks known as KDE Frameworks, and several applications known as KDE Applications. Their [https://userbase.kde.org/Welcome_to_KDE_UserBase UserBase wiki] has detailed information about most KDE Applications.


= Installation =
{{Note|the {{Pkg|plasma}} package isn't available for the <code>ppc64le</code> and <code>s390x</code> architectures due to the {{Pkg|kdeplasma-addons}} dependency not being available there. However, the rest of Plasma can be installed separately to get a functional desktop.}}
 
<br>
 
== Prerequisites ==
 
* [[Installation|Install]] AlpineLinux
* [[Setting_up_a_new_user#Creating_a_new_user|Create a user account]] (optional but recommended)
* [[Repositories#Enabling_the_community_repository|Enable the Community repository]]
* [[Alpine_setup_scripts#setup-xorg-base|Install Xorg]]
 
{{Note|[[Wayland]] can be used but may be less stable and Plasma may still require Xorg}}
 
<br>
 
== Installation ==
 
==== Standard plasma installation ====
 
{{Cmd|# apk add plasma elogind polkit-elogind dbus}}
 
This will install the required Plasma packages, {{Pkg|sddm}} and pre-configure it to use the Breeze theme.
 
<br>
 
==== Lightweight plasma installation ====
 
Alternatively, a smaller installation can be done:
 
{{Cmd|# apk add plasma-desktop systemsettings sddm breeze elogind polkit-elogind dbus}}
 
<br>
 
{{Note|If you are missing something that is in a standard Plasma installation check out the dependencies of the {{Pkg|plasma}} package because it is likely you will find whatever your missing there.}}
 
<br>
 
For both installation methods you need to enable the following services:
 
{{Cmd|# rc-update add dbus}}
{{Cmd|# rc-update add elogind}}
{{Cmd|# rc-update add polkit}}
{{Cmd|# rc-update add udev}}
 
<br>
 
{{Note|'''polkit''' and '''udev''' are technically optional (or have other alternatives) but if they are not installed/started features (or the system) may not work properly, modify this at your own risk!}}


=== Plasma ===
<br>


Before installation, make sure Xorg is setup.
== KDE Applications ==
{{Cmd|setup-xorg-base}}


Install the {{Pkg|plasma}} meta-package. This will install the required Plasma packages and {{Pkg|sddm}} and pre-configure it to use the Breeze theme. Alternatively a more minimal installation can be done by installing {{Pkg|plasma-desktop}}.
To install the full set of KDE Applications, install {{Pkg|kde-applications}}. You can also choose to install a smaller set of applications by installing any of the subpackages:


=== KDE Applications ===
* {{Pkg|kde-applications-accessibility}}
* {{Pkg|kde-applications-admin}}
* {{Pkg|kde-applications-base}}
* {{Pkg|kde-applications-edu}}, not available for <code>ppc64le</code> and <code>s390x</code>
* {{Pkg|kde-applications-games}}
* {{Pkg|kde-applications-graphics}}
* {{Pkg|kde-applications-multimedia}}
* {{Pkg|kde-applications-network}}, not available for <code>ppc64le</code> and <code>s390x</code>
* {{Pkg|kde-applications-pim}}, not available for <code>ppc64le</code> and <code>s390x</code>
* {{Pkg|kde-applications-sdk}}
* {{Pkg|kde-applications-utils}}
* {{Pkg|kde-applications-webdev}}


{{Draft|A KDE Applications meta packages has yet to be made}}
<br>


= Starting Plasma =
== Starting Plasma ==


Plasma can be started using a display manager or from the console.
Plasma can be started using a display manager or from the console.


=== Using a display manager ===
==== Using a display manager ====
 
When Plasma is installed via the {{Pkg|plasma}} meta-package, the display manager is set up using {{Pkg|sddm}}.
 
Make sure you enable and start the SDDM service.


When Plasma is installed via the {{Pkg|plasma}} meta-package, this has already been setup using {{Pkg|sddm}}.
<pre>
rc-update add sddm
rc-service sddm start
</pre>


* Select ''Plasma'' to launch a new session in Xorg
* Select ''Plasma'' to launch a new session in Wayland
* Select ''Plasma (Wayland)'' to launch a new session in Wayland
* Select ''Plasma (X11)'' to launch a new session in Xorg


=== From the console ===
==== From the console ====


The Xorg session can be launched by installing {{Pkg|xinit}} and appending <code>exec startkde</code> to your <code>.xinitrc</code> file. Then just start X.
The Xorg session can be launched by installing {{Pkg|xinit}} and appending <code>exec startplasma-x11</code> to your <code>.xinitrc</code> file. To start X:
{{Cmd|xinit}}
{{Cmd|xinit}}


For the Wayland session run
For the Wayland session run
<pre>
<pre>
XDG_SESSION_TYPE=wayland dbus-run-session startplasmacompositor
XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland
</pre>
</pre>
<br>
== See also ==
* [[Installation#Post-Install|Post Install]]
* [[Flatpak]]
[[Category:Desktop]]

Revision as of 04:29, 27 June 2022

KDE Plasma screenshot.

KDE is a software project comprising a desktop environment known as Plasma, a collection of libraries and frameworks known as KDE Frameworks, and several applications known as KDE Applications. Their UserBase wiki has detailed information about most KDE Applications.

Note: the plasma package isn't available for the ppc64le and s390x architectures due to the kdeplasma-addons dependency not being available there. However, the rest of Plasma can be installed separately to get a functional desktop.


Prerequisites

Note: Wayland can be used but may be less stable and Plasma may still require Xorg


Installation

Standard plasma installation

# apk add plasma elogind polkit-elogind dbus

This will install the required Plasma packages, sddm and pre-configure it to use the Breeze theme.


Lightweight plasma installation

Alternatively, a smaller installation can be done:

# apk add plasma-desktop systemsettings sddm breeze elogind polkit-elogind dbus


Note: If you are missing something that is in a standard Plasma installation check out the dependencies of the plasma package because it is likely you will find whatever your missing there.


For both installation methods you need to enable the following services:

# rc-update add dbus

# rc-update add elogind

# rc-update add polkit

# rc-update add udev


Note: polkit and udev are technically optional (or have other alternatives) but if they are not installed/started features (or the system) may not work properly, modify this at your own risk!


KDE Applications

To install the full set of KDE Applications, install kde-applications. You can also choose to install a smaller set of applications by installing any of the subpackages:


Starting Plasma

Plasma can be started using a display manager or from the console.

Using a display manager

When Plasma is installed via the plasma meta-package, the display manager is set up using sddm.

Make sure you enable and start the SDDM service.

rc-update add sddm
rc-service sddm start
  • Select Plasma to launch a new session in Wayland
  • Select Plasma (X11) to launch a new session in Xorg

From the console

The Xorg session can be launched by installing xinit and appending exec startplasma-x11 to your .xinitrc file. To start X:

xinit

For the Wayland session run

XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland


See also