Pantheon · desktop environment

On this page 8

Pantheon is the desktop environment developed for elementary OS, a set of shell components, system applications and design guidelines that together form a complete graphical session on the Linux desktop. It is written mainly in Vala on top of GTK, uses the Gala window manager built on the Mutter library, and is known for a minimal, consistent interface that favors a small number of well-integrated defaults over extensive customization.

Although Pantheon is developed by the elementary project and ships first in elementary OS, its components are packaged by several Linux distributions, including Fedora, Arch Linux and NixOS. In the Linux family of desktops it sits closer to GNOME than to KDE Plasma or Xfce, because it shares the GTK toolkit and the Mutter compositor code while defining its own panel, dock, launcher and settings application.

How the Pantheon shell is assembled

Pantheon is not a single program but a collection of cooperating components, each responsible for one part of the session. The window manager and compositor draw windows and animations, a top panel shows indicators, a dock launches and switches applications, and a central settings application exposes system configuration through plugins.

The following table lists the main components and the role each one plays in a running session.

ComponentRole in the sessionTechnical basis
GalaWindow manager, compositor, multitasking viewVala plugin on libmutter
WingpanelTop panel with indicators and clockGTK, indicator plugins
DockPinned and running applicationsReplaced Plank in elementary OS 8
Applications MenuLauncher with search and categoriesWingpanel indicator, historically Slingshot
System SettingsSwitchboard plugs for each settings areaGTK with plug modules
GreeterLogin screenLightDM front end
GraniteShared widgets and style helpersLibrary extending GTK
Core components of a Pantheon session

The Granite library is the glue that makes applications look native: it adds widgets, style classes and helper functions that every elementary application uses. Settings are stored through GSettings and dconf, so the same keys can be changed from the graphical interface or from the command line with gsettings.

Design principles behind Pantheon

Pantheon follows a published set of Human Interface Guidelines that define how applications should behave, look and communicate. The guidelines stress sensible defaults, minimal configuration and consistent placement of controls, so that a user who learns one application can predict how the next one behaves.

Several deliberate choices follow from these principles and often surprise users who arrive from other environments:

  • No desktop icons by default, because the desktop is treated as a backdrop rather than a file storage area.
  • No minimize-to-taskbar model; the dock shows running applications and windows can be hidden and restored from it.
  • Header bars with client-side decorations, which merge the title bar and toolbar into a single strip.
  • Hot corners and a multitasking view for switching windows and workspaces with dynamic workspace creation.
  • A curated AppCenter that distributes applications as Flatpak packages with an optional pay-what-you-want model.

These choices produce a coherent, low-distraction workspace, but they also mean that Pantheon exposes far fewer tweaks than KDE Plasma. Experienced users frequently install extra tools to restore options that the project intentionally left out.

Pantheon compared with other Linux desktops

Pantheon is best understood by contrast with the desktops that share its neighborhood. The comparison below focuses on the toolkit, compositor basis and customization philosophy, which are the factors that most affect daily use and integration.

DesktopToolkitWindow manager basisCustomization level
PantheonGTK with GraniteGala on libmutterLow by design
GNOMEGTK with libadwaitaMutterLow, extensions add more
KDE PlasmaQtKWinVery high
BudgieGTKMutter fork, later Wayland compositorModerate
CinnamonGTKMuffin, a Mutter forkModerate to high
XfceGTKXfwm4High, lightweight
Pantheon and related desktop environments

The closest relative is GNOME, because both rely on Mutter code and GTK. The difference lies in the shell: GNOME Shell is written largely in JavaScript and offers an extension system, whereas Pantheon builds its shell as compiled Vala components and does not provide an official extension mechanism for the panel or window manager.

Display server support and the Wayland transition

Pantheon historically ran on the X11 display server through X.Org Server, and Gala acted as an X11 compositing manager. Because libmutter can also function as a Wayland compositor, the project has been moving the shell toward Wayland, which provides stronger isolation between applications and smoother rendering on mixed-DPI displays.

In elementary OS 8, users choose between a Secure Session on Wayland and a Classic Session on X11 at the login screen. Legacy X11 applications run in the Wayland session through XWayland, while screen sharing and file chooser dialogs go through xdg-desktop-portal backends maintained for Pantheon.

SessionDisplay protocolTypical strengthsTypical limitations
Secure SessionWayland with XWaylandIsolation, fractional scalingSome shell features still maturing
Classic SessionX11Mature tool compatibilityWeaker isolation, no per-window security
Session types in recent Pantheon releases

Audio and screen capture are handled by PipeWire, which elementary OS adopted alongside other modern distributions. This places Pantheon in the same freedesktop.org standards ecosystem as GNOME and KDE Plasma, so applications built for those desktops generally integrate correctly.

Installing and running Pantheon outside elementary OS

Pantheon can be installed on other Linux distributions, but the experience varies with packaging quality. Elementary OS tests the components together against a specific Ubuntu LTS base, whereas third-party packages may lag behind releases or combine versions that were never tested together.

SituationRecommended approachReason
Want the reference experienceInstall elementary OSComponents are tested together
Using FedoraInstall the Pantheon package groupPackages exist but may lag
Using Arch LinuxInstall the pantheon group and greeterRolling updates, manual tuning needed
Using NixOSEnable the Pantheon desktop moduleDeclarative and reproducible setup
Need heavy customizationChoose KDE Plasma or XfcePantheon limits options by design
Running Pantheon on different distributions

A practical check after installation is to confirm that the correct display manager and session file are active, because a mismatch between greeter and session is the most common reason Pantheon starts with missing panels or default GNOME settings.

Limitations and common misconceptions

Pantheon attracts users with its polish, yet several practical limitations deserve attention before adoption in a managed environment or on unusual hardware.

  • It is not a GNOME theme. Pantheon has its own shell, panel and settings, although it reuses Mutter and GTK.
  • Customization is intentionally narrow. Panel position, dock behavior and window controls offer limited options.
  • Release pace depends on a small team. Major updates arrive in step with elementary OS releases.
  • Third-party GTK themes are discouraged, because Granite styling expects the elementary stylesheet and accent colors.
  • Older hardware may struggle with compositor effects, although performance is generally comparable to GNOME.

A frequent mistake is to evaluate Pantheon on a poorly maintained third-party package and conclude that the desktop itself is unstable. The fairer comparison is the reference build in elementary OS, where the components, portals and default applications are matched and tested.

The idea in brief

Pantheon is the look and feel of elementary OS: the bar at the top of the screen, the dock at the bottom, the app launcher, the settings window and the way windows open and move. It decides what a person sees and touches when using the computer.

Think of it as a carefully furnished apartment. Everything is already placed where the designers believe it works best, so a newcomer can start living there at once. The trade-off is that moving the walls is difficult, while other desktops are more like empty rooms that can be arranged freely.

A practical scenario

A small design studio replaces aging laptops for eight staff members who mainly use a browser, a mail client, an office suite and a photo editor. The administrator wants a desktop that new employees can use without training and that does not invite constant fiddling with settings.

The administrator installs elementary OS with the Pantheon Secure Session on Wayland, pins the four core applications to the dock, sets a shared accent color and installs the photo editor from AppCenter as a Flatpak package. Display scaling is set to 125 percent on the 14-inch screens, and default settings are applied through gsettings in a setup script.

After a month, support requests about the desktop fall to almost none, mostly limited to one older scanning tool that had to run in the Classic Session on X11. The studio keeps Pantheon as its standard image and documents the single exception.