I am opening in ConEmu my default WSL2 terminal with the task:
wsl.exe ~ -cur_console:pm:/mnt
Until now I had just one Linux Distribution in WSL2 - Ubuntu-18.04. Now I have the second machine on WSL2 - Ubuntu-20.04 which I set as default. ConEmu now opens the default Linux Distribution terminal. Is is possible to set another task which will open the second Linux Distribution Terminal, which is not set as default in Windows?
ConEmu documentation already contains all required information: https://conemu.github.io/en/BashOnWindows.html#wsl-distro
Find the name of your distribution in the registry under
Modify task for your WSL by inserting directly after
wsl.exe
the--distribution <Name>
without quotes. Example: