KDE: Difference between revisions

From Alpine Linux
No edit summary
No edit summary
Line 3: Line 3:
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.


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.
{{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.}}


= Installation =
<br>


=== Prerequisites ===
== Prerequisites ==


* [[Installation|Alpine Installation]]
* [[Installation|Install]] AlpineLinux
* [[Setting_up_a_new_user#Creating_a_new_user|Create user accounts]]
* [https://wiki.alpinelinux.org/wiki/Post_installation#Creating_a_new_user_account Create a user account] (optional but recommended)
* [[Alpine_setup_scripts#setup-xorg-base|Graphical base environment]]
* [https://wiki.alpinelinux.org/wiki/Post_installation#Repositories Enable the Community repository]
* [[Enable_Community_Repository#Using_community_repositories|Enabled "community" repository]]
* [[Alpine_setup_scripts#setup-xorg-base|Install Xorg]]


=== Plasma ===
{{Note|Wayland can be used but may be less stable and KDE may still require Xorg}}


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.
<br>


Alternatively, a smaller installation can be done by installing {{Pkg|plasma-desktop}}.
== Installation ==


=== KDE Applications ===
==== Standard plasma installation ====
 
{{Cmd|# apk add plasma}}
 
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|# plasma-desktop plasma-settings sddm breeze}}
 
<br>
 
== KDE Applications ==


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:
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:
Line 37: Line 53:
* {{Pkg|kde-applications-webdev}}
* {{Pkg|kde-applications-webdev}}


= Starting Plasma =
<br>
 
== 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}}.
When Plasma is installed via the {{Pkg|plasma}} meta-package, the display manager is set up using {{Pkg|sddm}}.
Line 55: Line 73:
* Select ''Plasma (X11)'' to launch a new session in Xorg
* 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 startplasma-x11</code> to your <code>.xinitrc</code> file. To 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:
Line 65: Line 83:
</pre>
</pre>


=See also=
<br>
 
== See also ==
* [[Alpine newbie]]
* [[Post installation]]
* [[Flatpak]]
* [[Flatpak]]


[[category:Desktop]]
[[Category:Desktop]]

Revision as of 17:42, 31 December 2021

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 KDE may still require Xorg


Installation

Standard plasma installation

# apk add plasma

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:

# plasma-desktop plasma-settings sddm breeze


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