Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the launch position of Git Bash for Windows?

Whenever I launch the Git Bash window, it always starts at the upper left corner of the screen, so I have to drag it to the center to see it clearly.

Is there a way to change the default launch position, so that I don't have to drag it every time I launch it?

Essentially I'm looking for a Windows's solution to this: How can I set gnome-terminal's X and Y startup position?

Thank you!

like image 458
kohane15 Avatar asked Oct 23 '25 14:10

kohane15


1 Answers

1. Go to C:\Users\username\.minttyrc

2. Specify the x and y position in two new lines like this:

X=300
Y=300

3. Save for it to take effect.

like image 113
kohane15 Avatar answered Oct 26 '25 03:10

kohane15



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!