# ───────────────────────────────────────────────────────────────────────────── # Portal backend routing for the Hyprland session # # This overrides /usr/share/xdg-desktop-portal/hyprland-portals.conf, which # ships `default=hyprland;gtk` and no Secret mapping. # # Why each line: # hyprland -> Screenshot, ScreenCast, GlobalShortcuts, InputCapture # (this is what makes OBS / Sunshine / Zoom screen sharing work) # gtk -> FileChooser, Settings, Notification, Print, Access # Settings is load-bearing: xdg-desktop-portal-gtk reads # gsettings' org.gnome.desktop.interface and serves # org.freedesktop.appearance, which is how libadwaita apps know # to be dark. # Secret -> gnome-keyring. Its own portal file is UseIn=gnome, so under # XDG_CURRENT_DESKTOP=Hyprland nothing would claim Secret and # Flatpak apps needing credential storage would fail. # # xdg-desktop-portal-gnome stays installed but is inert here (its portal file # is UseIn=gnome); it is still needed for the GNOME session. # ───────────────────────────────────────────────────────────────────────────── [preferred] default=hyprland;gtk org.freedesktop.impl.portal.Screenshot=hyprland org.freedesktop.impl.portal.ScreenCast=hyprland org.freedesktop.impl.portal.Secret=gnome-keyring