Paul and others,
The problem was one of the GNU Radio config files. I have added instructions below and they can also be found in the gr-satellites Wiki.
73 de Hans
BX2ABT
======================
After you execute a gr-satellites flow graph there should be a terminal window popping up. If it doesn't then do either one of the following two options.
To change system wide:
$cd /etc/gnuradio/conf.d $sudo nano grc.conf --> this will open the file with the nano editor Append the line that says "xterm_executable =" with "/usr/bin/xterm" To save and exit use: Ctrl-X, then Y, then Enter.
To change for the current user only:
$cd .gnuradio $nano config.conf --> this will create the file and open it In the newly created file make the following entry...
[grc] xterm_executable = /usr/bin/xterm
To save and exit use: Ctrl-X, then Y, then Enter.
======================
On 09/18/2019 10:42 PM, Paul Stoetzer wrote:
Hans,
The default terminal in Ubuntu is gnome-terminal and xterm is not installed, so there is no /usr/bin/xterm. You can install xterm with sudo apt install xterm or change your xterm_executable = /usr/bin/gnome-terminal. Actually since you're using Kubuntu, you'll want to set xterm_executable = /usr/bin/konsole
73,
Paul, N8HM
On Wed, Sep 18, 2019 at 10:37 AM Hans BX2ABT via AMSAT-BB amsat-bb@amsat.org wrote:
Spent the most part of today trying to install GNU Radio and gr-satellites, using a clean install of Kubuntu 19.04 (=Ubuntu with KDE instead of Gnome), which is the latest release.
I kind of succeeded. GNU Radio Companion is running and gr-satellites is installed. Most flow graphs don't have missing blocks and compile correctly. The only part that is missing is that when I execute a gr-satellite flow graph there is no Xterm popping up. I added the following lines to .gnuradio/grc.conf, but that didn't make any difference....
[grc] xterm_executable = /usr/bin/xterm
Here are the install instructions. I hope they are useful as a reference to someone.
================================================
Steps to install GNURadio and gr-satellites on (K)Ubuntu 19.04
$sudo apt-get install gnuradio --> will install version 3.7.13.4-4build1 plus dependencies
$sudo apt-get install gr-osmosdr --> will install the block to access a RTL-SDR stick for testing
$sudo apt-get install xterm --> used by GNURadio
After installing the things above you should be able to start GNU Radio Companion from menu or command line.
Open a sample flow graph, e.g. an FM receiver flow graph you can find online, then compile and execute. If it works: success
$sudo apt-get install git --> will install git for cloning git repositories
$mkdir src $cd src
$git clone https://github.com/daniestevez/gr-satellites.git --> the good stuff
$git clone https://github.com/daniestevez/libfec.git --> needed for gr-satellites
$cd libfec $./configure $make $sudo make install $cd ..
$sudo apt-get install python-pip --> needed to install gr-satellites dependencies
$pip2 install construct --> installs this gr-satellites dependency $pip2 install requests --> make sure it has the trailing 's'
$sudo apt-get install swig --> installs this gr-satellites dependency $apt-get install cmake --> if not installed already
$cd gr-satellites $mkdir build $cd build $cmake .. $make $sudo make install $sudo ldconfig $cd .. $./compile_hierarchical.sh --> blocks needed for certain gr-satellites flow graphs. Don't forget this step and be patient because it will take a while to complete.
Now you can start GNU Radio Companion and open a flow graph from the app folder in the source directory of gr-satellites. Compile and execute.
If it works start GQRX, activate the UDP audio stream and start decoding telemetry.
Sent via AMSAT-BB@amsat.org. AMSAT-NA makes this open forum available to all interested persons worldwide without requiring membership. Opinions expressed are solely those of the author, and do not reflect the official views of AMSAT-NA. Not an AMSAT-NA member? Join now to support the amateur satellite program! Subscription settings: https://www.amsat.org/mailman/listinfo/amsat-bb