I'm on Sway, and I've noticed that in OBS, the Screen Capture via PipeWire option disappeared when I removed --then re-installed--
xdg-desktop-portal-wlr. If I run this program manually using
/usr/lib/xdg-desktop-portal-wlr, I get this message:
/usr/lib/xdg-desktop-portal-wlr: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directory
XDPW used to start fine before, but now it seems to require systemd? I got it from the
extra Arch repo, so that might explain it. It's weird, though, shouldn't an important dependency like this already be on Artix repos? `pacman` does not show me a package called
xdg-desktop-portal-wlr on any Artix-specific repo. Does the recent migration to Git on Arch/Artix repos have something to do with this?
have you installed artix-archlinux-support package from universe?
This seems to keep coming up fairly frequently recently, and I think all related to wayland / sway / tiling desktop type packages.
Installing artix-archlinux-support won't help.
I'm going to refer to the last post I made to avoid repeating myself.
https://forum.artixlinux.org/index.php/topic,5712.msg35796.html#msg35796
But to add to that I mentioned that you might be able to build your own package which uses libelogind rather than libsystemd.
I've checked by using the xdg-desktop-portal-wlr PKGBUILD to get the source and you can.
In meson_options.txt
So in the PKGBUILD you change this line
arch-meson -Dsd-bus-provider=libsystemd build
to
arch-meson -Dsd-bus-provider=libelogind build
and build the package.
It seems we have all the various xdg-desktop-portal-* packages already but not xdg-desktop-portal-wlr oddly enough. We're missing xdg-desktop-portal-hyprland as well, but that's pretty new so not really surprising. Anyways, I've just added both of those to the repos with systemd disabled in the build. Kind of the whole point of this distro after all.
You are a life-saver. Solved.