Skip to content

[Discussion] Should Warp stop forcing X11 by default on native Linux and enable proper Wayland autodetection? #9836

@PratikRai0101

Description

@PratikRai0101

Pre-submit Checks

Describe the solution you'd like?

Change the current default for native Linux from X11 to Wayland. Specifically, align the force_x11 logic with its intended purpose (forcing X11 only on WSL) by updating the configuration:

- default: !linux::is_wsl(),
+ default: linux::is_wsl(),

This allows native Linux environments to use the existing Wayland fallback logic automatically. As Wayland adoption continues to grow across major distributions (KDE 6, GNOME), re-evaluating this default will improve the out-of-the-box experience (better scaling, no blurry text) while keeping X11 as a fallback if initialization fails.

---

### 3. Is your feature request related to a problem? Please describe.
**What to fill:**

Yes. On native Linux, Warp currently forces X11/XWayland by default due to an inverted logic check in the settings. This happens even on full Wayland sessions, requiring users to manually opt-in via environment variables or settings.

This behavior adds unnecessary overhead and scaling issues for modern Wayland users.

Is your feature request related to a problem? Please describe.

Yes. On native Linux, Warp currently forces X11/XWayland by default due to an inverted logic check in the settings. This occurs even on modern Wayland sessions, requiring users to manually opt-in via environment variables or settings to get a native experience.

This behavior adds unnecessary overhead and leads to common Wayland-on-X11 issues like blurry text and scaling inconsistencies. Additionally, the current code comment in app/src/settings/linux.rs is misleading, as it states the default should be false on non-WSL platforms, while the code currently enforces the opposite.

Additional context

This issue follows the discussion in PR #9719 and bug report #9718.

I'm happy to help test this across multiple environments (KDE6, GNOME, Arch/Hyprland) to ensure stability before a full rollout.

cc @alokedesai @lucieleblanc @oz-for-oss

Operating system (OS)

Linux

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.enhancementNew feature or request.os:linuxLinux-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions