RECOMMENDATION
I would recommend that you learn the tool you will be moving to. Almost all terminals have some sort of config file such as alacritty. That said, here are a few "tricks" which I've happened upon along the way."
HOW I DO IT
When you launch a terminal, there is an option which lets you set both it's size and it's X and Y offsets.
The option is --geometry
, and it is available on many (most?) linux terminal emulators. Gnome terminal is no exception. As for an always solution, some developers just don't take the time to build in extra programmer/ superuser automation hooks..
The syntax to use the geometry option with our terminal is as follows:
$ gnome-terminal --geometry WxH+X+Y
Note that in the argument string, everything but the capitals is to be interpreted literally. The caps represent width
measured in columns, Height
measured in rows, and X & Y
offsets from screen position (0,0).
I used to write out an command to save it to $HOME,the save to ~/.bashrc
, which persists it. This is an idea I believe I got from this same site a long time ago, but now I use a method of my own devising when I need to script a script the functionality.
As a quick side-note: If i am changing myself in Ubuntu, I just create (or change to) another terminal profile. Each new l profile you make in the terminal gui "preferences" settings lets you specify the terminal's b-g color, transparency, etc. along with the previously mentioned settings.
I will also open vim and print the above command to a single line. Next, I will copy it vertically as many times as needed and configure each to a convenient size / position.
Finally I open a split with ~/.bash-aliases
loaded to it's buffer and set an alias for each instance of the command.
Then I can just put a 3-4 letter name, like maybe midl
in each time I need a guit terminal new process to launch in the middle of the screen.