balimpalim
(balim palim)
November 19, 2023, 8:09am
1
there is distrobox-export with which you can export from distrobox. How can I export from toolbox?
jakfrost
(Stephen Douglas Snow)
November 19, 2023, 4:55pm
2
The app should be created in your user space of the system (your ~/appdir) so you shouldn’t have to export anything from Toolbox.
chrisawi
(Chris Williams)
November 19, 2023, 8:03pm
3
Toolbox developers have rejected adding a similar feature in the past out of a somewhat baffling fear of encroaching on flatpak:
opened 10:26PM - 20 Apr 20 UTC
closed 09:41PM - 15 Nov 21 UTC
1. Feature request
If you install an GUI App (for example VS Code, GNOME Builder, et cetera), it wi… ll create desktop file in /usr/share/applications. But toolbox have isolated system (except homedir) and it will not bind.
If there can be an option to create desktop file from it like:
`$ toolbox desktop code.desktop` will do:
1. Copy /usr/share/applications/code.desktop to .local/share/applications/toolbox_code.desktop
2. Change all executable references (/usr/bin/code or code) to the conainers (/usr/bin/code -> toolbox run /usr/bin/code et cetera)
3. Copy icon to local icon storage
Also add option to remove:
`$ toolbox desktop code.desktop -r`
to remove ~/.local/share/applications/toolbox_code.desktop and the icon
You can do it manually pretty easily. From inside the container, copy the .desktop file from /usr/share/applications
to ~/.local/share/applications
and edit Exec=
to invoke toolbox run
.
The icon can similarly be copied from /usr/share/icons/hicolor/.../apps
.
1 Like
balimpalim
(balim palim)
November 20, 2023, 9:04am
4
@jakfrost unfortunately it doesn’t show up.
@chrisawi thank you. I went for the distrobox solution, it’s easy to use, and it seems to be more mature and sufficient for my personal use case.