Here is the (early) code I wrote to open a small window. This small window is useful for running a little update display tool like "showut".
% pwd /home/sco/Installs/install_sco2019_20200305/codes/bash % date Wed Apr 1 15:52:56 CDT 2020 % cat gt1 #!/bin/bash # Check command line arguments if [ -z "$1" ] then printf "Usage: gt1 \n" printf "arg1 - gnome-terminal profile name (SCO3, none) \n" printf "Additional options: \n" printf " -v = print verbose comments \n" printf " --help = view a help document \n" profname="none" else profname="$1" fi #---------------------------------------------------------- # Determine if debug or HELP mode is invoked debug="N" numargs="$#" for var in "$@"; do # echo "\$@ = $var" if [ "$var" = "-v" ] then debug="Y" fi if [ "$var" = "--help" ] then show_help gt1 exit fi done #---------------------------------------------------------- if [ $debug = "Y" ] then printf "\nThe query flag is ON in gt1 \n" printf "Profile name = $profname \n" message_and_read s fi # sample call #gnome-terminal --window-with-profile=SCO3 --tab-with-profile=SCO1 --geometry=40x2+800+40 \ # --working-directory="/home/mcs/astronomer/sco/Cplay" & # Open the gnome-terminal window gnome-terminal --window-with-profile=$profname --geometry=30x4+800+40 \ --hide-menubar &