Re: How to share env. variables ?

2005-10-29 Thread sachidananda urs
hi, put those contents(environment variables) in .bashrc. because .bashrc is the file that is read in for non-interactive terminals like kterm or gnome-terminal or any such application. sac. On 10/27/05, Marc Wilson <[EMAIL PROTECTED]> wrote: > On Fri, Oct 21, 2005 at 11:06:33AM -0500, Hugo V

Re: How to share env. variables ?

2005-10-26 Thread Marc Wilson
On Fri, Oct 21, 2005 at 11:06:33AM -0500, Hugo Vanwoerkom wrote: > I asked that question a while ago. > It appears e.g. that xterm uses /etc/profile and konsole does not. > How to change that behavior? Xterm does not use /etc/profile, and neither does konsole. Or gnome-terminal, or rxvt, or any o

Re: How to share env. variables ?

2005-10-26 Thread Bruno Costacurta
On Saturday 22 October 2005 10:35, Hugo Vanwoerkom wrote: > Andrew Nelson wrote: > > On Fri, 21 Oct 2005 11:06:33 -0500 > > > > Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: > >>Bruno Costacurta wrote: > >>>Hello, > >>> > >>>I setup some environment variables needed by applications in > >>>user .bash

Re: How to share env. variables ?

2005-10-22 Thread Bruno Costacurta
On Saturday 22 October 2005 00:54, Paulo M C Aragão wrote: > Bruno, > > > How to give kde / X11 same env.variables as logged user ? > > KDE sources all shell scripts placed in ~/.kde/env. What I do is: > > 1. ln -s /etc/environment ~/.kde/env > 2. Place all global environment variables in /etc/envi

Re: How to share env. variables ?

2005-10-22 Thread Hugo Vanwoerkom
Andrew Nelson wrote: On Fri, 21 Oct 2005 11:06:33 -0500 Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: Bruno Costacurta wrote: Hello, I setup some environment variables needed by applications in user .bash files. Starting these applications from a console works fine. But starting these applicat

Re: How to share env. variables ?

2005-10-21 Thread Shark Wang
but how about the Gnome ? thanks! -SharkOn 10/22/05, Paulo M C Aragão <[EMAIL PROTECTED]> wrote: Bruno,> How to give kde / X11 same env.variables as logged user ?KDE sources all shell scripts placed in ~/.kde/env. What I do is:1. ln -s /etc/environment ~/.kde/env2. Place all global environment va

Re: How to share env. variables ?

2005-10-21 Thread Paulo M C Aragão
Bruno, > How to give kde / X11 same env.variables as logged user ? KDE sources all shell scripts placed in ~/.kde/env. What I do is: 1. ln -s /etc/environment ~/.kde/env 2. Place all global environment variables in /etc/environment This way they're available to console and KDE-started appl alik

Re: How to share env. variables ?

2005-10-21 Thread Vincent Lefevre
On 2005-10-21 11:06:33 -0500, Hugo Vanwoerkom wrote: > Bruno Costacurta wrote: > >How to give kde / X11 same env.variables as logged user ? If you start X11 with startx, then it will inherit the variable values set for your shell. > I asked that question a while ago. > It appears e.g. that xterm

Re: How to share env. variables ?

2005-10-21 Thread Andrew Nelson
On Fri, 21 Oct 2005 11:06:33 -0500 Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: > Bruno Costacurta wrote: > > Hello, > > > > I setup some environment variables needed by applications in > > user .bash files. Starting these applications from a console works > > fine. But starting these applications

Re: How to share env. variables ?

2005-10-21 Thread Hugo Vanwoerkom
Bruno Costacurta wrote: Hello, I setup some environment variables needed by applications in user .bash files. Starting these applications from a console works fine. But starting these applications from kde menus don't work as obviously these user env.variables are not set. I suppose kde user is

How to share env. variables ?

2005-10-21 Thread Bruno Costacurta
Hello, I setup some environment variables needed by applications in user .bash files. Starting these applications from a console works fine. But starting these applications from kde menus don't work as obviously these user env.variables are not set. I suppose kde user is different than logged us

Re: Global Env Variables

2004-09-16 Thread Daniel B.
John Patterson wrote: So the earliest place I guess you could get it in would be to stick the "export VARNAME=VALUE" lines at the begining of /etc/rc.d/rc That would be fairly global. Look at the PAM configuration files (looking for something like pam_env or pam_login). Daniel -- To UNSUBSCRIBE,

Re: Global Env Variables

2004-07-01 Thread John Patterson
> > So the earliest place I guess you could get it in would be to stick the > "export VARNAME=VALUE" lines at the begining of /etc/rc.d/rc > That would be fairly global. > > -Ben. > I added these lines to the begining of /etc/init.d/rc: export LANG=en_GB export JAVA_HOME=/usr/lib/j2sdk1.4-su

Re: Global Env Variables

2004-06-24 Thread Ben Russo
John Patterson wrote: Hi every body, I am trying to set the LANG environment variable so that when init launches my Tomcat server my web app uses the correct currency symbols. I first tried putting it in /etc/profile until I discovered that it is only sourced by login shells. So then I tried /roo

Global Env Variables

2004-06-24 Thread John Patterson
Hi every body, I am trying to set the LANG environment variable so that when init launches my Tomcat server my web app uses the correct currency symbols. I first tried putting it in /etc/profile until I discovered that it is only sourced by login shells. So then I tried /root/.bashrc which shoul

