#6432·readest

Linux build now forces X11/XWayland instead of using native Wayland

Author: MeoCagCreated Sep 28, 2026Updated Sep 28, 2026
LabelsLinuxTauri

Bug Description

Recent versions of Readest appear to force the Linux CEF runtime to use X11, even when Readest is launched inside a native Wayland session.

Until very recently, Readest was running natively on Wayland on my system. After updating Readest, I noticed that it now runs through XWayland instead.

Trying to explicitly request Wayland does not help:

GDK_BACKEND=wayland readest --ozone-platform=wayland

Readest still uses X11.

If DISPLAY is removed:

env -u DISPLAY GDK_BACKEND=wayland readest --ozone-platform=wayland

Readest exits with:

Readest's Linux CEF runtime requires an X11 display, but DISPLAY is unset or empty.

This looks like a recent regression caused by the switch to / configuration of the CEF runtime.

CEF/Chromium itself has native Wayland support through Ozone, so it would be useful if Readest could support a native Wayland backend again instead of requiring XWayland.

This is especially relevant for Wayland-only compositors such as Niri, where X11 applications require an additional XWayland compatibility layer.

Steps to Reproduce

Start a native Wayland session, for example Niri.

Launch Readest normally.

Check the window backend and observe that Readest is running through XWayland.

Launch Readest with: GDK_BACKEND=wayland readest --ozone-platform=wayland

Readest still runs through XWayland.

Launch it with DISPLAY removed: env -u DISPLAY GDK_BACKEND=wayland readest --ozone-platform=wayland

Readest refuses to start because an X11 display is required.

Expected Behavior

Readest should be able to run as a native Wayland application on Linux when launched from a Wayland session, without requiring XWayland.

Ideally, --ozone-platform=wayland or an equivalent configuration should allow the CEF backend to use native Wayland.

If native Wayland support is currently blocked by limitations in Readest's CEF integration, it would also be helpful to know whether restoring native Wayland support is planned.

Reproduction File

No response

Operating System

Linux

OS Version

Rolling release

Readest Version

Readest 0.12.10 (Chromium 151.0.0.0)

Custom CSS

No response