Skip to content

[Bug]: Windows desktop with WSL backend ignores T3CODE_HOME set in the WSL environment and creates ~/.t3 #39758

Closed

Description

@hossamdash

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. In WSL (Arch Linux), set export T3CODE_HOME="$XDG_CONFIG_HOME"/t3 in .zshenv and .profile, XDG_CONFIG_HOME is ~/.config.
  2. Delete ~/.t3 in WSL.
  3. On Windows, enable the WSL backend and WSL-only mode in T3 Code desktop, select the distro, and start the app.
  4. Check ls -la ~ ~/.config in WSL.

Expected behavior

The WSL backend uses the directory from T3CODE_HOME (~/.config/t3), or the desktop app offers some way to set the WSL backend's home.

Actual behavior

~/.t3 is created and used. ~/.config/t3 is not used by the app-launched backend.

Impact

Minor bug or occasional failure

Version or commit

v0.1.11

Environment

Win11, wsl2, wsl-only-mode

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Activity

  1. added
    bug
    needs-triage
    on Nov 20, 2026
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

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions