Exported app from distrobox won't open
Installed Softmaker Office inside an Ubuntu 22.04 container and distrobox-export exports the app correctly. When opening an app from the container it opens as expected, but when clicking the icon from the menu it doesn't open, it says (when trying to open textmaker24, for example): "Failed to change to directory "/usr/share/office2024" (No such file or directory).
The same was happening using fedora and centos stream containers.
6 Replies
It might be worth checking to see if it works if you layer it. It would be something like this if I look at the official instructions and convert it to work with rpm-ostree
See if that works
I tried, but the installation stops with the following message:
journalctl -t 'rpm-ostree(softmaker-office-2024.prein)' gives me the following result:
I suppose is something related to their installation script more than Bazzite.
Update: I installed another app in the Ubuntu container and it worked as expected (exported it to the menu and opened without problems) so... I'm inclined to think that is a problem with Softmaker Office's installation script.
maybe try their manual installation inside distrobox?
or try fedora distrobox
I tested out the distrobox method (used linux mint in this case). There is a problem with the exported shortcuts, you'll need to edit them manually in the
~/.local/share/applications/
folder. I removed the %F and the Path from the shortcut and then everything was executing correctlyThis is the fixed shortcut and it's opening correctly from the menu
That worked. Thanks!! 🙂