Weird distrobox error - bug?

Noticing that nethack was not installed, I created a fedora distrobox, installed nethack with dnf and exported it successfully, but when I tried to run nethack from the menu I get:

??!!!

Any idea why this is happening?

thanks!

The menu entry seems right:

And doing:

/usr/bin/distrobox-enter -n fedora –- nethack

from the terminal works fine

nethack is a terminal app. One possibility which should work is to export it as bin.

distrobox-export –-bin /usr/bin/nethack

It could be, that nethack will complain if your TERM setting is strange (from nethacks point of view). Then just adjust the TERM variable.

Well, it is and it isn’t. I’m actually looking to run the qt version of it but I get what you are saying.

that error comes from a bad path in the desktop entry: something (export, editor, or copy/paste) turned part of the command into weird dashes and mangled distrobox-enter into distrobox–nter.

yea, trying to figure out why. It’s strange.

I think the app launcher broke because Unicode “smart quotes / smart dashes” autocorrected the command line, making the path invalid. Have you been able to reproduce it?

I had the same problem a while back. I ended up changing the command line to /usr/bin/distrobox, and putting -enter in as part of the command line argument. Or something like that. Don’t remember exactly.