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.
This commit is contained in:
Jens Peters 2024-10-02 22:32:47 +02:00 committed by GitHub
parent c7983129d4
commit cf123dd78e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,2 +1,3 @@
[preferred]
default=wlr;*
org.freedesktop.impl.portal.Inhibit=none