You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the notification framework (in the sidebar) is not really working in wmux.
While it would be a bigger effort to get a seamless integration the following 2 things would already improve the situation a lot
Ensure that WMUX variables are pushed through - the following environment variable worked on my side when set manually:
Translate WSL workspace path on session restore - currently an error is showing up if a WSL path like /home//.../ is put into the variable windows.workspaces.cwd in session.json - the following error is the result:
(/up translates the WMUX_CLI Windows path to a /mnt/c/... mount; the rest pass through unchanged.) Any pre-existing WSLENV you set is preserved and appended to. So the sidebar/notification framework and the wmux CLI now work from inside WSL without manual setup.
2. WSL cwd on session restore (error 267). A restored POSIX path like /home/<user>/... was being handed to a Win32 process as its working dir, which fails with ERROR_DIRECTORY (267). wmux now detects a POSIX cwd and instead opens it inside the distro via wsl --cd <path>, while the Win32 process starts in a valid Windows dir. So restoring a session with a WSL workspace folder no longer errors.
Grab the v0.12.0 zip from the releases page (right-click → Unblock after download). Let me know if anything's still off on your setup!
@amirlehmam thanks for the quick reaction. The environment variables are working neatly.
The directory is correctly reported in wmux and I can also see it in session.json - but on session recreation I cannot observe the behaviour that the changedir within WSL is not happening. My bash is opening up in my homefolder instead ...
Activity
feat(#60,#62): WSL env/cwd support + per-agent browser isolation
amirlehmam commentedon Jun 26, 2026
Fixed in v0.12.0 🎉 — thanks for the precise report and the
WSLENVhint, Stefan, it made this straightforward.1. WMUX vars now propagate into WSL. wmux sets
WSLENVautomatically for WSL shells:(
/uptranslates theWMUX_CLIWindows path to a/mnt/c/...mount; the rest pass through unchanged.) Any pre-existingWSLENVyou set is preserved and appended to. So the sidebar/notification framework and thewmuxCLI now work from inside WSL without manual setup.2. WSL cwd on session restore (error 267). A restored POSIX path like
/home/<user>/...was being handed to a Win32 process as its working dir, which fails withERROR_DIRECTORY (267). wmux now detects a POSIX cwd and instead opens it inside the distro viawsl --cd <path>, while the Win32 process starts in a valid Windows dir. So restoring a session with a WSL workspace folder no longer errors.Grab the v0.12.0 zip from the releases page (right-click → Unblock after download). Let me know if anything's still off on your setup!
stlindenau commentedon Jun 26, 2026
@amirlehmam thanks for the quick reaction. The environment variables are working neatly.
The directory is correctly reported in wmux and I can also see it in session.json - but on session recreation I cannot observe the behaviour that the changedir within WSL is not happening. My bash is opening up in my homefolder instead ...
fix(pty): fall back to a real directory when the cwd no longer exists…