Tuesday, January 19, 2021

Re: ~/.gnuradio and ~/.grc_gnuradio as environment variables

In 3.9, the environment variable GR_PREFS_PATH optionally points to the location of the user's .gnuradio directory, which is then used for the rest of configuration.

On all versions, GR_CONF_GRC_GLOBAL_BLOCKS_PATH will override the location of the system block descriptions, assuming they've been installed in different directories.



On Mon, Jan 18, 2021 at 11:11 PM Lukas Haase <lukashaase@gmx.at> wrote:
Hi,

Is it possible to set the paths to ~/.gnuradio and ~/.grc_gnuradio via environment variables?

I can't imagine that I am the only one suffering from this but these directories are a royal pain when switching between gnuradio functions.

I am using environment modules and ideally I'd just set those via environment variables to something like ~/.gnuradio-3.7 and ~/.grc_gnuradio-3.7.

Thanks,
Lukas


PS: I was trying to hack something with symlinks but this gets so unreliable (e.g. when a user uses different versions in different shells) ... so this is not a solution.


No comments:

Post a Comment