Skip to content

Desktop Environments

Explore different desktop environments available for Debian 13 and choose the one that best fits your needs.

GNOME (Default)

GNOME is the default desktop environment for Debian 13, offering a modern and clean interface.

bash
# Install GNOME (usually pre-installed)
sudo apt install gnome-core

# Full GNOME experience
sudo apt install gnome

# GNOME customization tools
sudo apt install gnome-tweaks gnome-shell-extensions

Features:

  • Modern, clean interface
  • Touch-friendly design
  • Extensive customization via extensions
  • Great accessibility features

KDE Plasma

A feature-rich, highly customizable desktop environment.

bash
# Install KDE Plasma
sudo apt install kde-plasma-desktop

# Full KDE experience
sudo apt install kde-full

# Switch to KDE
sudo systemctl set-default graphical.target

Features:

  • Highly customizable
  • Windows-like interface
  • Powerful file manager (Dolphin)
  • Integrated applications suite

Xfce

Lightweight and efficient, perfect for older hardware.

bash
# Install Xfce
sudo apt install xfce4

# Additional Xfce components
sudo apt install xfce4-goodies

# Xfce development tools
sudo apt install xfce4-dev-tools

Features:

  • Lightweight and fast
  • Low resource usage
  • Traditional desktop metaphor
  • Highly configurable

LXDE/LXQt

Ultra-lightweight desktop environments for minimal resource usage.

bash
# Install LXDE
sudo apt install lxde

# Or install LXQt (Qt-based successor)
sudo apt install lxqt

# Lightweight applications
sudo apt install lxde-common lxde-icon-theme

Features:

  • Extremely lightweight
  • Minimal resource requirements
  • Simple, straightforward interface
  • Good for old computers

🔄 Switching Desktop Environments

Using Login Manager

  1. At Login Screen: Look for a gear icon or session selector
  2. Select Desktop: Choose your preferred environment
  3. Login: Enter credentials with new desktop

Command Line Method

bash
# Install display manager selector
sudo apt install lightdm

# Configure default desktop
sudo update-alternatives --config x-session-manager

# Switch display manager
sudo dpkg-reconfigure gdm3

Setting Default Environment

bash
# Create .xsession file
echo "exec startxfce4" > ~/.xsession

# Or use .xinitrc
echo "exec gnome-session" > ~/.xinitrc

# Make executable
chmod +x ~/.xsession ~/.xinitrc

🎯 Desktop Environment Comparison

FeatureGNOMEKDEXfceLXDE
Memory UsageHighMedium-HighLowVery Low
CustomizationMediumVery HighHighMedium
Modern LookExcellentExcellentGoodBasic
PerformanceMediumMediumGoodExcellent
Learning CurveEasyMediumEasyEasy

🛠️ Desktop Environment Installation

Complete Installation Commands

bash
# GNOME (Full)
sudo apt install task-gnome-desktop

# KDE (Full)
sudo apt install task-kde-desktop

# Xfce (Full)
sudo apt install task-xfce-desktop

# LXDE (Full)
sudo apt install task-lxde-desktop

# LXQt (Full)
sudo apt install task-lxqt-desktop

Minimal Installations

bash
# GNOME Core (Minimal)
sudo apt install gnome-core gdm3

# KDE Minimal
sudo apt install kde-plasma-desktop sddm

# Xfce Minimal
sudo apt install xfce4 lightdm

# LXDE Minimal
sudo apt install lxde-core lightdm

🎨 Customization Options

GNOME Customization

bash
# Install GNOME Tweaks
sudo apt install gnome-tweaks

# Popular extensions
sudo apt install gnome-shell-extension-dash-to-dock
sudo apt install gnome-shell-extension-user-theme

# Themes
sudo apt install arc-theme papirus-icon-theme

KDE Customization

bash
# Plasma themes
sudo apt install plasma-theme-oxygen

# Widget installation
sudo apt install kdeplasma-addons

# Window decorations
sudo apt install kwin-decoration-oxygen

Xfce Customization

bash
# Additional themes
sudo apt install gtk2-engines-murrine gtk2-engines-pixbuf

# Xfce themes
sudo apt install xfce4-artwork

# Panel plugins
sudo apt install xfce4-panel-profiles

📱 Touch and Mobile Interfaces

GNOME on Touch Devices

bash
# Touch-friendly features
sudo apt install onboard  # Virtual keyboard
sudo apt install caribou  # GNOME virtual keyboard

# Gesture support
sudo apt install touchegg

Plasma Mobile (Experimental)

bash
# Mobile interface components
sudo apt install plasma-mobile

# Mobile applications
sudo apt install koko kirigami2-dev

🖥️ Display Manager Configuration

GDM3 (GNOME Display Manager)

bash
# Configure GDM3
sudo dpkg-reconfigure gdm3

# GDM3 themes
sudo apt install gdm3-theme-ubuntu

# Auto-login configuration
sudo nano /etc/gdm3/daemon.conf

SDDM (KDE Display Manager)

bash
# Install SDDM
sudo apt install sddm

# Configure SDDM
sudo nano /etc/sddm.conf

# SDDM themes
sudo apt install sddm-theme-breeze

LightDM (Lightweight Display Manager)

bash
# Install LightDM
sudo apt install lightdm

# GTK greeter
sudo apt install lightdm-gtk-greeter

# Configure LightDM
sudo nano /etc/lightdm/lightdm.conf

🔧 Performance Optimization

For Low-End Hardware

  1. Choose LXDE or Xfce: Lightweight environments
  2. Disable Effects: Turn off compositing
  3. Limit Startup Programs: Remove unnecessary autostart items
  4. Use Lightweight Applications: Choose efficient alternatives
bash
# Lightweight alternatives
sudo apt install pcmanfm        # Lightweight file manager
sudo apt install leafpad        # Simple text editor
sudo apt install gpicview       # Fast image viewer

For High-End Hardware

bash
# Enable desktop effects
sudo apt install compiz compizconfig-settings-manager

# High-quality themes
sudo apt install adapta-gtk-theme
sudo apt install numix-icon-theme-circle

🎮 Gaming-Oriented Desktops

Steam Big Picture Mode

bash
# Install Steam
sudo apt install steam

# Launch in Big Picture Mode
steam -bigpicture

Gamescope (Experimental)

bash
# Gaming-focused compositor
sudo apt install gamescope

# Launch applications with gamescope
gamescope application-name

🔄 Environment Switching Tools

Desktop Environment Switcher

bash
# Create switching script
nano ~/switch-desktop.sh

#!/bin/bash
case "$1" in
    gnome)
        echo "exec gnome-session" > ~/.xsession
        ;;
    kde)
        echo "exec startkde" > ~/.xsession
        ;;
    xfce)
        echo "exec startxfce4" > ~/.xsession
        ;;
esac

chmod +x ~/switch-desktop.sh

Desktop environment chosen? Continue with system configuration →

基于 MIT 许可发布