Re: /etc/profile and setting env variables

2004-03-25 Thread Kai Grossjohann
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I want to do this for all users on the system, so I thought: edit > /etc/profile > > I did that... but it doesn't seem to make a difference, and worse, > /etc/profile seems to get nuked upon logout/login. So clearly I am > doing this in the wrong p

Re: /etc/profile and setting env variables

2004-03-22 Thread Brian Brazil
On Sun, Mar 21, 2004 at 09:56:57PM -0500, [EMAIL PROTECTED] wrote: > Here's my questions: > > a) Where do I edit global profile changes? One place for enviroment variables is with pam_env in /etc/pam.d and /etc/security. Another for enviroment variables is /etc/enviroment Limits can be handled wi

/etc/profile and setting env variables

2004-03-21 Thread [EMAIL PROTECTED]
I am trying to set two specific environment variables (I'm installing Sun Java) and I need to append a path to the PATH variable and also create a new environment variable. The problem is, however: I have no idea WHERE to do this. I want to do this for all users on the system, so I thought: edi

Aaargh: re. procmail env. variables

2003-09-25 Thread Adam Bogacki
Aaargh ... I saw it as I sent it - some stray font material in the procmail. There might be other errors there as my recipes have not been working for some time - before I put the font stuff there by accident. Adam Bogacki, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

Error in procmail env. variables ?

2003-09-25 Thread Adam Bogacki
Hi, I entered the anti-Swen code in my /etc/procmailrc but it does not work, not do my recipes. I suspect an error in the environment variables but cannot see one. Can anyone tell me what is going wrong here ? Adam Bogacki, [EMAIL PROTECTED] DROPPRIVS=yes LD_LIBRARY_PATH="/usr/local/lib:/usr/

Re: basics about env variables

2002-12-30 Thread Robert Land
On Sun, Dec 29, 2002 at 11:16:28AM -0500, David Z Maze wrote: > [EMAIL PROTECTED] (Robert Land) writes: > > > The slrnpull program provides the option to > > use the env variable NNTPSERVER instead of > > passing the newsserver by argument. > > > > As being not that experienced in unix I had > > a

Re: basics about env variables

2002-12-29 Thread Michael Naumann
29.12.2002 16:35:43, "Michael P. Soulier" <[EMAIL PROTECTED]> wrote: >On 29/12/02 Robert Land did speaketh: > >> NNTPSERVER=news.btx.dtag.de >> export NNTPSERVER >> >> then did a new init and tried a echo $NNTPSERVER >> which resulted in a blank line in response. >> >> What was my fault and was thi

Re: basics about env variables

2002-12-29 Thread David Z Maze
[EMAIL PROTECTED] (Robert Land) writes: > The slrnpull program provides the option to > use the env variable NNTPSERVER instead of > passing the newsserver by argument. > > As being not that experienced in unix I had > a look at the rcS script to look how this > might be done. As in, the very fi

Re: basics about env variables

2002-12-29 Thread Mat
AFAIK /etc/default/rcS is used only by boot time scripts (found under /etc/rcS.d). If you want to set global environment variables you have to modify /etc/profile On 29 Dec 2002 at 12:39, Robert Land wrote: > The slrnpull program provides the option to > use the env variable NNTPSERVER instead

Re: basics about env variables

2002-12-29 Thread Michael P. Soulier
On 29/12/02 Robert Land did speaketh: > NNTPSERVER=news.btx.dtag.de > export NNTPSERVER > > then did a new init and tried a echo $NNTPSERVER > which resulted in a blank line in response. > > What was my fault and was this actually slrnpull > required? That is the correct syntax for setting

Re: basics about env variables

2002-12-29 Thread Paul Johnson
On Sun, Dec 29, 2002 at 12:39:08PM +0100, Robert Land wrote: > NNTPSERVER=news.btx.dtag.de > export NNTPSERVER > > then did a new init and tried a echo $NNTPSERVER > which resulted in a blank line in response. $ export NNTPSERVER=news.btx.dtag.de $ echo $NNTPSERVER news.btx.dtag.de -- .''`.

basics about env variables

2002-12-29 Thread Robert Land
The slrnpull program provides the option to use the env variable NNTPSERVER instead of passing the newsserver by argument. As being not that experienced in unix I had a look at the rcS script to look how this might be done. Following the PATH setting in this file I added these two lines: NNTPSER

Re: Env Variables

2000-06-25 Thread Petr \[Dingo\] Dvorak
On Sun, 25 Jun 2000, Patrick Dahiroc wrote: PD> i set the environmental variable below to dynamically change my xterm PD> window to title to the current working directory. PD> PD> export PROMPT_COMMAND='echo -ne "\033]2;${USER}: ${PWD}\007"' PD> PD> this works really well when i login in X, but

Re: Env Variables

2000-06-25 Thread kmself
On Sun, Jun 25, 2000 at 01:47:52AM -0400, Patrick Dahiroc wrote: > hi > > i set the environmental variable below to dynamically change my xterm > window to title to the current working directory. > > export PROMPT_COMMAND='echo -ne "\033]2;${USER}: ${PWD}\007"' > > this works really well when i

Env Variables

2000-06-25 Thread Patrick Dahiroc
hi i set the environmental variable below to dynamically change my xterm window to title to the current working directory. export PROMPT_COMMAND='echo -ne "\033]2;${USER}: ${PWD}\007"' this works really well when i login in X, but when i login from the console my system beeps every time since \0