diff --git a/README.md b/README.md index f26ea8b..526b9d3 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,15 @@ services: - /usr/share/icons:/usr/share/icons # Icons for UI, like Mouse cursor - /tmp/.X11-unix:/tmp/.X11-unix # X11 socket for GUI ``` +obviously change the XDG_OPEN_LISTENER_HOST to your host machines IP. \ and run `podman-compose up -d` or if you wanna live dangerously then you may..: `docker compose up -d` -Telegram cannot open links from the container to host machine, and to work around that is this command -`socat TCP-LISTEN:$XDG_OPEN_LISTENER_PORT,fork EXEC:"xargs -n 1 xdg-open"` +Telegram cannot open links from the container to host machine, and to work around that is this script, be sure to run it along with the container +```bash +#!/bin/bash +XDG_OPEN_LISTENER_PORT-6969 + +socat TCP-LISTEN:$XDG_OPEN_LISTENER_PORT,fork EXEC:"xargs -n 1 xdg-open"` +``` k, thanks, bye