How to enforce startup behaviour (e.g. window position)?
First thank you for the best wsl terminal (the miserable windows terminal goes to hell). I have 2 questions:
- how to get wsltty to remember window position? after launch i always get small window at the top left which is annoying. and probably this should be done per a config file maybe or an argument list? so i would like to have several shorcuts in the taskbar each would remember its own window position.
- is it possible to define command which will be executed in wsl on the start? in the argument list or config. Thanks!
seems that's in the mintty's config settings. will try
I think you have to add --position command line option in the mintty/wsltty shortcut. The details can be found here https://mintty.github.io/mintty.1.html
I think you have to add
--positioncommand line option in the mintty/wsltty shortcut. The details can be found here https://mintty.github.io/mintty.1.html
yes, works fine, cannot figure out how to execute bash command on start though... --exec doesnt work for some reason, says "wrong directory"
cannot figure out how to execute bash command on start though...
In the wsltty shortcuts properties, try to replace the - with the command. @mintty may provide proper solution.
Replace the --WSL=... parameter with just --wsl.
Replace the final - with the wslbridge2 command, including the distro, and add the desired command, e.g.
wslbridge2 -d Debian mc