Intermediate Advanced

Desktops & window managers

On Linux, the way your screen looks and behaves is a choice, not a given. This page compares the full desktops (GNOME, KDE Plasma, Xfce) with the lean, keyboard-driven tiling window managers (i3, awesome, dwm, bspwm, Qtile), so you can find the one that fits how you work.

Before you start

You met desktop environments briefly in Level 1. The tiling sections assume you're comfortable with the terminal and editing text files (Level 2).

The words explained

WordWhat it means
Window manager (WM)The program that decides where windows go, how big they are, and how you move between them. Every graphical Linux system has one.
Desktop environment (DE)A complete package: a window manager plus a panel/taskbar, menus, settings app, file manager, notifications, lock screen and so on, all designed to work together.
Floating (stacking)Windows sit on top of each other and you move and resize them with the mouse, as on Windows and macOS.
TilingWindows never overlap. They automatically share the screen like tiles on a floor, and you control them mostly with the keyboard.
CompositorDraws the final picture on screen and adds effects like transparency, shadows and smooth animations. On Wayland, the window manager is the compositor.
WorkspaceA separate virtual screen. Keep e-mail on 1, the browser on 2, work on 3, and jump between them with a key.
Mod keyThe key that tiling WM shortcuts start with, usually Super (the Windows key) or Alt.
In plain words

A desktop environment is a fully furnished house. A window manager is just the part that arranges the furniture. With a bare window manager, you choose and bring every other piece yourself: the panel, the app launcher, the notifications.

Floating vs tiling

Here are three ways a window manager can arrange your windows:

Floating (GNOME, KDE, Xfce)
You place every window. Windows overlap.
Manual tiling (i3, bspwm)
You decide where the next window splits.
Dynamic tiling (dwm, awesome, Qtile)
A layout places windows automatically.
FloatingTiling
Learning curveNone if you've used Windows or macOSA week or two of learning shortcuts
Mouse or keyboard?Mostly mouseMostly keyboard
Screen spaceWindows hide each otherEvery pixel is used, nothing hidden
SpeedFine for most peopleVery fast once learned, with no reaching for the mouse
Memory useModerate to high (full desktop)Very low (often under 100 MB for the WM itself)
SetupWorks out of the boxYou configure it yourself in a text file
Great forEveryone, especially beginnersProgrammers, sysadmins, terminal lovers, small or old laptops

The line between them is blurry. Every tiling WM can make a window float (handy for dialog boxes), and GNOME, KDE and Xfce can all snap windows into halves or tiles.

X11 and Wayland

Below every desktop sits a display server, the layer that talks to the screen, keyboard and mouse. Linux has two:

This matters for window managers: i3, dwm, bspwm and awesome only run on X11. Each has a Wayland "cousin" if you want to move on:

If you like… (X11)Try on Wayland
i3Sway: a near drop-in replacement that reads almost the same config file
dwmdwl: dwm's ideas rewritten for Wayland, also configured in C
bspwm / awesomeriver, or Hyprland (animated, highly customisable; used by Omarchy)
QtileQtile itself: it runs on both X11 and Wayland
Something newniri: windows sit on an endless horizontal strip you scroll through
How do I know which one I'm on?
$ echo $XDG_SESSION_TYPE
wayland

Comparison table

NameTypeRuns onConfigured withDifficultyBest for
GNOMEFull desktop, floatingWaylandSettings app, extensionsEasyClean, modern, distraction-free
KDE PlasmaFull desktop, floating + built-in tilingWayland (X11 being phased out)System Settings (huge)EasyWindows switchers, people who love tweaking
XfceFull desktop, floating, lightweightX11 (Wayland in progress)Settings ManagerEasyOlder or low-powered computers
i3Tiling (manual)X11Plain text fileMediumYour first tiling WM
awesomeDynamic tiling + floatingX11Lua codeHarderPeople who want to program their desktop
dwmDynamic tilingX11C source code, then recompileHarderMinimalists who like C
bspwmTiling (binary splits)X11Shell script + sxhkd for keysHarderShell scripters, "ricers" (desktop customisers)
QtileDynamic tilingX11 and WaylandPython codeMediumPython users

Full desktops

These work out of the box, have graphical settings for everything, and are what most distros ship by default.

GNOME Easy

The default on Ubuntu and Fedora. GNOME is clean and minimal, and it's built around one idea: press Super. That opens the Activities overview, which shows all your windows and workspaces, with a search box for apps, files and settings.

