From e6c68fcfae56e276012c8c03243d37f8b10cb681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Tue, 22 Apr 2025 15:36:02 +0200 Subject: [PATCH] README update --- README.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) 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 +```