Skip to content

[DOCS] Computer image now ships with a UTF-8 locale and DISPLAY=:0 #1167

Closed

Description

@inference-gateway-maintainer

Summary

The computer image built from inference-gateway/cli (computer/Dockerfile) now sets LANG=C.UTF-8 and DISPLAY=:0 in its environment, shipping in PR inference-gateway/cli#1788 (fixes issue inference-gateway/cli#1786). The desktop session, the D-Bus session bus and every process the bus activates (gnome-terminal and other GTK apps) now run with a UTF-8 locale instead of POSIX, and X11-only apps can reach Xwayland on display :0 from the agent's Bash environment.

The affected page is docs/computer-use.md in the cli repo (and its counterpart in this docs repo): it documents the computer image but does not describe its session environment, so the new locale and display defaults are currently undocumented.

Acceptance Criteria

  • The computer-use documentation mentions that the image session provides a UTF-8 locale (C.UTF-8) and why that matters for gnome-terminal and other GTK apps
  • The computer-use documentation mentions that DISPLAY=:0 is set alongside WAYLAND_DISPLAY=wayland-0, so X11-only apps can reach Xwayland
  • The page stays consistent with the image README labels, which point at computer-use documentation

Activity

  1. added
    documentation
    on Nov 9, 2026
  2. edenreich commented on Nov 9, 2026

    @edenreich
    Contributor

    @claude can you document this?

  3. inference-gateway-maintainer commented on Nov 9, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 26s —— View job • docs/issue-1167-20261109-2330 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1167-20261109-2330?quick_pull=1&title=Issue%20%231167%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231167%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documented the computer image session environment

    • Gather context (counterpart section in this repo: cli.md → The computer image)
    • Check the upstream image Dockerfile, labels and docs/computer-use.md in the cli repo
    • Document the C.UTF-8 locale and DISPLAY=:0 / WAYLAND_DISPLAY=wayland-0 session env
    • bun run lint:md, bun run format:check, bun run build - all pass
    • Commit and open the PR

    What changed in cli.md (the computer image section - this repo has no computer-use.md, computer use lives inside cli.md):

    • The session runs under a UTF-8 locale (LANG=C.UTF-8), so the session D-Bus and every app it activates (gnome-terminal and the other GTK apps) render non-ASCII text instead of mangling it the way the POSIX locale does.
    • DISPLAY=:0 is set alongside WAYLAND_DISPLAY=wayland-0, so X11-only apps reach Xwayland from the agent's Bash tool without exporting a display first.
    • Corrected two stale session lines (Xvfb :99 with openbox and a tint2 taskbar) to the current headless GNOME Shell Wayland session, matching the image README labels. Without that the new display note would have contradicted the page.

    PR: #1168

    Not done / risk: I did not audit the rest of the computer-use prose for other drift from the current GNOME-based image (for example the examples/computer-use line that still says "Xvfb with Chromium"), and the upstream PR adding these env vars is still open - if it changes before merge, the wording here needs a follow-up.
    | Branch

  4. moved this from Todo to In progress in 2026on Nov 9, 2026
  5. moved this from In progress to QA in 2026on Nov 9, 2026
  6. moved this from QA to Done in 2026on Nov 9, 2026
  7. inference-gateway-releaser commented on Nov 10, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.25 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions