Ubuntu Desktop components
Ubuntu Desktop has millions of users today. As a new user, you might be curious to know what Ubuntu Desktop is made of. This page explains the Ubuntu desktop environment, the types of applications it runs, and how package managers work[1].
Desktop environment
The Ubuntu Desktop environment provides a Graphical User Interface (GUI) for interacting with Ubuntu. The GUI determines the visual appearance of the desktop and the user experience of interacting with its tools and applications. Ubuntu Desktop ships with the GNOME desktop environment by default. Other alternative desktop environments include:
- KDE Plasma
- XFCE
- LXQt
- MATE
- Budgie
Ubuntu Desktop comes in different flavors, each with its own desktop environment. Flavours are unique and opinionated offerings of Ubuntu, with their own visual style and applications. For example, the Kubuntu flavor uses the KDE Plasma desktop environment by default, while Ubuntu Studio is specially designed for content creation.
A desktop environment consists of different independent components, including:
- Window manager: This handles window placement, appearance, stacking, and behavior.
- User apps: These are default applications in the desktop environment.
- File manager: This is a UI environment for interacting with files.
Ubuntu Server can be thought of as Ubuntu Desktop without the desktop environment and underlying graphical stack, and some specialised applications and configurations for server management.
You can install a desktop environment on Ubuntu Server, and this is possible if your hardware supports the graphics components.
Package manager
A package manager is used to manage your application lifecycle, including install, upgrade, update and remove. You can do this using GUI applications or with the command line.
- The GUI: Ubuntu Desktop includes an application store named the App Center. The App Center replaced the Ubuntu Software in version 23.10. The App Center offers a up‑to‑date graphical interface built with Flutter. This interface lets you search for and install snaps and Debian packages. Ubuntu Desktop users can use the App Center to find and install software.
It provides a graphical interface that allows you to search for apps and install them.
- Command line: Packages can be installed from the terminal using
aptorsnapcommands:- apt (Advanced Package Tool): This is the default package manager on all Debian-based systems like Ubuntu.
- snap: Another built-in package management tool on Ubuntu, which includes all dependencies in a contained environment called a "snap".
Display server
This ensures that GUI applications draw in the screen and receive input from hardware devices, including keyboard, mouse, tablet, and touchscreen.
The display server consists of a protocol and an implementation:
- Protocol: The rules that govern communication between the applications and the display server. Examples are X11 and Wayland.
Since Ubuntu 25.10, GNOME sessions on Desktop are Wayland-only.
Audio Server
Ubuntu uses PipeWire as the default audio server, in releases replacing the older PulseAudio. PipeWire handles the routing and processing of all system audio and video streams efficiently
Services
These are system applications running in the background.
They often automatically start when Ubuntu Desktop boots. You can manage them using the systemctl command-line tool.
These applications manage your Wi-Fi, Bluetooth, File System, and other settings.
To list all your services, run:
systemctl list-units --all --type=service
Shell
A command-line shell is a program that reads commands and controls programs. Bash is the default shell on Ubuntu.
There are several types of shells available, including:
- sh
- bash
- fish
- zsh
Tasks can be automated using shell scripts. To do that, define your task in a shell script that ends with a .sh file extension. Then, make the script executable and run it.
To learn more about scripting, read Bash scripting for beginners.
Terminal
A terminal (emulator) is an application window that can be used to interact with the shell by typing commands. Ptyxis is the default terminal on recent versions of Ubuntu.
For example, you can run the following commands in the terminal to display information about the operating system:
pwd: Shows your working directory.ls: Lists files in your current directory.
See Overview of the Linux filesystem hierarchy for how the filesystem is organized.
The terminal prompt ends with $ for non-root users and # for root users.
Bootloader
Before the kernel starts a bootloader loads the operating system. Ubuntu uses GRUB (GRand Unified Bootloader) by default. GRUB shows a menu that lets you pick which OS or kernel to start when you turn on your computer.
Kernel
This ensures that the Ubuntu operating system can communicate with the entire hardware. It's stored in a disk drive and loaded into RAM when Ubuntu Desktop boots.
You can run Ubuntu Desktop in a virtual machine, which means both your host (such as Windows or macOS) and the Ubuntu Desktop guest run separate kernels. Check the path to where the Ubuntu Desktop kernel binary is stored by running:
ls /boot/vmlinuz-$(uname -r)
Examples of processes involving the kernel include:
- When a display server is launched, its protocol communicates with the kernel, which then directs the request to the GUI-related hardware (GPU, frame buffer, etc.)
- Storage and CPU resources can be allocated to applications running in user space
- An application can be loaded to run inside the kernel using Extended Berkeley Packet Filter (eBPF).
Notes
- ↑ Originally authored by Charles Uneze as a contribution to the Open Documentation Academy