TranslateProject/sources/tech/20221105.2 ⭐️ How to Install and Configure KDE Plasma Desktop in Arch Linux [Complete Guide].md

118 lines
5.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[#]: subject: "How to Install and Configure KDE Plasma Desktop in Arch Linux [Complete Guide]"
[#]: via: "https://www.debugpoint.com/kde-plasma-arch-linux-install/"
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
How to Install and Configure KDE Plasma Desktop in Arch Linux [Complete Guide]
======
**If you love KDE and Arch Linux, this guide is for you. This guide explains the steps needed to set up a fully functioning KDE Plasma desktop with all of its native applications.**
Lets take a look at how you can install KDE Plasma in Arch Linux.
In the earlier posts, we explained that you could set up a bare minimum Arch Linux with an [automated archinstall script][1] and also explained how you can install GNOME, LXQt, and Xfce desktop Arch Linux. And now, we explain the steps for the KDE Plasma desktop.
### KDE Plasma desktop
[KDE Plasma][2] is a lightweight and visually appealing desktop environment for Linux that comes with tons of customization options at a very detailed level. The latest iteration of this desktop is Plasma 5, which is based on Qt5, KDE Framework 5 provides both Xorg and Wayland display server options.
The current KDE Plasma desktop version is [5.26 stable][3], which this article uses for installation.
This guide requires that you install the bare minimum Arch Linux shell already. If not, then follow this [simple guide][1] to install a basic skeleton of Arch Linux. Then continue with the following steps.
Also, ensure you have admin privileges with your user for running the pacman package manager.
### Install and Configure KDE Plasma Desktop in Arch Linux
You need the following packages for a fully functional KDE Plasma system in Arch Linux.
- [plasma][4] (~590 mb) basic plasma packages
- [kde-applications][5](~800 mb) additional KDE native applications (Konsole, etc)
- xorg display server
- sddm display manager
These four packages are necessary. However, you can optionally install [plasma-wayland-session][6] if you want to use the Wayland display server.
#### 1. Install packages
Open a terminal and run the following command to install those packages.
```
pacman -S --needed xorg sddmpacman -S --needed plasma kde-applications
```
When asked to select a package, press enter for default selection. If you are unsure, choose the following options when asked on the screen.
pipewire-media-sessionphonon-qt5-gstreamerpyside2cronietesseract-data-eng (for english)
Wait for the installation to finish.
#### 2. Enable display server and network
Now its time to enable the display manager and network; otherwise, you will not be able to log in. Run the following commands after the above commands are complete.
```
sudo systemctl enable sddmsudo systemctl enable NetworkManager
```
#### 3. Configure sddm and reboot
One last configuration you need for the KDE Plasma desktop is related to the login screen. By default, sddm uses its own failsafe login screen, which is not the typical KDE Plasma “breeze” login screen. A small tweak is needed for a KDE Plasma login screen.
Open the `sddm.conf` file from the terminal.
```
sudo nano /usr/lib/sddm/sddm.conf.d/default.conf
```
Change the theme section as per below.
```
[Theme]
# current theme name
Current=breeze
```
![Modify the sddm configuration to accept breeze theme][7]
Press `CTRL+O` and `CTRL+X` to save and exit the nano editor. Now you can restart your Arch system using the below command:
```
sudo systemctl reboot
```
And you should be greeted with a nice KDE Plasma login screen and a desktop.
![Arch Linux Running KDE Plasma Desktop][8]
That wraps up the steps for KDE Plasma desktop installation in Arch Linux. I hope you get all the steps correctly and can install them. If you face any errors, comment below.
Whats next? You may want to check out other [Arch Linux guides][9], Or browse the website for a more interesting read.
--------------------------------------------------------------------------------
via: https://www.debugpoint.com/kde-plasma-arch-linux-install/
作者:[Arindam][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.debugpoint.com/author/admin1/
[b]: https://github.com/lkxed
[1]: https://www.debugpoint.com/archinstall-guide/
[2]: https://kde.org/plasma-desktop/
[3]: https://www.debugpoint.com/kde-plasma-5-26/
[4]: https://archlinux.org/packages/extra/x86_64/plasma-desktop/
[5]: https://archlinux.org/groups/x86_64/kde-applications/
[6]: https://archlinux.org/packages/extra/x86_64/plasma-wayland-session/
[7]: https://www.debugpoint.com/wp-content/uploads/2021/01/Modify-the-sddm-configuration-to-accept-breeze-theme.jpg
[8]: https://www.debugpoint.com/wp-content/uploads/2021/01/Arch-Linux-Running-KDE-Plasma-Desktop-1024x640.jpg
[9]: https://www.debugpoint.com/tag/arch-linux