Published on

Desktop environments vs Windows Managers - Linux

Authors
  • avatar
    Name
    Cristian Encalada
    Twitter
Linux - Desktop environments vs Windows managers

What are the differences between Desktop environments and Windows Managers in Linux? Let's review it.

Table of contents

If you're a Linux user, you've probably heard the terms Desktop Environment (DE) and Window Manager (WM). These are like the face of your Linux system, but what's the real difference, and how do they affect your experience? Let's break it down in this article.

There are basically three layers that can be included in a Linux desktop:

X Window System

The X Window System (X11 or X Windows) is an open source, cross platform, client-server computer software system that provides a GUI in a distributed network environment.

This is the foundation that allows for graphic elements to be drawn on the display. X Windows builds the primitive framework that allows moving of windows, interactions with keyboard and mouse, and draws windows. This is required for any graphical desktop.

Window Managers

The Window Manager (WM) is the piece of the puzzle that controls the placement and appearance of windows. Window managers require X Windows but not a desktop environment.

There are 2 types of Window Managers:

  • Tiling Window Managers: These snap windows together neatly, like building blocks. No window covers another.
Qtile tiling WM

Qtile - Tiling Window Manager

Some examples of tiling window managers are:

  • qtile

  • i3

  • bspwm

  • dwm

  • xmonad

  • Stacking Window Managers: These allow windows to overlap like sheets of paper. Most desktop environments use these.

Kwin stack WM

KWin 5.24 (stack Window Manager) with Cover Switch effect.

Some examples of stacking window managers include:

Desktop Environments

A Desktop Environment (DE) includes a Window Manager but builds upon it. The Desktop Environment typically is a far more fully integrated system than a Window Manager. Desktop Environments requiree both X Windows and a Window Manager.

Note: Is important to mention that while desktop environments are not entirely independent of Linux distributions, they are not tied exclusively to one distribution. Users have the freedom to choose and install their preferred desktop environment on various Linux distributions, making Linux a versatile platform that accommodates a wide range of preferences and needs

Each Desktop Environment has its style. Some examples of Linux Desktop Environments (DEs) are:

Gnome DE
KDE DE
Cinnamon DE
XFCE DE
XFCE DE

Why Use a Desktop Environment

  • Easy for New Users: Desktop Environments are user-friendly and need less setup.
  • Easy to configure the look and feel: They often have built-in tools to let you tweak how your system looks.
  • Many options to Choose From: Different Linux versions come with various Desktop Environments to suit different tastes.

Why Use a Window Manager

  • Saves Resources: Window Managers use less computer power than Desktop Environments.
  • Pick and choose what you want on your system: Unlike Desktop Environments that come with a bunch of stuff already installed.
  • Work Faster: After a bit of setup, Window Managers can be super quick, thanks to keyboard shortcuts.

Which One to Pick

The choice is all about what you need and like. If you're new to Linux, want to start quickly, or like things ready-made, go for a Desktop Environment. If you want a more customized and efficient system, give a Window Manager a try.

In the end, Linux lets you pick between a Desktop Environment, a Window Manager, or even just plain text commands. You choose what fits your style and needs.

In conclusion, Desktop Environments (DEs) are heavier than Window Managers (WMs).

Desktop Environmentss act as a valuable bridge for those migrating from Windows/Mac, who are generally heavily GUI reliant, to the GNU/Linux world, that is historically more CLI oriented.

Thanks for reading!

References