diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 88bcabe..acf234f 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -4434,10 +4434,25 @@ ARDOP_GUI on a 64bit OS prior to Mint 19+ and Ubuntu 18.04+" comstatone) TITLE="ComstatONE Downloaded" TEXT="ComstatONE has been downloaded but requires manual installation for now. \ -Please navigate to your Radio directory and enter the commstatone directory. Type 'chmod +x linuxinstall.sh' \ +MINT 21.3: Please navigate to your Radio directory and enter the commstatone directory. Type 'chmod +x linuxinstall.sh' \ to make the installation script executable and then run the script with './linuxinstall.sh'. After installation, \ type python commstat.py or python3 commstat.py from the installaion directory or use the desktop launcher. \ +MINT 22: I'll be working on this soon to automate but for now you need to create a virtual python environment.\ +I'll place a help file in your setup-scripts/Files directory with this information. + + cd ~/Radio/commstatone + python3 -m venv venv + source venv/bin/activate + pip3 install pyqt5 + pip3 install pyqtwebengine + ./linuxinstall.sh + + To Run next time: cd ~/Radio/commstatone + source /venv/bin/activate + python3 commstat.py + + You will need to provide the path to you DIRECTED.TXT file of JS8Call. Setup JS8Call first then determine the location of the DIRECTED.TXT file for your installation. " cleanupyad ;; diff --git a/Files/commstatone-mint22.txt b/Files/commstatone-mint22.txt new file mode 100644 index 0000000..b7a0e1d --- /dev/null +++ b/Files/commstatone-mint22.txt @@ -0,0 +1,34 @@ +With how modern linux handles python security, you'll need to create a virtual python environment to run commstatone. + +Hopefully, I'll figure out how to automate this in the script in the near future. Until then, here are your steps. + +Enter your commstat directory that was created from the setup-script or personally cloning the git repo: + cd ~/Radio/commstatone + +Create the virtual environment: + python3 -m venv venv + +Activate the virtual environment: + source venv/bin/activate + +Install some dependencies: + pip3 install pyqt5 + pip3 install pyqtwebengine + pip3 install psutil + +Run the Commstat installer: + chmod +x linuxinstall.sh + ./linuxinstall.sh + +You'll need to point Commstat to your JS8Call Directed.txt file. Normally that will be the following directory: + /home/*YOUR_USER_NAME*/.local/share/JS8Call/ + +Subsequent times you want to launch Commsat you'll do the following: + cd ~/Radio/commstatone + source venv/bin/activate + python3 commstat.py + +I'll be adding a desktop launcher shortly so you won't have to mess with the terminal outside of the initial install at least. + + +