I get an error while using obs-studio when I try to use the builtin screen/window recording.
error: [pipewire] Error creating screencast session: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’interface « org.freedesktop.portal.ScreenCast » n’existe pas pour l’objet à l’emplacement /org/freedesktop/portal/desktop
I get the error even if I start manually `/usr/lib/xdg-desktop-portal`
How can I register xdg-desktop-portal in DBus ?
In `/usr/lib/systemd/user/xdg-desktop-portal.service`
[Unit]
Description=Portal service
[Service]
Type=dbus
BusName=org.freedesktop.portal.Desktop
ExecStart=/usr/lib/xdg-desktop-portal
In `/usr/lib/systemd/user/xdg-desktop-portal-wlr.service`
[Unit]
Description=Portal service (wlroots implementation)
PartOf=graphical-session.target
After=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY
[Service]
Type=dbus
BusName=org.freedesktop.impl.portal.desktop.wlr
ExecStart=/usr/lib/xdg-desktop-portal-wlr
Restart=on-failure