Im new to Linux. I had a neat little command line script in Windows to start hamlib and GPredict that would enable rig control on my FT-991a.
I need to replicate this in Ubuntu 23.04 but have no idea how. I have GP installed and working and I have the command line to get to my radio through hamlib. I just need help writing the script to start it all together.
rigctl -m 1035 -r /dev/ttyUSB0
Like I said im kind of a “newbie” so be patient. Thanks for the help.
writing a short shell script with the command lines you want to launch is pretty straight forward.
open a text editor and save to something like gp.sh in the homedir.
assuming that the same rigctl line works in linux, I’m a bit hesitant on the serial_speed=38400 as it’s already set with -s 38400.
make sure it has exec flags: chmod 0755 gp.sh.
when you want to launch it open a terminal and run ./gp.sh
it launches rigctld in background, it will still output information in the terminal you launched it in, then run gpredict. when gpredict exits it will kill rigctld and the script is done.