GNOME 48 Activities overview on Fedora 42, with a search box at the top and a dock at the bottom
GNOME 48 (Fedora 42) in the Activities overview: search box at the top, your workspaces in the middle, the dock with favourite apps at the bottom.Screenshot: The Fedora Project / Kirbix12, GPL, via Wikimedia Commons (resized).

KDE Plasma Easy

Out of the box it looks a lot like Windows: a taskbar at the bottom and an app menu in the corner. Underneath, it's the most customisable desktop there is. Almost everything can be changed in System Settings.

KDE Plasma 6.4 with the application menu, the Dolphin file manager and System Settings open, and a panel at the bottom
KDE Plasma 6.4: the app menu (bottom left), the Dolphin file manager and System Settings, with the taskbar panel along the bottom.Screenshot: Michio.kawaii (wallpaper: Krystian Zajdel), GPL, via Wikimedia Commons (resized).

Xfce Easy

A traditional, lightweight desktop that has barely changed in years, which its fans count as a feature. Its window manager is called xfwm4, and the whole desktop is often referred to as "xfce4".

Xfce desktop on Fedora 39 with a panel at the top, desktop icons on the left and a small dock at the bottom
Xfce (Fedora 39 live session): a panel at the top, desktop icons on the left and a small launcher dock at the bottom.Screenshot: The Fedora Project, GPL, via Wikimedia Commons (resized).

Tiling window managers

Each section below shows the default shortcuts, where the config file lives, and a small example. Mod means the mod key (Super or Alt, see each WM).

Before you log in for the first time

A bare window manager starts with an empty screen: no panel, no menu, no icons. Read the shortcut table first, especially how to open a terminal and how to log out. If you get stuck, press Ctrl+Alt+F3 for a text console, log in, and run sudo systemctl restart display-manager to return to the login screen.

i3 Medium

The most popular tiling window manager and the usual first step. You decide where the next window appears by choosing to split horizontally or vertically. A window can also be shown as a tab or a stack. The i3 User's Guide is excellent.

i3 window manager with a Vim editor on the left and two terminals tiled on the right, with a status bar at the bottom
i3: Vim on the left and two terminals stacked on the right, all tiled with no overlap. The bar at the bottom shows workspaces and status.Screenshot: Michael Stapelberg (author of i3), CC BY-SA 3.0, via Wikimedia Commons (resized).

The first time you start i3, it offers to create a config file and asks whether your Mod key should be Super or Alt. Pick Super, so it doesn't clash with app shortcuts.

KeysWhat it does
Mod+EnterOpen a terminal
Mod+DApp launcher (dmenu, a bar at the top: type a name, press Enter)
Mod+Shift+QClose window
Mod+arrow keys (or J K L ;)Move focus between windows
Mod+H / Mod+VNext window opens beside / below the current one
Mod+W / S / ETabbed / stacked / back to split layout
Mod+FFull screen
Mod+Shift+SpaceToggle floating for this window
Mod+1…9Go to workspace 1–9 (add Shift to move the window there)
Mod+Shift+RRestart i3 (reloads the config, keeps your windows)
Mod+Shift+ELog out

Config file: ~/.config/i3/config. Example additions:

set $mod Mod4                                  # Mod4 = Super key
bindsym $mod+b exec firefox                    # Super+B opens Firefox
bindsym $mod+Shift+x exec i3lock -c 000000     # lock the screen
exec --no-startup-id nm-applet                 # Wi-Fi icon in the bar at startup
gaps inner 8                                   # small gaps between windows
for_window [class="pavucontrol"] floating enable   # this app always floats

awesome Harder

awesome is a framework as much as a window manager. It comes with a usable panel, menu and several layouts out of the box, and its whole configuration is a Lua program. That means you can make it do almost anything, including widgets that show the weather, battery and more.

awesome window manager version 4 with Firefox and two terminal windows showing htop and vim, and a bar at the top
awesome 4: a bar with tags and widgets at the top, terminals running htop and vim, and Firefox. Here the windows are in a floating layout. Super+Space switches to a tiled one.Screenshot: Sbruder04, CC BY-SA 4.0, via Wikimedia Commons (resized).

Windows are placed automatically by the current layout (tile, fair, spiral, max, floating…). Workspaces are called tags. Mod is Super.

KeysWhat it does
Super+SShow all shortcuts: start here
Super+EnterOpen a terminal
Super+RRun prompt (type a program name)
Super+Shift+CClose window
Super+J / KFocus next / previous window
Super+SpaceSwitch to the next layout
Super+1…9View tag 1–9
Super+Ctrl+RReload awesome
Super+Shift+QLog out

