Closed A6GibKm closed 2 months ago
Temporarily disable selinux
setenforce 0
Create /run/extensions
mkdir /run/extensions
Have a preferences file ~/.config/xdg-desktop-portal/gnome-portals.conf with contents
~/.config/xdg-desktop-portal/gnome-portals.conf
[preferred] default=gnome;gtk; org.freedesktop.impl.portal.Secret=oo7-portal;
and restart xdg-desktop-portal
systemctl --user restart xdg-desktop-portal
From oo7/portal run in a toolbox:
meson --prefix=/usr _build -Dprofile=development ninja -C _build && DESTDIR=oo7-extension meson install -C _build
From outside the sandbox:
cp -r _build/oo7-extension /run/extensions/ && systemd-sysext refresh --force
One can get more debug output by replacing services for xdp and oo7-portals:
/usr/libexec/xdg-desktop-portal -r -v
RUST_LOG=oo7_portal=debug RUST_BACKTRACE=full /usr/libexec/oo7-portal
Would be nice to add a CI job for this :)
Test on Silverblue
Temporarily disable selinux
Create /run/extensions
Have a preferences file
~/.config/xdg-desktop-portal/gnome-portals.conf
with contentsand restart xdg-desktop-portal
From oo7/portal run in a toolbox:
From outside the sandbox:
One can get more debug output by replacing services for xdp and oo7-portals: