Skip to content

Disabling Wayland backend under Linux #1245

@lorenzodallavecchia

Description

@lorenzodallavecchia

Since SWT and the Equinox launcher itself have issues with Wayland, a common workaround is to force using the legacy X11 backend under Linux.

One way to do that is starting the launcher with this environment variable.

GDK_BACKEND=x11

The hassle here is that you have to provide some kind of wrapper launcher/script to make this transparent for the user.
AFAIK the launcher does not support setting environment variables (it was proposed in #129 and #143, but both issues were auto-closed for inactivity).

The documentation launcher_issues.md documentation references the system property org.eclipse.swt.internal.gtk.disableWayland, but that property does not exist anywhere and it doesn't work. I suspect it may be a Copilot hallucination.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions