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
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
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
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
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
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
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
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
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
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
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
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,
>
> 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
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
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
"[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
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
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 ... 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
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/
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
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
[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
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
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
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
--
.''`.
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
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
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
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
30 matches
Mail list logo