- xdg-desktop-portal
- dbus-send (for asahictl)
-
Copy the binary to
/usr/lib/xdg-desktop-portal-asahi(or wherever else portals are stored on the system) -
Copy config files
configs/asahi.portalto/usr/share/xdg-desktop-portal/portals/asahi.portalconfigs/org.freedesktop.impl.portal.desktop.asahi.serviceto/usr/share/dbus-1/services/org.freedesktop.impl.portal.desktop.asahi.serviceconfigs/xdg-desktop-portal-asahi.serviceto/usr/lib/systemd/user/xdg-desktop-portal-asahi.service
-
Append the following line to the end of the active
*-portals.conffileorg.freedesktop.impl.portal.Settings=asahi
For help identifying the active config file, read the XDG Desktop Portal docs here
Alternatively, use scripts/set-portal-config.sh to automatically perform this step.
-
Finally, restart
xdg-desktop-portalsystemctl --user restart xdg-desktop-portal
See the Arch Wiki for more information on configuring the XDG Desktop Portal
- Provide a makefile
- Find a firefox workaround