From: Jens Peters Date: Wed, 2 Oct 2024 20:32:47 +0000 (+0200) Subject: data: disable Inhibit D-BUS interface in xdg-portals configuration (#2205) X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=cf123dd78eab5304b79e25943e652980b084d017;p=proto%2Flabwc.git 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. --- 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