From Fedora Project Wiki
Description
This test case tests whether you can export a graphical application to the host and run it successfully.
Setup
- Ensure the
package is installed
distrobox - Create a container following the steps in the QA:Testcase_distrobox_basic test case
Read more information about distrobox-export here: https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-export.md
How to test
- Enter the container
- Install a graphical application not already present on your host system (i.e.
sudo dnf install geany) - Run
distrobox-export -a geany
- Once tested, remove the exported application from the host system:
distrobox-export -a geany --delete
Expected Results
- After exporting the application, a new
.desktopfile should appear under~/.local/share/applications/ - The application icon appears between the applications on you host system
- The application successfully start
- When you unexport the application, the
.desktopfile should not appear under~/.local/share/applications/anymore
