From cf123dd78eab5304b79e25943e652980b084d017 Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Wed, 2 Oct 2024 22:32:47 +0200 Subject: [PATCH] data: disable Inhibit D-BUS interface in xdg-portals configuration (#2205) The GTK xdg-portal implementation, which is used as the default behind the wlr xdg-portal implementation, exposes the Inhibit interface even on a non-Gnome session. Unfortunately this D-BUS interface does not work on labwc. By explicitly disabling this interface, firefox and may be other applications are not tricked into using the xdg-portal interface but use the Wayland IdleInhibit protocol instead which labwc supports. --- data/labwc-portals.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/data/labwc-portals.conf b/data/labwc-portals.conf index 1a45f719..4b08b588 100644 --- a/data/labwc-portals.conf +++ b/data/labwc-portals.conf @@ -1,2 +1,3 @@ [preferred] default=wlr;* +org.freedesktop.impl.portal.Inhibit=none