Config file: start by copying the default, then edit your copy:

$ mkdir -p ~/.config/awesome
$ cp /etc/xdg/awesome/rc.lua ~/.config/awesome/rc.lua
-- in rc.lua (awesome 4.3): change the terminal, and add Super+B for Firefox inside the globalkeys list
terminal = "alacritty"
awful.key({ modkey }, "b", function () awful.spawn("firefox") end,
          { description = "open Firefox", group = "launcher" }),

A typo in rc.lua makes awesome fall back to its default config. Check yours with awesome -k before reloading.

dwm Harder

dwm ("dynamic window manager") comes from the suckless project, whose goal is software that is tiny, simple and fast. dwm is only about 2,000 lines of C. There's no config file: you change config.h (the source code) and recompile. Extra features are added by applying patches from the dwm website.

dwm window manager with tiled terminal windows and the GIMP image editor floating on top, with the tag bar at the top
dwm: tiled windows with the master on the left, and the GIMP floating on top. Tags 1–9 and the status text sit in the thin bar at the top.Screenshot: Anselm Garbe (author of dwm), public domain, via Wikimedia Commons (resized).

It uses a master and stack layout: one main window on the left (the "master"), and all others stacked on the right. Workspaces are tags. Mod is Alt by default.

KeysWhat it does
Alt+Shift+EnterOpen a terminal (st, the suckless terminal)
Alt+PApp launcher (dmenu)
Alt+Shift+CClose window
Alt+J / KFocus next / previous window
Alt+EnterSwap the focused window into the master area
Alt+T / F / MTiled / floating / monocle (one window full-size) layout
Alt+1…9View tag 1–9
Alt+BShow/hide the bar
Alt+Shift+QQuit dwm

Building it (needs a compiler and the X11 development files: base-devel libx11 libxft libxinerama on Arch, build-essential libx11-dev libxft-dev libxinerama-dev on Ubuntu):

$ git clone https://git.suckless.org/dwm
$ cd dwm
$ cp config.def.h config.h    # your personal copy of the settings
$ nano config.h
$ sudo make clean install     # rebuild after every change, then restart dwm
/* in config.h: use the Super key instead of Alt */
#define MODKEY Mod4Mask

The right side of dwm's bar shows text that you set with xsetroot. For example, show the time with a small loop in ~/.xinitrc: while true; do xsetroot -name "$(date '+%a %d %b %H:%M')"; sleep 30; done &

bspwm Harder

bspwm ("binary space partitioning window manager") arranges windows by splitting space in two, again and again, like cutting a sheet of paper in half, then cutting one half in half, and so on. It does just one thing: manage windows. Even keyboard shortcuts are left to a separate program, sxhkd. bspwm is a favourite of "ricers", people who make highly styled desktops.

bspwm on Archcraft with a styled status bar at the top and a mountain wallpaper, no windows open
bspwm on Archcraft: a styled bar at the top (made with polybar) over the wallpaper. When you open windows, they split this space between them.Screenshot: Aditya Shakya, GPL, via Wikimedia Commons (resized).

Both are configured with ordinary files:

$ mkdir -p ~/.config/bspwm ~/.config/sxhkd
$ cp /usr/share/doc/bspwm/examples/bspwmrc ~/.config/bspwm/
$ cp /usr/share/doc/bspwm/examples/sxhkdrc ~/.config/sxhkd/
$ chmod +x ~/.config/bspwm/bspwmrc        # bspwmrc is a shell script and must be executable

(The example files may be in a slightly different place on your distro. find /usr/share -name sxhkdrc will find them.)

Change the terminal first

The example sxhkdrc opens urxvt as its terminal, which you probably don't have. Edit that line to your terminal (e.g. alacritty, kitty) before logging in, or you'll have no way to open one.

Keys (example sxhkdrc)What it does
Super+EnterOpen a terminal
Super+SpaceApp launcher (dmenu)
Super+WClose window
Super+H J K LFocus left / down / up / right (add Shift to swap)
Super+MToggle monocle (one window full-size)
Super+1…0Go to desktop 1–10 (add Shift to move the window)
Super+EscReload sxhkd (after editing shortcuts)
Super+Alt+Q / RQuit / restart bspwm
# in ~/.config/bspwm/bspwmrc (a shell script)
bspc config window_gap 12
bspc config border_width 2
bspc rule -a Pavucontrol state=floating

# in ~/.config/sxhkd/sxhkdrc: key on one line, command indented below
super + b
    firefox

Qtile Medium

