Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 May 2021 06:40:12 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Adriaan de Groot <adridg@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 7dbd17a38d01 - main - x11/plasma5-plasma-workspace: add helper script for Plasma Wayland
Message-ID:  <a6pd-sq8j-wny@FreeBSD.org>
References:  <202104301529.13UFTeL3019996__49210.8773252525$1619796594$gmane$org@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

Adriaan de Groot <adridg@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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a6pd-sq8j-wny>