Wondering if anyone know a way to open the terminal with a custom size (not the 4 windows size that are available)?
I know under linux you can configure the terminal with the geometry option (- -geometry=widthxheight+Xposition+Yposition). I’m just playing with a build of conky.
Hello! Yes, there is a way. First, resize the window to the desired size. Then, go to Settings menu, and select the Settings option. Inside the settings window, make sure that the option “Window size” is set to “Custom”, and then, click on the “Save to file” button.
This will create a shorcut to the Terminal, with the actual configuration, including the custom size that you settled initially.
This could be used to create any custom configuration (text color, size, etc.).
Thank you for your answer. The big thing I’m trying to figure out, would be how I could pass the resizing of that one instance of the terminal from a script, leaving any other instances of the terminal at the original default size.
If want to resize the terminal window you’re using, that’s conveniently identified by process ID in the PPID shell variable. I have a shell script that runs hey, but to get that PPID variable, I use a “shell function” that runs in the same process, to get a valid PPID:
geom () { $HOME/src/sh/ttygeom $PPID $1 $2 ; }
… and the script is essentially
hey $1 let Window 0 do mccl with "rows=int32($2)" and "columns=int32($3)"
with some refinements to handle wrong inputs etc. So I can type geom 40 80 and get a taller window.
Good idea. Like it. But that would need session save/restore capability too, otherwise it would start with a prompt instead of the command we want to see.