insuranceposa.blogg.se

Best command line for windows
Best command line for windows





best command line for windows

  • In Bash for Windows, install the terminal: sudo apt-get install xfce4-terminal.
  • It took a little while to figure out all the implied steps in the other answers, so here's a step by step summary: WScript.CreateObject("WScript.Shell").run('bash.exe -l -c "DISPLAY=:0.0 xfce4-terminal"', 0, false) Here's that same script, but a JScript version. I then pinned that to my taskbar and it's almost seemless.ĮDIT: The answer with VBScript is brilliant. I did this in C# - basically use arguments "UseShellExecute" false and "CreateNoWindow" true. PS: to make launching xfce4-terminal painless and without the extra bash cmd window, I wrote a program that does nothing but start the bash process with arguments to start xfce4-terminal without a console window. It is also possible to start an SSH server in Bash-on-Linux-on-Windows and then connect to it, say from MinTTY like from Cygwin. I am very happy with this setup and use NeoVim + lots of native linux plugins even though my "for-work" machine must be Windows.

    best command line for windows best command line for windows

    I also installed compiz and I use the cbwin project to run windows programs from my xfce4-terminal shell. export DISPLAY="localhost:0"ĭo the fix from this reddit for dbus: sudo sed -i 's$.*$tcp:host=localhost,port=0$' /etc/dbus-1/nf I found I needed to add these to my bashrc. I personally do the latter: use VcXsrv as my X server in multiple windows mode, then launch the xfce4-terminal (because gnome-terminal had visual issues that I didn't care to try to learn how to fix), and suddenly I have a competent terminal with font and color support.







    Best command line for windows