Most Linux desktops force you to choose: stacking windows that pile up on top of each other, or tiling windows that squeeze to fit the screen and hide behind workspaces. driftwm refuses both. It is an open source Wayland compositor that puts your windows on an infinite 2D canvas at their native size, and your screen becomes a camera that pans and zooms across it. It has 1,889 stars on GitHub as of November 11, 2026, and it is built for one very specific user: the Linux laptop owner who lives on the trackpad. (GitHub)
Watch the 30-second repo signal
Key Takeaways
driftwm is an infinite-canvas Wayland compositor: windows live at native size on a 2D plane, your display is a camera, and there is no tiling and no workspaces.
It is trackpad-first: 3-finger swipe to pan, 2-finger pinch to zoom, 4-finger swipe to jump between windows, with mouse, keyboard, and touchscreen equivalents for everything.
Windows that drift close together snap into implicit clusters you can move, resize, and view as a group, with no explicit grouping to manage.
It is written in Rust on Smithay, licensed GPL-3.0, installs from the AUR or NixOS, and supports 40+ Wayland protocols plus X11 apps through xwayland-satellite.
The README is honest about its status: this is experimental software, primarily built with AI, so treat it as a fascinating daily-driver experiment, not a finished product.
The Problem It Solves
Window management on Linux has been stuck between two ideas for decades. Stacking compositors let windows overlap freely, which means you spend your time hunting for the window buried underneath. Tiling compositors fixed the hunting by forcing every window into a grid, but the price is constant resizing: open one more window and everything you were looking at shrinks to make room, and workspaces become a filing system you have to maintain in your head.
driftwm starts from a different metaphor, the one you already know from Figma or Miro. Your desktop is a map, not a grid. Windows sit where you put them, at the size they actually are, and you navigate by moving a camera: pan across the canvas, zoom out to see everything at once, zoom in to work on one window for real. Overlaps happen only on purpose, because windows never resize themselves to fit the screen. (GitHub, DEV)
What Makes driftwm Different
The headline difference is the input model. Most compositors treat the trackpad as a mouse with extra buttons. driftwm treats it as the primary control surface. A 3-finger swipe pans the viewport, a quick flick carries it with momentum until friction stops it. A 2-finger pinch zooms, a 3-finger pinch works from anywhere. A 4-finger swipe jumps to the nearest window in that direction, a 4-finger pinch in gives you a zoom-to-fit overview of everything, and a 4-finger pinch out snaps you back home. Every gesture has a mouse or keyboard equivalent, and touchscreens get their own bindings, so the same setup works on a laptop and at a desk. (GitHub)
The second difference is snapping. Drag two windows close together and they snap into an implicit cluster. Neighbors stay visible at the edge of your view for spatial context, and the cluster moves, resizes, and overviews as one unit. Hold Shift and an action applies to a single window instead. There is no group to create, name, or disband: proximity is the grouping. Bookmarks take the idea further, letting you save named canvas spots and jump straight to them with Mod+1-4, and anchors act as navigation targets for directional jumps even when no window sits there. (GitHub)
The canvas itself is part of the experience. The background is not stuck to the screen, it scrolls and zooms with the viewport, and it comes in five modes: a built-in dot grid, procedural GLSL shaders you can write yourself, a tiled image (including gigapixel pyramidal TIFF wallpapers), a classic fixed wallpaper, or none at all if you prefer an external wallpaper daemon like swaybg or swww. (GitHub)
Session handling is equally thoughtful. Close a window and `suspend-window` (Mod+Shift+Q) leaves a compositor-drawn placeholder in its place, so pressing Enter or clicking its name brings the app right back to the same spot. Turn on `[session].restore_windows` and your whole canvas is saved as you work and restored, dormant, on the next start, with the camera position restored per output. (GitHub)
Under the hood, driftwm is written in Rust on Smithay, the framework for writing Wayland servers, and it borrows implementation details from niri, the scrollable-tiling compositor that popularized the spatial approach. It speaks 40+ Wayland protocols, supports multi-monitor setups where each monitor is an independent viewport onto the same canvas, and can be scripted over a Unix socket with `driftwm msg`. X11 apps run through xwayland-satellite. (GitHub, Smithay)
driftwm at a Glance
Aspect | Detail |
|---|---|
Project | driftwm by malbiruk |
What it is | Trackpad-first infinite canvas Wayland compositor |
GitHub stars | 1,889, as of November 11, 2026 |
GitHub forks | 83, as of November 11, 2026 |
Commits | 1,488, as of November 11, 2026 |
Releases | 35, as of November 11, 2026 |
Repo created | February 22, 2026 |
Language | Rust, built on Smithay |
License | GPL-3.0-or-later |
Install | AUR (`yay -S driftwm`), NixOS module, or build from source |
Build requirement | Rust 1.88 or newer (edition 2024) |
Wayland protocols | 40+ |
X11 support | Via xwayland-satellite |
Status | Experimental, primarily built with AI |
How It Stacks Up
The closest relative is niri, the scrollable-tiling Wayland compositor that driftwm borrows from. The two share the spatial idea and the Smithay foundation, but they navigate in different dimensions. niri arranges windows in columns on an infinite strip that runs to the right, so you scroll in one dimension and every monitor gets its own strip. driftwm gives you the full plane: pan and zoom freely in two dimensions, with no strips, no columns, and no workspaces at all. (GitHub, LWN)
Aspect | driftwm | niri |
|---|---|---|
Navigation | 2D pan and zoom across a canvas | 1D scroll along an infinite strip |
Window layout | Free placement at native size | Columns on a strip |
Workspaces | None, one canvas | Dynamic workspaces, vertical |
Primary input | Trackpad gestures | Keyboard-driven scrolling |
GitHub stars | 1,889 | 28,996 |
Maturity | Experimental, created Feb 2026 | Stable for day-to-day use |
License | GPL-3.0-or-later | GPL-3.0 |
The star gap tells the story honestly. niri, with 28,996 stars and 1,270 forks, is the established choice, and its author Ivan Molodetskikh has been building it since 2023. driftwm, at 1,889 stars, is the younger, bolder experiment: less proven, but the only one of the two that lets you treat the whole desktop like a map you can fly across. (GitHub, GitHub)
Wayland itself is the foundation both stand on. Created by Kristian Hogsberg in 2008, the Wayland protocol replaces the aging X display server with a simpler, more secure design where the compositor is also the window manager. That is why a project like driftwm can exist at all: on Wayland, the compositor decides how windows are arranged, so a new arrangement idea is a new compositor, not a plugin. (Wikipedia)
How to Run It Yourself
The easiest path is Arch Linux: `yay -S driftwm` for the latest release, or `yay -S driftwm-git` for the latest code from main. On NixOS, the flake ships a module you enable with `programs.driftwm.enable = true`, and there is a Home Manager module too. Building from source needs Rust 1.88 or newer, then `cargo build` inside a `nix develop` shell, or plain `cargo run` once the native dependencies are installed. (GitHub)
Configuration lives in a TOML file, and window rules let you match windows by app ID or title with glob patterns to control position, size, opacity, blur, and decoration. Two placement modes stand out: `widget = true` pins a window to the canvas as a desktop widget (clocks, trays, layer-shell bars), and `pinned_to_screen = true` fixes it to the screen so it ignores pan and zoom, which is ideal for picture-in-picture or call toolbars. Layer-shell surfaces like waybar, fuzzel, and mako work as expected, and bookmarks are even exported as workspaces over `ext-workspace-v1` so compatible bars can list them and click to jump. (GitHub)
The Honest Caveats
driftwm's README carries a warning worth repeating: this is experimental software, primarily built with AI. That shows up in the pace, 1,488 commits and 35 releases since February 2026, and it should shape your expectations. If you need a compositor you can trust with a deadline, niri is the stable answer. If you want to see where window management could go next, driftwm is the one to watch, ideally on a second machine or a spare laptop first.
The other caveat is hardware fit. The whole design assumes a good trackpad, which is why the project calls itself trackpad-first. It works with a mouse and keyboard, and every gesture has an equivalent, but a laptop with a mediocre trackpad will blunt the experience. This is a compositor built specifically for Linux laptop power users, and it is at its best on exactly that machine. (GitHub)
Who Should Try It
driftwm fits Linux laptop users who are curious about spatial window management and already live on their trackpad: tiling refugees who never liked grids, Figma and Miro users who think in canvases, and Wayland tinkerers who want to see what a camera-based desktop feels like. It also fits anyone comparing the new wave of Rust compositors and wondering how driftwm's 2D canvas differs from niri's 1D strip.
It is less suited to anyone who needs stability above all else, or to desktop users without a trackpad. For them, niri remains the safer experiment. But if you have a Linux laptop and a spare evening, driftwm is a small install that changes how the desktop feels the moment you pinch to zoom out and see your whole workspace as a map.
Try this first: install it from the AUR or the NixOS module, open a terminal, a browser, and a text editor, and flick the viewport with a 3-finger swipe. Then read what open source means in practice to understand the license and community model behind projects like this one.
FAQ
Is driftwm a window manager or a compositor?
Both. On Wayland, the compositor is the window manager: it draws windows and decides where they go. driftwm is a Wayland compositor that manages windows on an infinite 2D canvas.
How is driftwm different from niri?
niri scrolls windows in one dimension along an infinite horizontal strip. driftwm lets you pan and zoom freely in two dimensions across a canvas, with windows at native size and no workspaces.
Does driftwm work without a trackpad?
Yes. Every trackpad gesture has a mouse or keyboard equivalent, and touchscreens have their own bindings. But the experience is designed trackpad-first, so a good trackpad is where it shines.
How do I install driftwm?
On Arch Linux, run `yay -S driftwm` (or `driftwm-git` for the latest main). On NixOS, enable the included module with `programs.driftwm.enable = true`. You can also build from source with Rust 1.88 or newer.
Is driftwm stable enough for daily use?
Not yet, by its own admission. The README calls it experimental software, primarily built with AI. Try it on a spare machine first, and keep niri in mind if you want the stable version of the spatial idea.
Does driftwm support X11 apps?
Yes, through xwayland-satellite, so older X11 applications keep working alongside native Wayland apps.
