I’m currently writing an application that I would like to open in a new terminal window, resizing it in the process, rather than the one in which the invoking command was typed. How should I go about doing this? I’m using the gnome terminal and will be writing the app in C++.
Share
Try
gnome-terminal --geometry="20x10" -e 'command'(20 is height, 10 is width).In C++, you can call a command by using system().