nix-software-center icon indicating copy to clipboard operation
nix-software-center copied to clipboard

"Run without installing" fails

Open tejing1 opened this issue 3 years ago • 3 comments

When I try to "Run without installing" wezterm (just what I happened to try), I get env: ‘gtk-launch’: No such file or directory on the console and nothing else happens.

I presume this is because I run i3 and have no proper desktop environment installed. Presumably a version of gtk-launch from the nix store should be used, rather than searching PATH.

And yes, I can nix run nixpkgs#wezterm without a problem.

tejing1 avatar Sep 29 '22 22:09 tejing1

Most likely no detected terminal emulator is installed to open it, I'll add gnome-console as a dependency and that should likely work. I'll also look into adding an option so that users can choose what terminal they use in the future. Out of curiosity what terminal do you use right now?

vlinkz avatar Sep 30 '22 02:09 vlinkz

urxvt, from the rxvt-unicode package.

tejing1 avatar Sep 30 '22 02:09 tejing1

There is no standard (xdg-spec) for default terminal yet. There is xdg-terminal-exec now.

https://gitlab.freedesktop.org/xdg/xdg-specs/-/issues/54 https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/46

https://gitlab.gnome.org/GNOME/glib/-/issues/338#note_1076172 https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2839

davidak avatar Mar 18 '23 05:03 davidak