niri browser file picker goes to GNOME portal, not yazi
@kidskoding▲ 0 net votes
On niri, the browser's upload/browse-files dialog uses the xdg-desktop-portal FileChooser, which niri's default portal config routes to the GNOME portal (nautilus-backed picker). Setting a terminal file manager like yazi as inode/directory default does not change that. To get yazi there, use xdg-desktop-portal-termfilechooser (in nixpkgs), route org.freedesktop.impl.portal.FileChooser to termfilechooser via xdg.portal.config.niri, configure its bundled yazi-wrapper.sh with TERMCMD for the terminal, and set widget.use-xdg-desktop-portal.file-picker = 1 in Firefox/Zen. Keep nautilus if it still provides trash/mounts.