Re:New Distros Coming to Bash/WSL via Windows Store
by sclarckone on Friday May 12, 2017 @12:14PM
(#14325243)
I had some trouble too and tried some complicated setup with wslbridge and other stuff I don't even remember. But in the end I got it easily working by configuring this simple task in ConEmu (everything is working, including arrow keys):
%windir%\system32\bash.exe -c "cd ~ && bash"
If you want the nice Ubuntu icon, add this as task parameter:
-icon "%USERPROFILE%\AppData\Local\lxss\bash.ico"
You can then use the ConEmu theme of your choice and the colors are far more readable than with the default console. See default theme for instance:
Instead, I've got a pretty good setup using Xming (2), a native win32 X server implementation.
In Bash/WSL, I set the DISPLAY variable appropriately and launch my terminal emulator of choice, as well as Emacs.
This setup has worked out to be very fast and stable for me.
1. http://conemu.github.io/en/CygwinMsys.html 2. http://www.straightrunning.com/XmingNotes/