Qtile is a tiling window manager written and configured in Python. If you know a little Python, it's one of the friendliest to customise. It comes with a built-in bar and widgets, several layouts, and it runs on both X11 and Wayland. Mod is Super.

There's no freely licensed Qtile screenshot we can show here, but the official Qtile screenshot gallery has many examples from users.

Keys (default config)What it does
Super+EnterOpen a terminal
Super+RRun prompt in the bar
Super+WClose window
Super+H J K LMove focus
Super+TabNext layout
Super+FFull screen
Super+1…9Go to group (workspace) 1–9
Super+Ctrl+RReload the config
Super+Ctrl+QLog out

Config file: ~/.config/qtile/config.py. If it doesn't exist, Qtile uses its built-in default. To start customising, copy default_config.py from Qtile's source (in libqtile/resources/) to that location.

# in config.py: add Super+B for Firefox
keys.append(Key([mod], "b", lazy.spawn("firefox"), desc="Open Firefox"))
$ qtile check        # check your config for errors before reloading

Installing & switching

You can install several desktops and window managers side by side. On the login screen, choose which one to start. Look for a gear icon (GNOME's login screen, bottom-right after picking your user) or a "Session"/"Desktop" menu (KDE's and Mint's login screens).

Arch (pacman)Ubuntu / Mint (apt)Fedora (dnf)
GNOMEgnomeDefault on UbuntuDefault on Fedora
KDE Plasmaplasma-metakubuntu-desktopdnf group install kde-desktop
Xfcexfce4 xfce4-goodiesxubuntu-desktopdnf group install xfce-desktop
i3i3-wm i3status dmenui3i3
awesomeawesomeawesomeawesome
dwmBuild from source (above), or AURdwm (or build from source)Build from source (not packaged)
bspwmbspwm sxhkdbspwm sxhkdbspwm sxhkd
QtileqtileNot in the repositories. See Qtile's install guideqtile
Careful with full desktops

Installing a second full desktop (say KDE on top of Ubuntu's GNOME) works, but it brings hundreds of packages and you end up with two of everything: two settings apps, two file managers, mixed themes. If you want a different desktop for good, it's usually cleaner to install the matching edition: Kubuntu, Xubuntu, Fedora KDE, Linux Mint Xfce and so on. Lightweight window managers don't have this problem.

Try it safely

Install i3 next to your current desktop. Log out, pick i3 at the login screen, and spend 15 minutes with the shortcut table above. If you don't like it, log out and pick your old desktop again. Nothing is lost.

Tiling survival kit

A bare window manager doesn't come with the things a desktop gives you for free. Here's what most people add:

You needPopular choicesWhy
Terminalalacritty, kitty, foot (Wayland)Your main tool
App launcherdmenu, rofiThere's no start menu. rofi also does window switching.
Status bari3status, i3blocks, polybar, waybar (Wayland)Clock, battery, Wi-Fi, volume
Notificationsdunst, mako (Wayland)Otherwise notifications simply don't appear
Wallpaperfeh, nitrogenOtherwise the background is plain black
Compositor (X11)picomTransparency and shadows, and it stops video "tearing"
Network iconnm-appletClick to choose Wi-Fi (or use nmtui in a terminal)
Password promptsA polkit agent, e.g. polkit-gnome or lxqt-policykitWithout one, graphical apps can't ask for your admin password and fail silently
Screen locki3lock, slock, swaylock (Wayland)Bind it to a key
Screenshotsflameshot, maim, grim (Wayland)Bind Print Screen yourself
Volume & brightness keyspactl / wpctl, brightnessctlMedia keys do nothing until you bind them
Tip: dotfiles

Your configuration files (~/.config/i3/config and friends) are called dotfiles. Keep them in a Git repository so you can restore your whole setup on a new computer in minutes. People share theirs on GitHub, which is a great place for ideas. The r/unixporn community (it's about desktop screenshots) is full of inspiration.

Which should I pick?

If you…Try
Are new to Linux, or coming from WindowsKDE Plasma or Cinnamon (Linux Mint)
Like a clean, simple, Mac-like experienceGNOME
Have an old or slow computerXfce, or i3 if you're curious about tiling
Want to try tiling with the least effortKDE's built-in tiling or a GNOME tiling extension, then i3
Know PythonQtile
Want to program every detailawesome (Lua)
Want the smallest, simplest possible thingdwm
Love shell scripts and custom themesbspwm
Want a modern Wayland tiling setup, ready-madeSway (i3-style) or Hyprland via Omarchy

There's no wrong answer. Many people try a few over the years, and since they all run the same Linux apps, switching costs nothing but a little learning.