Arch Linux Desktop Environments - ryzendew/Linux-Tips-and-Tricks GitHub Wiki
Arch Linux Desktop Environments Guide
Complete beginner-friendly guide to installing and configuring desktop environments on Arch Linux, including GNOME, KDE Plasma, XFCE, and window managers.
Table of Contents
- Understanding Desktop Environments
- GNOME
- KDE Plasma
- XFCE
- Window Managers
- Display Managers
- Switching Desktop Environments
Understanding Desktop Environments
What is a Desktop Environment?
Desktop Environment (DE) provides graphical interface.
Components:
- Window manager
- File manager
- Applications
- Settings panels
- Themes and icons
Popular Desktop Environments
Major DEs:
- GNOME: Modern, simple
- KDE Plasma: Feature-rich, customizable
- XFCE: Lightweight, traditional
- Window Managers: Minimal, keyboard-driven
GNOME
Install GNOME
Install GNOME:
# Install GNOME
sudo pacman -S gnome gnome-extra
# Or minimal
sudo pacman -S gnome
What's included:
- GNOME Shell
- Files (Nautilus)
- Settings
- Applications
Enable GNOME
Start GNOME:
# Install GDM (display manager)
sudo pacman -S gdm
# Enable GDM
sudo systemctl enable gdm
sudo systemctl start gdm
GNOME Extensions
Install extension manager:
# Install extension manager
sudo pacman -S gnome-shell-extension-manager
# Or browser extension
# Install from: https://extensions.gnome.org/
Popular extensions:
- Dash to Dock
- User Themes
- Clipboard Indicator
GNOME Configuration
Configure GNOME:
# Install tweaks
sudo pacman -S gnome-tweaks
# Open tweaks
gnome-tweaks
Or use Settings:
gnome-control-center
KDE Plasma
Install KDE Plasma
Install KDE:
# Install KDE Plasma
sudo pacman -S plasma kde-applications
# Or minimal
sudo pacman -S plasma-meta
What's included:
- Plasma desktop
- Dolphin (file manager)
- System Settings
- KDE applications
Enable KDE
Start KDE:
# Install SDDM (display manager)
sudo pacman -S sddm
# Enable SDDM
sudo systemctl enable sddm
sudo systemctl start sddm
KDE Configuration
Configure KDE:
# Open System Settings
systemsettings5
# Or from menu
# System Settings
Customize:
- Appearance
- Workspace behavior
- Window management
- Shortcuts
KDE Themes
Install themes:
# Install theme tools
sudo pacman -S kvantum-qt5
# Download themes from:
# https://store.kde.org/
XFCE
Install XFCE
Install XFCE:
# Install XFCE
sudo pacman -S xfce4 xfce4-goodies
# Or minimal
sudo pacman -S xfce4
What's included:
- XFCE desktop
- Thunar (file manager)
- Settings manager
- Panel
Enable XFCE
Start XFCE:
# Install LightDM
sudo pacman -S lightdm lightdm-gtk-greeter
# Enable LightDM
sudo systemctl enable lightdm
sudo systemctl start lightdm
XFCE Configuration
Configure XFCE:
# Open settings
xfce4-settings-manager
# Or from menu
# Settings
Customize:
- Appearance
- Window manager
- Panel
- Desktop
⌨ Window Managers
i3 Window Manager
Install i3:
# Install i3
sudo pacman -S i3-wm i3status i3lock dmenu
# For gaps
yay -S i3-gaps
Configure i3:
# Create config
mkdir -p ~/.config/i3
cp /etc/i3/config ~/.config/i3/config
# Edit config
vim ~/.config/i3/config
Awesome Window Manager
Install Awesome:
# Install Awesome
sudo pacman -S awesome
Configure:
# Create config
mkdir -p ~/.config/awesome
cp /etc/xdg/awesome/rc.lua ~/.config/awesome/rc.lua
# Edit config
vim ~/.config/awesome/rc.lua
Other Window Managers
Popular WMs:
# Openbox
sudo pacman -S openbox
# dwm
sudo pacman -S dwm
# bspwm
sudo pacman -S bspwm sxhkd
# Sway (Wayland)
sudo pacman -S sway
Display Managers
What is a Display Manager?
Display Manager provides login screen.
Popular DMs:
- GDM: GNOME Display Manager
- SDDM: Simple Desktop Display Manager
- LightDM: Lightweight
- LXDM: Lightweight
Install Display Manager
For GNOME:
sudo pacman -S gdm
sudo systemctl enable gdm
For KDE:
sudo pacman -S sddm
sudo systemctl enable sddm
For XFCE:
sudo pacman -S lightdm lightdm-gtk-greeter
sudo systemctl enable lightdm
Configure Display Manager
Edit DM config:
# GDM config
sudo vim /etc/gdm/custom.conf
# SDDM config
sudo vim /etc/sddm.conf
# LightDM config
sudo vim /etc/lightdm/lightdm.conf
Switching Desktop Environments
Multiple DEs
Install multiple:
# Install both GNOME and KDE
sudo pacman -S gnome kde-applications
Switch at login:
- Select DE from display manager
- Choose session type
Remove Desktop Environment
Uninstall DE:
# Remove GNOME
sudo pacman -Rns gnome gnome-extra
# Remove KDE
sudo pacman -Rns plasma kde-applications
# Remove XFCE
sudo pacman -Rns xfce4 xfce4-goodies
** Be careful** - may remove shared dependencies.
Summary
This guide covered:
- Desktop environments - What they are
- GNOME - Modern, simple
- KDE Plasma - Feature-rich
- XFCE - Lightweight
- Window managers - Minimal
- Display managers - Login screens
- Switching - Multiple DEs
Key Takeaways:
- GNOME: Modern and simple
- KDE: Feature-rich and customizable
- XFCE: Lightweight and traditional
- Window managers: Minimal and keyboard-driven
- Install display manager for GUI login
Next Steps
- Arch Linux Post-Installation - Post-install steps
- Arch Linux System Configuration - System setup
- ArchWiki Desktop Environments: https://wiki.archlinux.org/title/Desktop_environment
This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.