aboutsummaryrefslogtreecommitdiff
path: root/windows/wsl.md
blob: 1369b39b960a576c4f43bb02e858b5e1b11f16d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# WSL

## Opening links in a Windows browser

Create `~/.local/bin/x-www-browser` with the following content:

```
#!/bin/sh

/mnt/c/Windows/explorer.exe "$@"
true # ignore exit code so xdg-open works correctly
```

Ensure that the file is executable.

`xdg-open` uses `x-www-browser`.

## Issues with GUI apps

* [Uninstall `xdg-desktop-portal` if graphical applications seemingly block on startup](https://github.com/microsoft/wslg/issues/1273#issuecomment-2238745415).