Date: Thu, 1 Feb 2024 10:45:34 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9a93455d65f5 - main - x11-wm/niri: document 3dee7e552236 Message-ID: <202402011045.411AjYa6093319@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a93455d65f5ded157dc0e4988f75fe267012ee0 commit 9a93455d65f5ded157dc0e4988f75fe267012ee0 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-02-01 09:56:29 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-02-01 10:24:33 +0000 x11-wm/niri: document 3dee7e552236 XDG_SESSION_TYPE is usually set by consolekit2 on behalf of sddm. seatd doesn't support XDG_SESSION_TYPE, so niri emulates like wlroots. --- x11-wm/niri/files/patch-no-systemd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x11-wm/niri/files/patch-no-systemd b/x11-wm/niri/files/patch-no-systemd index 525af9ff06a6..2b4890279d06 100644 --- a/x11-wm/niri/files/patch-no-systemd +++ b/x11-wm/niri/files/patch-no-systemd @@ -42,12 +42,13 @@ Avoid various systemd dependencies let cli = Cli::parse(); let _client = tracy_client::Client::start(); -@@ -128,6 +114,10 @@ fn main() { +@@ -128,6 +114,11 @@ fn main() { socket_name.to_string_lossy() ); + // Advise xdg-desktop-portal which *-portals.conf to load + env::set_var("XDG_CURRENT_DESKTOP", "niri"); ++ // Mimic wlroots, used by https://github.com/qt/qtbase/commit/4b4870a12cd9 + env::set_var("XDG_SESSION_TYPE", "wayland"); + if is_systemd_service {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402011045.411AjYa6093319>