Re: setting variables under an X11 session

1999-07-30 Thread shaul
Perhaps by including the following in .bashrc ? tkcvs() { if [ -n "$DISPLAY" ]; then set CVSROOT=whatever; tkcvs fi } (Is that the correct syntax ?) > How can i set an environment variable under an x11 session (not > a specific xterm under x) so that they work for

Re: setting variables under an X11 session

1999-07-30 Thread Andreas Voegele
Micha> How can i set an environment variable under an x11 session Micha> (not a specific xterm under x) so that they work for Micha> programs not opened through a terminal ( for example the Micha> CVSROOT var for tkcvs) > /etc/environment should do it. How do you export varia

Re: setting variables under an X11 session

1999-07-30 Thread Brett Carlane
Micha Feigin on Thu 29 Jul: > How can i set an environment variable under an x11 session If you set environment variables in your .xsession file they should be inherited by the session and thence by any program it executes. If you want environment variables to persist only for a specific program,

Re: setting variables under an X11 session

1999-07-29 Thread Martin Bialasinski
** "Micha" == Micha Feigin <[EMAIL PROTECTED]> wrote: Micha> How can i set an environment variable under an x11 session (not Micha> a specific xterm under x) so that they work for programs not Micha> opened through a terminal ( for example the CVSROOT var for Micha> tkcvs) /etc/environment shoul

setting variables under an X11 session

1999-07-29 Thread Micha Feigin
How can i set an environment variable under an x11 session (not a specific xterm under x) so that they work for programs not opened through a terminal ( for example the CVSROOT var for tkcvs) Thanx [EMAIL PROTECTED]