VOOZH about

URL: https://www.phoronix.com/news/Electron-Good-Wayland-Support

⇱ Electron's Investment Into Good Wayland Support - Phoronix


👁 Phoronix

Electron's Investment Into Good Wayland Support

Written by Michael Larabel in Wayland on 22 March 2026 at 06:45 AM EDT. 97 Comments
For years Electron apps were notorious for continuing to depend upon X11/XWayland and not jive well with the modern Wayland experience on modern Linux desktops. But for the past several months, Wayland has been well supported out-of-the-box on upstream Electron. An Electron blog post this week outlined the technical work done for achieving good Wayland support.

Beyond the upstream work into Chromium/CEF, Electron developers also invested a lot into getting their Wayland support in order so XWayland doesn't need to be used with modern desktops. This is particularly important with the likes of Discord, Slack, Visual Studio Code, and many other Electron apps out there.

Since late September, Electron followed Chromium's lead in defaulting to Wayland. But not all of Electron's APIs are available under Wayland and some features not behaving quite the same as on other platforms. But some capabilities do work better on Wayland than X11 such as for color / HDR, transparency, and hardware-accelerated rendering.

As of last month, there is also now a Wayland test job in Electron's CI for helping to ensure the Wayland support doesn't regress. Moving forward there are also new possibilities for Electron apps on Wayland such as around client side decorations.

👁 Wayland Electron example screenshot


Those wishing to learn more about the modern Wayland support by Electron can see this tech talk blog post outlining the recent work in improving Wayland support.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.