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.
No description
6 Replies
wolfyreload
wolfyreload•5mo ago
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
sudo wget -qO /etc/yum.repos.d/softmaker.repo https://shop.softmaker.com/repo/softmaker.repo
rpm-ostree install softmaker-office-2024
sudo wget -qO /etc/yum.repos.d/softmaker.repo https://shop.softmaker.com/repo/softmaker.repo
rpm-ostree install softmaker-office-2024
See if that works
0rangeWizard
0rangeWizardOP•5mo ago
I tried, but the installation stops with the following message:
error: Running %prein for softmaker-office-2024: bwrap(/bin/sh): Child process killed by signal 1; run journalctl -t 'rpm-ostree(softmaker-office-2024.prein)' for more information
error: Running %prein for softmaker-office-2024: bwrap(/bin/sh): Child process killed by signal 1; run journalctl -t 'rpm-ostree(softmaker-office-2024.prein)' for more information
journalctl -t 'rpm-ostree(softmaker-office-2024.prein)' gives me the following result:
bash-- Boot 84de5ae57be9472aa3a0b192e3cff1a3 --
Jul 07 10:20:27 fedora rpm-ostree(softmaker-office-2024.prein)[8376]: Please use -E option, e.g.
Jul 07 10:20:27 fedora rpm-ostree(softmaker-office-2024.prein)[8376]: sudo -E rpm -i path_to_package
Jul 07 10:20:27 fedora rpm-ostree(softmaker-office-2024.prein)[8376]: sudo -E zypper install softmaker...
Jul 07 10:20:27 fedora rpm-ostree(softmaker-office-2024.prein)[8376]:
bash-- Boot 84de5ae57be9472aa3a0b192e3cff1a3 --
Jul 07 10:20:27 fedora rpm-ostree(softmaker-office-2024.prein)[8376]: Please use -E option, e.g.
Jul 07 10:20:27 fedora rpm-ostree(softmaker-office-2024.prein)[8376]: sudo -E rpm -i path_to_package
Jul 07 10:20:27 fedora rpm-ostree(softmaker-office-2024.prein)[8376]: sudo -E zypper install softmaker...
Jul 07 10:20:27 fedora rpm-ostree(softmaker-office-2024.prein)[8376]:
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.
asen23
asen23•5mo ago
maybe try their manual installation inside distrobox? or try fedora distrobox
wolfyreload
wolfyreload•5mo ago
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 correctly
No description
wolfyreload
wolfyreload•5mo ago
This is the fixed shortcut and it's opening correctly from the menu
No description
0rangeWizard
0rangeWizardOP•5mo ago
That worked. Thanks!! 🙂
Want results from more Discord servers?
Add your server