Skip to content

Wayland backend not working in Plots.jl GR backend #141

@VarLad

Description

@VarLad

In Julia 1.7.0beta3, Plots v1.20.1, GR.jl v0.58.1
I realized that the default (GR) backend uses XWayland for the plotting window
Anyway I can use Wayland instead?
I usually get:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

After doing
ENV["QT_QPA_PLATFORM"]="wayland" in Julia, or starting julia with QT_QPA_PLATFORM=wayland julia
I get the same error, the error being,

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

connect: Connection refused
GKS: can't connect to GKS socket application

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