Yes, that would do it.

Whatever I was doing when I was trying this earlier, everything is fine
now... and tmux doesn't explicitly overwrite any variables except $TMUX and
$TERM.


On Fri, Jul 03, 2009 at 04:16:48PM +0200, LEVAI Daniel wrote:
> On Friday 03 July 2009 15.28.12 you wrote:
> > On Fri, Jul 03, 2009 at 01:07:44PM +0200, LEVAI Daniel wrote:
> > > Hi!
> > >
> > > Anyone else noticed that tmux(1) resets the DISPLAY variable when
> > > started? Is this intentional?
> >
> > tmux learns DISPLAY when a new tmux server is started.
> >
> > If you attach to an existing session or just create a new session
> > on an existing tmux server, your DISPLAY variable can end up unrelated
> > to how you just connected.
> 
> Ah! That's it... I've started tmux outside my X session, and reattached to it
> inside..
> 
> Thanks!
> 
> 
> Daniel
> 
> --
> LIVAI Daniel
> PGP key ID = 0x4AC0A4B1
> Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1

Reply via email to