Xdg-desktop-portal keeps crashing on Hyprland but works fine on KDE

Reconfirmed xdg-desktop-portal does crash on Hyprland, so just copy the service file and edit as required to patch out and all should be fine until an update arrives.

cat /etc/systemd/user/xdg-desktop-portal.service

[Unit]
Description=Portal service
PartOf=graphical-session.target
##Requisite=graphical-session.target
Requires=dbus.service
After=dbus.service
After=graphical-session.target

[Service]
Type=dbus
BusName=org.freedesktop.portal.Desktop
ExecStart=/usr/libexec/xdg-desktop-portal
Slice=session.slice
1 Like