diff --git a/README.md b/README.md index 619c6b0..cbcc574 100644 --- a/README.md +++ b/README.md @@ -30,16 +30,18 @@ Container for distrobox that I use for development that is based on fedora-toolb Including systemd: ``` -distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname drone --init +distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname (hostname) --init ``` No systemd: ``` -distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname drone +distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname (hostname) ``` -When the container you can enter it and run *code* out of there: +Hostname must be same as the host's machines, otherwise exported apps are shown wrongly in the luncher. + +To enter the container: ``` distrobox enter drone @@ -54,3 +56,17 @@ distrobox-export --app code From the host system this image imports `podman` and `incus` so you can use both inside the container. Any application can work both ways. *distrobox* mounts wayland socket into the container so even GUI apps work seamlessly. + +There is wrong *StartupWMClass* parameter that equals `Code` in *drone-code.desktop* file. It should read: + +``` +StartupWMClass=code +``` + +Otherwise Gnome will wrongly group vscode's windows together. + +Other tools to export: + +``` +distrobox-export --bin aws +```