Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.274 ·

WAYLAND_DISPLAY now cleared alongside DISPLAY on Linux

Claude Code now clears WAYLAND_DISPLAY along with DISPLAY when forcing headless behavior on Linux

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindImprovementsin v2.1.274,
You'll notice No documentation found

Claude Code now clears WAYLAND_DISPLAY along with DISPLAY when forcing headless behavior on Linux

What

On Linux, when Claude Code strips graphical display environment variables to force headless or command-line browser behavior, it now clears WAYLAND_DISPLAY in addition to DISPLAY.

Why

This closes a gap where a Wayland desktop session could still cause graphical behavior to leak through even after DISPLAY was cleared, since Wayland systems use WAYLAND_DISPLAY instead of (or alongside) DISPLAY.

Read from
Names in the bundleWAYLAND_DISPLAY

See this entry in the whole of v2.1.274 →