added zenity gun

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent 67bf8df198
commit f11c72b26d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,6 +30,10 @@ sudo killall -9 CubicSDR &>/dev/null
#echo "s" >> .mode
frequency=$(zenity --list 2>/dev/null --title="Choose the frequency" --column="kHz" --column="Use" 145800 "ISS" 434900 "CubeSatSim" 144800 Other "Choose another frequency" SSTV "Test SSTV decoding with WAV file")
#echo $frequency
echo
echo "Choose the number for the frequency for SSTV decoding:"
@ -41,14 +45,14 @@ echo
read -r choice
if [ "$choice" = "1" ]; then
if [ "$choice" = "1" ] || [ "$frequency" = "145800" ]; then
frequency=145800000
echo "Frequency is" $frequency
echo
echo "If the ISS is overhead (check Gpredict) and in SSTV mode (see social media), you can receive images."
elif [ "$choice" = "2" ]; then
elif [ "$choice" = "2" ] || [ "$frequency" = "434900" ]; then
frequency=434900000
echo "Frequency is" $frequency
@ -56,7 +60,7 @@ echo
echo "If your CubeSatSim is transmitting in SSTV mode (mode 6) you should get images."
echo "Note: if you see and hear an SSTV signal but don't get any images, the CubeSatSim signal might have a frequency offset. Try rebooting the CubeSatSim to fix."
elif [ "$choice" = "3" ]; then
elif [ "$choice" = "3" ] || [ "$frequency" = "Other" ]; then
echo
@ -68,7 +72,7 @@ read -r frequency
frequency=$frequency"000"
else
elif [ "$choice" = "4" ] || [ "$frequency" = "SSTV" ]; then
echo "A recorded Scottie 2 SSTV WAV file will play and you should see an image decoded."
@ -89,7 +93,7 @@ else
fi
if [ "$choice" != "4" ]; then
if [ "$choice" != "4" ] && [ "$frequency" != "SSTV" ]; then
#echo $frequency

Loading…
Cancel
Save

Powered by TurnKey Linux.