xilun / cbwin

Launch Windows programs from "Bash on Ubuntu on Windows" (WSL)
Other
327 stars 25 forks source link

Optionally start Xming if installed #38

Closed timfel closed 7 years ago

timfel commented 7 years ago

Not meant as an actual PR, but a discussion starter: would it make sense to include something like this? If so, I can clean it up and make it configurable so it can support different X servers and propagate the DISPLAY to the launched bash.

xilun commented 7 years ago

I see how it can be convenient (well, to be honest I would probably even use it myself :), but I kind of refrain from adding all kind of features that are only indirectly related to what outbash is trying to do. Can we achieve something similar with an external program or some scripts? It would even be useful to have such a launcher when using bash.exe without outbash.

timfel commented 7 years ago

you're right. Since your argument processing code already propagates commandline arguments save for ---outbash-* to bash.exe, I took those and just made timfel/xbash and now I'm simply launching my bash with xbash.exe --xbash-launcher outbash.exe and chain the different things this way.