Skip to content

Commit 5ec8d73

Browse files
committed
docs: Add WSL2 audio fix instructions
Document solution for audio issues in WSL2 by setting the PULSE_SERVER environment variable
1 parent cd9f20e commit 5ec8d73

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

3.28 MB
Binary file not shown.

docs/wsl2g.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
Contains info on a Wayland permissions bug and missing symlinks in current wsl2 as of the time of writing.
22
https://github.com/microsoft/WSL/issues/11542
33

4-
https://github.com/microsoft/wslg/issues/1032#issuecomment-2345292609
4+
https://github.com/microsoft/wslg/issues/1032#issuecomment-2345292609
5+
6+
# WSL2 Audio Issues
7+
8+
To fix audio issues in WSL2:
9+
10+
1. Follow the solution described in this GitHub comment: https://github.com/microsoft/WSL/issues/2187#issuecomment-2605861048
11+
12+
2. Add the following line to your `.bashrc` file:
13+
```bash
14+
export PULSE_SERVER=unix:/mnt/wslg/PulseServer
15+
```
16+
17+
3. Source your `.bashrc` file or restart your WSL2 terminal:
18+
```bash
19+
source ~/.bashrc
20+
```

0 commit comments

Comments
 (0)