You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the name of the distrobox has the name of the application (example: "foo") as a substring, distrobox-export --app foo will create an extra .desktop file that attempts to re-enter the container from inside the container. Also, the intended export will have the wrong icon.
If the name of the distrobox has the name of the application (example: "foo") as a substring,
distrobox-export --app foo
will create an extra .desktop file that attempts to re-enter the container from inside the container. Also, the intended export will have the wrong icon.To Reproduce
Assemble from this ini:
Observe bogus .desktop launcher (the 2nd one):
The exec line is:
Exec=/usr/bin/distrobox-enter -n codium-test-fedora-39 -- /bin/sh -l -c /usr/bin/distrobox enter codium-test-fedora-39
And the launcher for codium uses the icon for fedora:
Expected behavior
If distrobox is instead called
cod1um-test-fedora-39
, there are only 3 .desktop files, and codium has the correct icon:Logs
I commented out the export from the .ini and manually ran
distrobox-export --app --verbose
, resulting in this export.logDesktop (please complete the following information):
Host: Fedora 39
distrobox: 1.6.0.1 from dnf
podman: 4.8.1
Additional context
If I'm reading the code correctly, there's a filter that's supposed to prevent this, but it doesn't seem to be working.
The text was updated successfully, but these errors were encountered: