Web lists-archives.com

xfce4-terminal fails to “pass through” environment variables




>From terminal A (may be xterm or xfce4-terminal), launch terminals:

 MYVAR="wow - some text!" xterm &
 MYVAR="wow - some text!" xfce4-terminal &

Now from those terminals, run:

 echo $MYVAR


In xterm, we get the expected output - evidently MYVAR is correctly
"passed through" - this is how env vars should work of course :)

But sadly :( , as in, very sadly  :,( , xfce4-terminal does not
produce the expected output - MYVAR is not “passed through” it seems.

Does anyone know why, but more importantly, does anyone know how to
overcome this ‘feature’ of xfce4-terminal?

TIA,