Web lists-archives.com

Re: xfce4-terminal fails to “pass through” environment variables




	Hi.

On Mon, Oct 02, 2017 at 02:58:59PM +1100, Zenaan Harkness wrote:
> >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?

Try this:

MYVAR="wow - some text!" xfce4-terminal --disable-server &

Reco