89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
10.17k stars 420 forks source link

[Error] Exported .desktop files contain a broken Path #1513

Open na-sa-do opened 3 months ago

na-sa-do commented 3 months ago

Describe the bug When distrobox-exporting a GUI app, the created .desktop file's Path entry might only exist in the container, but the launcher expects to be able to find it on the host.

To Reproduce Install an application which is affected by the bug in a distrobox, then export it and launch it from outside. I ran into this issue trying to use the AUR version of OpenUtau, which installs to /opt/openutau for some reason.

Expected behavior It launches normally.

Logs https://gist.github.com/na-sa-do/4b4421412a6caabdd2f17f4d4578dd01

Desktop (please complete the following information):

89luca89 commented 1 month ago

Can you show the generated desktop file for reference? and where the exec is supposed to be?