From 559ded4a6985db9af6add8905ad698a7fab4be3e Mon Sep 17 00:00:00 2001 From: Steve Magnuson Date: Sat, 19 Oct 2019 13:24:35 -0700 Subject: [PATCH] Added desktop templates and bug fixes --- direwolf-left.template | 10 ++++++++++ direwolf-right.template | 10 ++++++++++ flamp-left.template | 10 ++++++++++ flamp-right.template | 10 ++++++++++ flarq-left.template | 9 +++++++++ flarq-right.template | 9 +++++++++ fldigi-left.template | 9 +++++++++ fldigi-right.template | 9 +++++++++ flmsg-left.template | 11 +++++++++++ flmsg-right.template | 11 +++++++++++ flrig-left.template | 10 ++++++++++ flrig-right.template | 10 ++++++++++ hampi-utilities.version | 2 +- name-radios.sh | 4 ++-- 14 files changed, 121 insertions(+), 3 deletions(-) create mode 100644 direwolf-left.template create mode 100644 direwolf-right.template create mode 100644 flamp-left.template create mode 100644 flamp-right.template create mode 100644 flarq-left.template create mode 100644 flarq-right.template create mode 100644 fldigi-left.template create mode 100644 fldigi-right.template create mode 100644 flmsg-left.template create mode 100644 flmsg-right.template create mode 100644 flrig-left.template create mode 100644 flrig-right.template diff --git a/direwolf-left.template b/direwolf-left.template new file mode 100644 index 0000000..ba7e076 --- /dev/null +++ b/direwolf-left.template @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Exec=lxterminal --geometry=120x20 -t "DireWolf TNC (_LEFT_RADIO_)" -e "/usr/local/bin/dw-left.sh" +Name=Dire Wolf TNC (_LEFT_RADIO_) +Comment=APRS Soundcard TNC +Icon=/usr/share/direwolf/pixmaps/dw-icon.png +Path=/home/pi +#Terminal=true +Categories=HamRadio; +Keywords=Ham Radio;APRS;Soundcard TNC;KISS;AGWPE;AX.25 diff --git a/direwolf-right.template b/direwolf-right.template new file mode 100644 index 0000000..4f16df8 --- /dev/null +++ b/direwolf-right.template @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Exec=lxterminal --geometry=120x20 -t "DireWolf TNC (_RIGHT_RADIO_)" -e "/usr/local/bin/dw-right.sh" +Name=Dire Wolf TNC (_RIGHT_RADIO_) +Comment=APRS Soundcard TNC +Icon=/usr/share/direwolf/pixmaps/dw-icon.png +Path=/home/pi +#Terminal=true +Categories=HamRadio; +Keywords=Ham Radio;APRS;Soundcard TNC;KISS;AGWPE;AX.25 diff --git a/flamp-left.template b/flamp-left.template new file mode 100644 index 0000000..bd533bb --- /dev/null +++ b/flamp-left.template @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=flamp +GenericName=Amateur Multicast Protocol Client/Server +Comment=Amateur Radio Communications +Exec=flamp --config-dir /home/pi/.nbems-left/FLAMP -ti "FLAMP (_LEFT_RADIO_)" +Icon=flamp +Terminal=false +Type=Application +Categories=HamRadio; +Name[en_US]=Flamp (_LEFT_RADIO_) diff --git a/flamp-right.template b/flamp-right.template new file mode 100644 index 0000000..210cdb9 --- /dev/null +++ b/flamp-right.template @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=flamp +GenericName=Amateur Multicast Protocol Client/Server +Comment=Amateur Radio Communications +Exec=flamp --config-dir /home/pi/.nbems-right -ti "FLAMP (_RIGHT_RADIO_)" +Icon=flamp +Terminal=false +Type=Application +Categories=HamRadio; +Name[en_US]=Flamp (_RIGHT_RADIO_) diff --git a/flarq-left.template b/flarq-left.template new file mode 100644 index 0000000..f84ffa2 --- /dev/null +++ b/flarq-left.template @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Flarq (_LEFT_RADIO_) +GenericName=Fldigi ARQ Utility +Comment=Amateur Radio Data Transfer with ARQ +Exec=flarq -ti "Flarq (_LEFT_RADIO_) --arq-server-port 7322" +Icon=flarq +Terminal=false +Type=Application +Categories=HamRadio; diff --git a/flarq-right.template b/flarq-right.template new file mode 100644 index 0000000..912e5cf --- /dev/null +++ b/flarq-right.template @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Flarq (_RIGHT_RADIO_) +GenericName=Fldigi ARQ Utility +Comment=Amateur Radio Data Transfer with ARQ +Exec=flarq -ti "Flarq (_RIGHT_RADIO_)" --arq-server-port 7323 +Icon=flarq +Terminal=false +Type=Application +Categories=HamRadio; diff --git a/fldigi-left.template b/fldigi-left.template new file mode 100644 index 0000000..3fd671d --- /dev/null +++ b/fldigi-left.template @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Fldigi (_LEFT_RADIO_) +GenericName=Amateur Radio Digital Modem +Comment=Amateur Radio Sound Card Communications +Exec=sh -c '/usr/local/bin/trim-fldigi-log.sh "yesterday";PULSE_SINK=fepi-playback PULSE_SOURCE=fepi-capture fldigi --config-dir /home/pi/.fldigi-left -title "Fldigi (_LEFT_RADIO_)" --flmsg-dir /home/pi/.nbems-left' +Icon=fldigi +Terminal=false +Type=Application +Categories=HamRadio; diff --git a/fldigi-right.template b/fldigi-right.template new file mode 100644 index 0000000..14c90f9 --- /dev/null +++ b/fldigi-right.template @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Fldigi (_RIGHT_RADIO_) +GenericName=Amateur Radio Digital Modem +Comment=Amateur Radio Sound Card Communications +Exec=sh -c '/usr/local/bin/trim-fldigi-log.sh "yesterday";PULSE_SINK=fepi-playback PULSE_SOURCE=fepi-capture fldigi --config-dir /home/pi/.fldigi-right -title "Fldigi (_RIGHT_RADIO_)" --flmsg-dir /home/pi/.nbems-right' +Icon=fldigi +Terminal=false +Type=Application +Categories=HamRadio; diff --git a/flmsg-left.template b/flmsg-left.template new file mode 100644 index 0000000..72f54ba --- /dev/null +++ b/flmsg-left.template @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Flmsg (_LEFT_RADIO_) +GenericName=Amateur Radio Message Generator +Comment=Amateur Radio Communications +Exec=sh -c '/usr/local/bin/trim-flmsg-log.sh "1 month ago";VER="$(flmsg --version | cut -d" " -f2)";flmsg --flmsg-dir /home/pi/.nbems-left --server-port 8080 -ti "Flmsg $VER (_LEFT_RADIO_)"' +Icon=flmsg +Terminal=false +Type=Application +Categories=HamRadio; +Name[en_US]=Flmsg (_LEFT_RADIO_) +Path=/home/pi diff --git a/flmsg-right.template b/flmsg-right.template new file mode 100644 index 0000000..e52cf96 --- /dev/null +++ b/flmsg-right.template @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Flmsg (_RIGHT_RADIO_) +GenericName=Amateur Radio Message Generator +Comment=Amateur Radio Communications +Exec=sh -c '/usr/local/bin/trim-flmsg-log.sh "1 month ago";VER="$(flmsg --version | cut -d" " -f2)";flmsg --flmsg-dir /home/pi/.nbems-right --server-port 8090 -ti "Flmsg $VER (_RIGHT_RADIO_)"' +Icon=flmsg +Terminal=false +Type=Application +Categories=HamRadio; +Name[en_US]=Flmsg (_RIGHT_RADIO_) +Path=/home/pi diff --git a/flrig-left.template b/flrig-left.template new file mode 100644 index 0000000..4babe20 --- /dev/null +++ b/flrig-left.template @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Flrig (_LEFT_RADIO_) +GenericName=Amateur Radio Rig Control +Comment=Amateur Radio Communications +Exec=sh -c '/usr/local/trim-flrig-log.sh "yesterday";flrig --debug-level 0 --config-dir /home/pi/.flrig-left' +Icon=flrig +Terminal=false +Type=Application +Categories=HamRadio; +NoDisplay=true diff --git a/flrig-right.template b/flrig-right.template new file mode 100644 index 0000000..40be960 --- /dev/null +++ b/flrig-right.template @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Flrig (_RIGHT_RADIO_) +GenericName=Amateur Radio Rig Control +Comment=Amateur Radio Communications +Exec=sh -c '/usr/local/trim-flrig-log.sh "yesterday";flrig --debug-level 0 --config-dir /home/pi/.flrig-right' +Icon=flrig +Terminal=false +Type=Application +Categories=HamRadio; +NoDisplay=true diff --git a/hampi-utilities.version b/hampi-utilities.version index 146dd52..ab797e7 100644 --- a/hampi-utilities.version +++ b/hampi-utilities.version @@ -1 +1 @@ -VERSION="1.3.0" \ No newline at end of file +VERSION="1.4.0" \ No newline at end of file diff --git a/name-radios.sh b/name-radios.sh index 8d342dd..c2a8fbb 100755 --- a/name-radios.sh +++ b/name-radios.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="1.0.3" +VERSION="1.0.4" # This script allows the user to change the title bar of Fldigi suite and Direwolf # applications so they say something other than "Left Radio" or "Right Radio" @@ -41,7 +41,7 @@ fi ANS="" ANS="$(yad --title="$TITLE" \ - --text="Auto-HotSpot Configuration Parameters\n\nStatus: $STATUS\n\n \ + --text="Name Your Radios\n\nStatus: $STATUS\n\n \ $MESSAGE\n" \ --item-separator="!" \ --center \