You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GDK_BACKEND environment variable set by Guake entrypoint is propagated to terminals and, in turn, to all the child processes.
This forces all GUI apps launched from Guake to use XWayland on Wayland session.
On a Wayland session, setting GDK_BACKEND to x11 while XDG_SESSION_TYPE is set to wayland, can cause apps misbehaviour.
E.g. GTK-based flatpak apps with --socket=fallback-x11 permission (which allows x11 socket only on X11 session) will fail to launch with Gtk-WARNING **: 18:18:53.576: cannot open display:, unless GDK_BACKEND is unset in advance.
Describe the bug
The
GDK_BACKEND
environment variable set by Guake entrypoint is propagated to terminals and, in turn, to all the child processes.This forces all GUI apps launched from Guake to use XWayland on Wayland session.
On a Wayland session, setting
GDK_BACKEND
tox11
whileXDG_SESSION_TYPE
is set towayland
, can cause apps misbehaviour.E.g. GTK-based flatpak apps with
--socket=fallback-x11
permission (which allows x11 socket only on X11 session) will fail to launch withGtk-WARNING **: 18:18:53.576: cannot open display:
, unlessGDK_BACKEND
is unset in advance.#1763 seems somehow related to this.
Expected behavior
Guake itself runs with
x11
GDK backend, whileGDK_BACKEND
env var is unset in the shell.Actual behavior
GDK_BACKEND
env var is set tox11
in the shell.To Reproduce
echo $GDK_BACKEND
in the terminalx11
in output$ guake --support
Guake Version: 3.7.0
Vte Version: 0.64.2
Vte Runtime Version: 0.64.2
GTK+ Version: 3.24.30
GDK Backend: GdkX11.X11Display
Desktop Session: gnome
Display: :0
RGBA visual: True
Composited: True
The text was updated successfully, but these errors were encountered: