Roadmap
What is missing, and why each one is worth doing here rather than by installing another daemon beside this. The Wayland protocol surface is close to complete — what is left is desktop integration and shell UX.
Nothing here is a commitment to an order. The list exists so that a gap found once is written down rather than rediscovered. What lands comes off the list and is documented where the rest of that subject is.
Six entries came off it at once, which is not the usual way and is worth naming: the lock screen the shell draws (crates/viewport/src/lock.rs, data/shell/lock.js, idle.lock_command in docs/configuration.md); the settings panel and the overlay file it writes (crates/viewport/src/settings.rs, data/shell/settings.js, config.save/config.dark_mode/output.revert in docs/ipc.md); a keyboard for every surface that can be opened, and a screen magnifier (data/shell/keys.js, crates/viewport/src/magnify.rs, and docs/shell-backends.md for which engine can reach an accessibility bus and which cannot); the calendar under the clock, and a clock that reads the locale (data/shell/calendar.js, clock in docs/configuration.md); and xwayland.scale, with the per-toolkit limits recorded in docs/protocols.md rather than promised away.
Before them, the power menu — crates/viewport/src/power.rs for Suspend, Reboot and PowerOff over logind, data/shell/power.js for the rows, power.action in docs/ipc.md, and the battery note in docs/configuration.md. Before it, the launcher — crates/viewport/src/launcher.rs for the scan and the parse, data/shell/launcher.js for the list and the filter, launcher.query and launcher.launch in docs/ipc.md, and menu in docs/configuration.md for the external menu that keeps Mod4+d when one is named. Before that, the notification centre — crates/viewport/src/notification.rs's History for what is kept and what leaves it, data/shell/notifications.js for the list, notification.list and notification.forget in docs/ipc.md, and notifications.history in docs/configuration.md. Before that, global shortcuts — crates/viewport/src/shortcuts.rs, docs/protocols.md's section of that name for what is remembered and why, and shortcuts.pick in docs/ipc.md for the dialogue. Before that, modifier feedback to a libei client (sync_eis_modifiers in crates/viewport/src/libei.rs); before that, the inhibit interfaces: org.freedesktop.ScreenSaver and org.freedesktop.impl.portal.Inhibit in crates/viewport/src/inhibit.rs; and before those, the on-screen keyboard: data/shell/osk.js, docs/ipc.md's osk.key/osk.wanted and docs/configuration.md's default bindings.
Remote desktop
The sender EI server and the receiver used by InputCapture are both done — crates/viewport/src/libei.rs, crates/viewport/src/input_capture.rs, and docs/protocols.md for how their opposite directions differ. The clipboard that belonged with them is in too.
The clipboard for a remote session is in, for both. The org.freedesktop.impl.portal.Clipboard interface is served, RequestClipboard is answered through Start's clipboard_enabled field, and text is bridged through the compositor's clipboard history in both directions. It is still its own consent question — reading the desk's clipboard is not the same permission as typing into it — so a session only gets it when it asks. Both RemoteDesktop and InputCapture sessions may ask; a plain screen share may not, since it has no input of its own to paste into.
A protocol found by the same sweep
This section carried one entry, and it has come off. wp-color-representation-v1 is in: crates/viewport/src/color_representation.rs is the server side, the declaration lives on the surface and is checked against the committed buffer's format, and docs/protocols.md's hardware-video section says what a client can now say and what the renderer takes from it in place of the height guess.
What the machine underneath does not do yet
This section used to carry two entries. One of them, xwayland.scale, has landed. The other said multi-GPU and whole-device hotplug were missing, and it was wrong — it was written from udev.rs's header comment, which was stale, rather than from the code under it, which has had devices: Vec<Device>, a renderer per card, per-device dmabuf feedback and on_gpu_added/ on_gpu_removed for some time. The entry is gone and the header comment is fixed. What the audit that found this out did find is below: the places where one card is still assumed, all of which now have an answer, and the one that does not.
The built-in shell's blur is in. The shell is rendered from an imported DMA-BUF as render::Shell, not from a WaylandSurfaceRenderElement, so no wl_surface survives for ext-background-effect-v1 to extend. Its blur-region metadata now rides the socket instead: OverlayRect grew an optional blur field (crates/viewport-ipc/src/request.rs:1720), the shell sets it on the pieces that are meant to be glass — data/shell/geometry.js:1224 asks for the floating bar — and crates/viewport/src/render.rs:473-503 pushes the same framebuffer-effect element a client's request would under that piece of the shell's texture. Vulkan support is in too: VulkanFrame captures an active frame into a sampleable image and runs a nine-tap blur, and the DRM backend advertises the global whenever its renderer can draw the effect (crates/viewport/src/udev.rs:1496-1504), so translucent web chrome and ordinary Wayland clients get the same blur on real hardware.
A buffer no scanout card can import is copied, not dropped. Per-surface feedback tells a client which card is displaying it, and cross_gpu = "portable" narrows the default advertisement to what every card can import, which between them cover every client that listens. A client that ignores both hands over a buffer the scanout card cannot take: it is imported on a card that can, drawn into a shadow buffer allocated on the scanout card, and the shadow is shown — cached per buffer, with a CPU readback behind the GPU blit for cards that share no renderable format (crates/viewport/src/cross_gpu.rs, and the rules in crates/viewport/src/multigpu.rs). Only if even the copy cannot be made is the surface dropped from that screen, with one line in the log naming the format, the modifier and the cards.
None of the multi-GPU path has run on two cards. Everything above is reasoned and unit-tested against a machine with one. docs/debugging.md has the symptoms and the log lines to look for, and whoever first boots this on a laptop with a discrete card beside an integrated one should expect to find something; that is not pessimism, it is what an untested path is worth.
The first boot on two cards is worth doing in this order, because each step exercises one more of the rules above:
- One output on each card, a window on each. Both draw; the log names both devices and their renderers (
udev.rsreports per card). - A client whose buffers the scanout card cannot import — a Vulkan client with a modifier the other card does not support, or
cross_gpu = "portable"left off so the advertisement is the scanout card's own. The per-surface feedback line fires, then the copy: watch for the shadow allocation and whether it went through the GPU blit or the CPU readback (cross_gpu.rslogs which). The window draws on the foreign screen. - Drag that window between the two screens, and resize it while it spans neither cleanly. The shadow cache is per source buffer: a new buffer is a new copy, a kept one is not copied again.
- Screencopy and a portal share of the foreign screen — the capture path reads the same shadow the scanout shows.
- Unplug one card's monitor (or disable the output) with windows on it, and plug it back.
on_gpu_removed/on_gpu_addedand the lease fallback are the paths a hotplug exercises; the windows should land on the surviving screen and come back.
What a failure looks like is in docs/debugging.md: a hole where a window should be, one log line naming the format, the modifier and the cards, or a surface dropped from a screen. Record which of the five steps reached which line — that is the difference between "the copy works" and "the copy works on this pair of drivers".
Runtime-togglable settings
The aim is that every setting in the config file can also be changed at runtime over the control socket — no file edit, no reload — persisting through config.save when wanted and re-announced in the config event. That is what a settings panel, a keybinding, a verification tool and a wallpaper cycler all want, and it is why the runtime tier sits between the bootstrap file and the overlay in docs/configuration.md.
This section is the startup-only list: what deliberately has no runtime setter, and why. Everything else the config file can set can now also be changed over the control socket, and this section is no longer where the rest of those live — when a setter lands it is documented where the rest of that subject is, in docs/ipc.md and docs/configuration.md.
Two groups have come off this list whole, and are worth one paragraph each as the record of what they cost, because the shapes are the templates the next group will be judged against:
"Just another
config.*setter, theconfig.gapsshape" — every shell-carried block now has one:config.motionandconfig.group,config.clock,config.barandconfig.bar_blur,config.bar_widgetsandconfig.bar_items,config.logoandconfig.tutorial,config.tiling_mode,config.layoutandconfig.layout_extensions,config.focus_crosses_outputs,config.osk,config.tray,config.clipboard_history,config.icon_theme,config.theme,config.rules,config.layer_rules,config.decorations,config.workspacesandconfig.opacity, plus the cursor's remaining keys (theme,size,follow_mouse,follow_mouse_threshold, on the sameconfig.cursormessage the hide trio landed on). Each is a request variant, an apply arm, aConfigfield and an overlay field. What went in that shaped like its own sentence: the booleans with a natural opposite (config.bar_blur,config.logo,config.tutorial,config.focus_crosses_outputs,config.tray) toggle on a bare message; whole-list setters (config.bar_widgets,config.bar_items,config.layout_extensions,config.rules,config.layer_rules,config.workspaces,config.theme) take the file's own JSON and replace, so an empty value is a clear rather than a no-op; the validation a file only warns about (an unknown tiling mode, layout or osk policy) is refused over the socket instead. Two carry more than a value:config.bar_widgetsandconfig.bar_itemsre-price the status sampler through the sameapply_bar_configthe file's reload uses, andconfig.layer_rulescompiles before anything changes. One familiar loss came with the ride and is written down where it happens (config.saveindocs/ipc.md): anaibar widget's credential env names do not cross back into the overlay, because only the provider reaches the shell."A setter plus new machinery" —
config.idleandconfig.lid,config.keyboard, per-deviceconfig.input,config.notificationsandconfig.magnify. Each is a request variant, an apply arm, aConfigfield and an overlay field. What the machinery cost:config.idlere-arms the timers (Idle::rearm) rather than just storing values, so a deadline turned on while the desk has been quiet gets a full period and nothing is woken;config.keyboardreplaces the seat's keyboard through the sameapply_keyboardthe file's reload uses, and a keymap xkb refuses is rejected over the socket rather than warned about;config.inputnames its device the wayinput_config_fordoes and reconfigures the connected devices at once;config.notificationsre-reads the sound player and the history through the sameapply_notifications_configa reload uses;config.magnifyreads its effective, clamped values back off the magnifier, and lowering the ceiling repaints as a reload does.
What has no setter yet, and why:
Startup-only by design.
url,url_span,shell_backendand its fallback,env,gpu,pixel_format,cross_gpuandstartupare read before backends open and before anything is spawned (main.rs, before the backend choice; re-read only byreload) — a runtime setter could not move the session onto another card or shell without a restart, and a typo arriving over the socket would be a worse failure than one in the file. They stay on the file, and onreloadwhere the file re-read already applies them.Carried by the file's own format, not by a message.
bindsandbinds_override(the keymap is a list the config event already replays in full —configindocs/ipc.md— so a setter would be a second writer of the same list),gesturesanddrag_threshold(seat behaviour the file sets at startup and no settings panel has asked to move at runtime).Per-output where the message is per-session.
adaptive_syncandvt_switchingare per-output toggles, and what already moves them is the per-outputoutput.configurerequest, so a session-wide setter would either lie or fight it.Blocks the file owns with the compositor acting only on the result.
render(which backend draws; a file key),xwayland(the X server flags),outputs(the startup layout),terminal,menuandbackground_terminal(commands the shell substitutes verbatim),timeout_ms(a deadline the callers of the socket read once), andwidget_extensions(sent to the shell with theconfigevent rather than stored as state to change).
OLED panel care and the extension ecosystem
A focused batch, agreed all at once and being worked as one goal rather than rediscovered piecemeal. The thread through most of it is the OLED desk this compositor runs on: burn-in is exposure — light × time in one place — so the answers are dimness, motion that never settles, and spreading the load across subpixels. That is the same reasoning as the border.animated drift and the wallpapers/oled/ art in the nixos config. The rest mature the extension hooks (layout, widget, wallpaper) into a small ecosystem. Status is marked per entry; an entry comes off this list and is documented where its subject lives when it lands.
1. Per-output wallpaper extensions — done
Landed: the per-output outputs block carries wallpaper_extension / wallpaper_options, the config event carries output_wallpapers, and the shell applies each output's extension to its own .desktop. Documented in docs/wallpaper-extension.md ("Per-output wallpapers").
The wallpaper hook (docs/wallpaper-extension.md) is page-level: one extension draws document.documentElement, and every output's .desktop mirrors it. The OLED desk is two monitors joined as one 5120×1440 surface, and its own notes call the mirror out ("one screen, not a panorama"). Let each output select its own wallpaper extension — or the same one seeded per-output — so the desk can be one continuous scene or two independent ones.
Scope: the per-output outputs config block gains wallpaper_extension / wallpaper_options; the config event carries them per output; the shell applies the extension with the output's .desktop as root rather than the document element, tracking the active extension per output and clearing it on change. The gradient demo's class hook moves from html.<class> to the root element so it paints one output. The page-level selection stays as the default for outputs that name none.
2. An OLED drive-budget guard in the extension loader — done
Fold the bake.mjs verify methodology (mean linear drive < 8%, fraction over half drive < 0.8%, peak 0.40–0.95, fraction over 25% grey < 62%) into the shell: when a wallpaper extension is applied, sample its first rendered frames into a canvas, measure the same metrics, and warn on the error stream — or refuse, configurably — when a frame blows the budget. Turns a manual headless check into a built-in safety net for any future extension. Shares the pixel-sampling code with the panel-drive widget below.
Landed: data/shell/panel.js measures the four metrics in linear drive and rasterises the live wallpaper through an SVG foreignObject (computed styles inlined property by property — cssText is empty in CEF). The guard (wallpaper_oled_guard: off / warn / refuse, default warn) samples once on apply and warns or takes the extension down. Documented in docs/wallpaper-extension.md ("The OLED drive-budget guard").
3. A live panel-drive bar widget — done
A widget extension (or built-in module) that estimates the screen's current mean linear drive and peak, with a small sparkline, so the cost of a wallpaper or a bright application is visible in real time. Samples the wallpaper layer — the part the shell draws — on a slow interval; the metrics are the same as the guard. Depends on the sampling code in #2.
Landed: a built-in panel bar module, opt-in by naming "panel" in bar_items. It samples each output's wallpaper every 5s (only while a bar carries it) and draws the mean drive as a percentage, with the peak / over-half / wash in the tooltip. The sparkline is left as optional polish — the live number and the full-metrics tooltip are the substance. Shares panel.js with the guard.
4. Extension options in the settings panel — done
Let a wallpaper or widget extension declare its options (the gradient's colors / angle / duration) and render them as real controls in the settings panel, writing back through the runtime config.* setter, so tuning an extension does not mean editing JSON. The descriptor gains an optional options schema; the panel draws it; the value rides the existing config path.
Landed for wallpaper extensions: a descriptor may carry an options schema ({key, type, label, default, min, max, step, choices}, types number / text / toggle / choice), validated at registration. The settings panel draws a "Wallpaper extension" section from the selected extension's schema and writes each change back through the new config.wallpaper_options runtime setter. The gradient demo declares angle and duration. Widget extensions now declare the same options schema, and the panel draws a "Widget extensions" section with a group per custom widget on the bar — a bar_items override is the list it reads when present, otherwise bar_widgets — writing each change back through config.bar_items / config.bar_widgets, which remounts the widget on the new options. A name placed twice is drawn per instance. Documented in docs/wallpaper-extension.md and docs/custom-widgets.md.
5. A notification extension hook — done
Complete the extension trio (layout, widget, wallpaper) with notifications: a notification_extensions manifest and a registerNotification API letting a script draw or filter notification popups the same way the others draw their piece. Mirrors the existing loader / registry / lifecycle shape.
Landed: the manifest + selection ride the config path (notification_extensions / notification_extension), the shell loads and registers descriptors (registerNotification, validated), and the selected extension's filter (return false to keep a popup off screen) and render (decorate the popup the shell built) run per notification, both contained so a bad script cannot silence the desktop. The shell keeps the popup, its actions and the history. Documented in docs/notification-extension.md, demo at examples/notifications/badges.js.
6. An idle dim ramp — done
The desk blanks at idle.blank_after; add a configurable gradual dim before that, so the panel spends the idle window at falling drive instead of full-brightness-then-off. An idle.dim_after / idle.dim_floor (or similar) ramps a brightness multiplier — compositor gamma, or a shell overlay — down from 1 toward a floor as idle progresses, reset by any input. OLED-friendly and cheap.
Landed: idle.dim_after / idle.dim_floor ramp a brightness multiplier from 1 to the floor across the window from dim_after to blank_after (or the following minute with no blank), applied through the compositor gamma so it composes with the calibration and any night-light client rather than replacing them (gamma::scaled). The 1s idle tick drives the ramp; any deliberate input or bus simulate-activity brightens it again at once. Config-file and runtime config.idle paths both carry it; the idle tests cover the ramp, the floor clamping and the no-blank window.
7. A game mode — done
One toggle (config game_mode, a runtime setter, and a bind) that strips shell animations, hides the bar, and pauses the wallpaper drift while gaming — cutting compositing overhead and distraction. Adjacent to streamingMode in the nixos config but compositor-side: it sets the motion durations to zero, hides the bar, and tells wallpaper extensions to pause. Restores on toggle-off.
Landed: game_mode in the config file, the config.game_mode runtime setter (absent toggles) and a game-mode bind action. The shell's applyGameMode zeroes the motion pace (restoring the configured pace on the way out), hides the bar through the relayout, and calls the active wallpaper extensions' optional pause/resume hooks — with an html.game-mode CSS rule pausing animations as a fallback for extensions that declare none. The gradient demo declares the hooks. Shell tests cover the toggle, the bar, the hooks and the config path; config, IPC and binding tests cover the key, the setter and the action.
What is deliberately not on this list
A file chooser stays with the GTK backend. viewport-portals.conf already sends everything this compositor does not name there, and a file dialog is a toolkit's job: drawing one here would mean a second file manager to maintain and no application would be better off for it.
xdg-toplevel-drag-v1, wlr-export-dmabuf-v1 and ext-transient-seat-v1 are absent by decision, and the decisions — with what would have to change for each to come back — are recorded in docs/protocols.md rather than here. Those are answers, not gaps.
A gap found now goes back on this list rather than being fixed quietly, so the next one is written down here rather than rediscovered.
Where the retired entries landed
The six entries named at the top of this page came off the list; each is now documented with the rest of its subject rather than here. This is an index of those homes, using only the paths and message names the opening already gives — no new claims about what any of them does. The rows follow the order they were named above.
| Retired entry | Now documented in |
|---|---|
| Lock screen the shell draws | docs/configuration.md — idle.lock_command; crates/viewport/src/lock.rs, data/shell/lock.js |
| Settings panel and the overlay file it writes | docs/ipc.md — config.save / config.dark_mode / output.revert; crates/viewport/src/settings.rs, data/shell/settings.js |
| A keyboard for every surface that can be opened | docs/shell-backends.md — data/shell/keys.js, and which engine can reach an accessibility bus and which cannot |
| A screen magnifier | docs/shell-backends.md — crates/viewport/src/magnify.rs |
| The calendar under the clock, and a clock that reads the locale | docs/configuration.md — clock, data/shell/calendar.js |
xwayland.scale | docs/protocols.md — its per-toolkit limits |