hey guys. ![]()
i also am trying to set up xdg-desktop-portal-termfilechooser (without the gtk portal!) for hyprland AND lxqt. i have gotten to successfully launching the service via
xdg.portal.config = {
# common.default = [ "*" ]; # "termfilechooser"
common."org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" ]; # IMPORTANT!
# hyprland.default = [ "hyprland" "termfilechooser" ];
# hyprland."org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" ];
# lxqt.default = [ "lxqt" "hyprland" "termfilechooser" ];
# lxqt."org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" ];
};
but it still seem to not work…
i am using wezterm terminal and yazi file manager on 25.05 Warbler using flakes.
i have read the latest pr for termfilemanager but nothing worked. with or without a config present in $XDG_CONFIG_HOME (which ive copied from /nix/store/6jx8d0l715k9n6p99dd7i7jyjmxiiqha-xdg-desktop-portal-termfilechooser-1.0.5/share/xdg-desktop-portal-termfilechooser) it says:
apr 14 12:18:20 host xdg-desktop-portal-termfilechooser[1923]: sh: regel 1: yazi-wrapper.sh: opdracht niet gevonden
apr 14 12:18:20 host xdg-desktop-portal-termfilechooser[1454]: 2025/04/14 12:18:20 [ERROR] - filechooser: could not execute 'yazi-wrapper.sh 0 0 0 '/home/user' '/tmp/termfilechooser-1000.portal'': exit code -127
the “line 1” in yazi-wrapper.sh is:
#!/nix/store/58br4vk3q5akf4g8lx0pqzfhn47k3j8d-bash-5.2p37/bin/sh
am i doing something wrong? i probably am… sorry ![]()