KDE: Difference between revisions

From Alpine Linux
m (Minor updates all around for package arches, update the pkg template usage. etc.)
m (→‎Prerequisites: Add missing prerequisite packages that caused SDDM to not accepting input events (keyboard and mouse). source: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15006#note_317477)
Line 15: Line 15:
* [[D-Bus#Installation|Install and configure D-Bus]]
* [[D-Bus#Installation|Install and configure D-Bus]]
* [[Elogind#Installation|Install and configure Elogind]]
* [[Elogind#Installation|Install and configure Elogind]]
* Install package <code>xf86-input-libinput</code>


<br>
<br>

Revision as of 07:48, 4 February 2024

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-desktop-meta package isn't available for the ppc64le, s390x, armhf, or riscv64 architectures due to the kdeplasma-addons dependency not being available there. However, the rest of Plasma may be installed separately to potentially get a functional desktop.



Prerequisites


Installation

The following command will install the Plasma desktop as specified by the plasma metapackage, including the sddm display manager and other assorted niceties.

# apk add plasma


Setting up eudev on a desktop system is recommended:

# setup-devd udev

For more details and advanced instructions see Device Manager.

Note: polkit and udev are optional services for authentication and device management respectively. While KDE will function without these services enabled, some functionality may be missing or incomplete.


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:

Note: Most of these are not available on ppc64le or s390x.


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