microsoft / WSL-DistroLauncher

Sample/reference launcher app for WSL distro Microsoft Store packages.
MIT License
1.68k stars 518 forks source link

Allow other Linux Destros to take place of bash #25

Closed abhijeetps closed 6 years ago

abhijeetps commented 6 years ago

I am not sure if this issue needs to be opened here or at Microsoft/vscode. But, it appears that currently, WSL prefers Ubuntu only to be it's primary WSL Bash terminal. (I already have Ubuntu , openSUSE Leap 42, Debian GNU/Linux and Kali Linux.

Here's a screenshot of for the same on VS Code: capture

I think, the same follows for other code editors with integrated terminals. (See path for WSL in the above image).

Please do let me know, if this is a VS Code only problem, so that I will reference this issue there, or it's related to some other repository. Also, I am currently on Microsoft Windows Version 1709 (Fall Creators Update) with OS Build 16299.334.

Biswa96 commented 6 years ago

Try to change the default distribution with wslconfig /s <distro_name> command. Also you can change the executable name in settings manually.

abhijeetps commented 6 years ago

Thanks. It worked! 😄