New comment by Eloitor on void-packages repository https://github.com/void-linux/void-packages/issues/48456#issuecomment-1925318475 Comment: Wow! I wanted something like this for ages! Nextcloud did not work for me. I solved it by running ``` #! /usr/bin/sh export XDG_CURRENT_DESKTOP=niri # Ensure the session type is set to Wayland for xdg-autostart apps. export XDG_SESSION_TYPE=wayland dbus-run-session niri ``` to start niri. Edit: And adding `resources/niri-portals.conf` to `/usr/share/xdg-desktop-portal/`