Skip to content

Instantly share code, notes, and snippets.

@navhaxs
Created April 25, 2018 09:02
Show Gist options
  • Save navhaxs/6a57487a483c9d74b726083cdc876f5a to your computer and use it in GitHub Desktop.
Save navhaxs/6a57487a483c9d74b726083cdc876f5a to your computer and use it in GitHub Desktop.
[Notes] Install Visual Studio Code on WSL / Ubuntu on Windows 10

Collated info from various github issues

It is useful to run code --verbose until you get things working.

  1. First install Xming / alternative, add export DISPLAY=:0.0 to your ~/.bashrc

  2. Install the vs code package

  3. sudo apt install libgtk2.0-0 libxss1 libasound2 libgl1-mesa-glx

  4. Solve GLX issues by following microsoft/vscode#3451 (comment)

If you have Pulseaudio installed from other packages, you're gonna want this package: https://launchpad.net/~therealkenc/+archive/ubuntu/wsl-pulseaudio

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