git: 7dbd17a38d01 - main - x11/plasma5-plasma-workspace: add helper script for Plasma Wayland

Jan Beich jbeich at FreeBSD.org
Sun May 2 04:40:27 UTC 2021


Adriaan de Groot <adridg at FreeBSD.org> writes:

> +export GDK_BACKEND=wayland

Already default when WAYLAND_DISPLAY is set. Gtk3 apps which directly
use X11 maybe incompatible with GDK_BACKEND=wayland e.g.,

  $ pkg install emacs vim

  $ GDK_BACKEND=wayland emacs
  (emacs:27983): Gtk-WARNING **: 00:01:51.200: cannot open display: :0

  $ GDK_BACKEND=wayland gvim
  E233: cannot open display
  E852: The child process failed to start the GUI

> +export QT_QPA_PLATFORM=wayland-egl

Seems to be default when XDG_SESSION_TYPE == wayland. No clue if
there're exceptions like in Gtk3 case.


More information about the dev-commits-ports-all mailing list