Вы можете поместить этот скрипт в свой мониторSerialPortsLauncher
#!/usr/bin/env bash
script=/tmp/monitorSerialPorts
cat << 'EOF' > $script
#!/usr/bin/env bash
sleep 10
while true
do
clear
printf "\n Serial Devices: "
ls /dev/ttyUSB* 2> /dev/null || (clear ; printf "\n No Devices Detected")
sleep 2
done
EOF
chmod 755 $script
gnome-terminal --window-with-profile=RedonYellow --geometry=60x6-20 --command="$script"