It would be nice if there was a way to easily allow tools like xdg-open (i.e., open a URL in the host's default browser) and wl-copy/xclip (i.e., copy to host clipboard) to work inside the guest. Coding agents like Claude Code, Codex, Open Code, and Pi rely on these to integrate with the host, but currently these functions are broken inside the guest (with the sole exception I'm aware of being OSC 52, and only in supported terminals).
Prior Art
- cartage: Unix-socket based multicall binary to do pretty much exactly what I've described above
- arboard: Cross-platform clipboard manipulation library (Used by Codex)
- webbrowser-rs: Cross-platform library to open URLs in the browser (Also used be Codex)
It would be nice if there was a way to easily allow tools like
xdg-open(i.e., open a URL in the host's default browser) andwl-copy/xclip(i.e., copy to host clipboard) to work inside the guest. Coding agents like Claude Code, Codex, Open Code, and Pi rely on these to integrate with the host, but currently these functions are broken inside the guest (with the sole exception I'm aware of being OSC 52, and only in supported terminals).Prior Art