Re: setting up environment variables

2005-09-26 Thread Bob Proulx
Mike McCarty wrote: > Kai Grossjohann wrote: > > Bob Proulx wrote: > > > You might find this bug interesting. > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=250765 > > Very interesting indeed. So I wonder whether this will show up for > > other desktop environments, too. > > I use Gnome

Re: setting up environment variables

2005-09-23 Thread Mike McCarty
Kai Grossjohann wrote: Bob Proulx wrote: Kai Grossjohann wrote: Same here, I also can't think of another spot. I think that ?dm are seriously broken for not starting a login shell on behalf of the user logging in. You might find this bug interesting. http://bugs.debian.org/cgi-bin/bugr

Re: setting up environment variables

2005-09-23 Thread Thomas Adam
--- Kai Grossjohann <[EMAIL PROTECTED]> wrote: > Very interesting indeed. So I wonder whether this will show up for > other desktop environments, too. > > I was vaguely aware that it is difficult to do, but didn't think it > through fully and thus didn't appreciate the full difficulty of it. No

Re: setting up environment variables

2005-09-23 Thread Basajaun
Dom wrote: > Hi, > > Could someone please tell me if I'm doing this right and if not what > I'm doing wrong as I'm a newbie trying to get acquainted with the > linux system. I want to make every application that wishes to use my > /tmp folder on my linux partition to use a custom folder on another

Re: setting up environment variables

2005-09-23 Thread Kai Grossjohann
Bob Proulx wrote: > Kai Grossjohann wrote: > >>Same here, I also can't think of another spot. I think that ?dm are >>seriously broken for not starting a login shell on behalf of the user >>logging in. > > You might find this bug interesting. > > http://bugs.debian.org/cgi-bin/bugreport.cgi?b

Re: setting up environment variables

2005-09-23 Thread Bob Proulx
Nelson Castillo wrote: > You're misquoting me here. I didn't ask this: Sorry, that one should have had another set of ">" in front. That part of the question came from Adam Hardy. I tried to answer both in one message since I had several messages as it was. Bob signature.asc Description: Digi

Re: setting up environment variables

2005-09-23 Thread Nelson Castillo
On 9/23/05, Bob Proulx <[EMAIL PROTECTED]> wrote: Hi! You're misquoting me here. I didn't ask this: > Nelson Castillo wrote: > > Is this a run-level distinction then? Is /etc/profile is only involved > > in setting up run-level 2? > > This has nothing at all to do with run levels. I was curious

Re: setting up environment variables

2005-09-23 Thread Bob Proulx
Daniel B. wrote: > Shouldn't global environment variables be set in /etc/environment? For anything that comes in through PAM. But if it does not come through PAM then /etc/environment will have no effect. PAM is used for login shells and such. But not for /etc/init.d daemon startup for example.

Re: setting up environment variables

2005-09-23 Thread Bob Proulx
Nelson Castillo wrote: > Is this a run-level distinction then? Is /etc/profile is only involved > in setting up run-level 2? This has nothing at all to do with run levels. > > I was unaware of the /etc/environment directory. Is this a Debian thing? > > A linux thing? An X thing? > > Seems debian

Re: setting up environment variables

2005-09-23 Thread Bob Proulx
Kai Grossjohann wrote: > Same here, I also can't think of another spot. I think that ?dm are > seriously broken for not starting a login shell on behalf of the user > logging in. You might find this bug interesting. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=250765 Bob signature.asc D

Re: setting up environment variables

2005-09-16 Thread Daniel B.
Nelson Castillo wrote: I was unaware of the /etc/environment directory. Is this a Debian thing? A linux thing? An X thing? Seems debian-specific. Is PAM Debian-specific? Is PAM's sourcing of /etc/environment PAM-specific? Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

Re: setting up environment variables

2005-09-16 Thread Nelson Castillo
> I was unaware of the /etc/environment directory. Is this a Debian thing? > A linux thing? An X thing? Seems debian-specific. http://lists.debian.org/debian-user/2005/01/msg04226.html Right now I'm having a problem with UML and i found a solution. # mount root_fs mnt-uml/ -o loop # echo "LD_AS

Re: setting up environment variables

2005-09-16 Thread Adam Hardy
Daniel B. on 15/09/05 17:55, wrote: On 9/14/05, *Kai Grossjohann* <[EMAIL PROTECTED] > wrote: Adam Hardy <[EMAIL PROTECTED] > writes: > If you want to change the envvars globally, then change them in > /etc/profile since a

Re: setting up environment variables

2005-09-15 Thread Daniel B.
On 9/14/05, *Kai Grossjohann* <[EMAIL PROTECTED] > wrote: Adam Hardy <[EMAIL PROTECTED] > writes: > If you want to change the envvars globally, then change them in > /etc/profile since all users' profile include that.

Re: setting up environment variables

2005-09-15 Thread Kai Grossjohann
"L.V.Gandhi" <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED]:~$ cat .xsession > #!/bin/bash --login > exec startkde Cool, that works indeed. .xsession needs to be executable, and it needs to have "--login" or the semantic equivalent in the shebang line. However, there are a number of other thin

Re: setting up environment variables

2005-09-14 Thread L.V.Gandhi
On 9/14/05, Kai Grossjohann <[EMAIL PROTECTED]> wrote: Adam Hardy <[EMAIL PROTECTED]> writes:> If you want to change the envvars globally, then change them in> /etc/profile since all users' profile include that. Is /etc/profile read when a user logs in via xdm, kdm, gdm or asimilar program?I tried

Re: setting up environment variables

2005-09-14 Thread Kai Grossjohann
Adam Hardy <[EMAIL PROTECTED]> writes: > I only tried it with startx from a cmd line. Thanks for the info. But I > can't think where else you would set it up. Same here, I also can't think of another spot. I think that ?dm are seriously broken for not starting a login shell on behalf of the use

Re: setting up environment variables

2005-09-14 Thread Adam Hardy
Kai Grossjohann on 14/09/05 09:07, wrote: Adam Hardy <[EMAIL PROTECTED]> writes: If you want to change the envvars globally, then change them in /etc/profile since all users' profile include that. Is /etc/profile read when a user logs in via xdm, kdm, gdm or a similar program? I tried to g

Re: setting up environment variables

2005-09-14 Thread Kai Grossjohann
Adam Hardy <[EMAIL PROTECTED]> writes: > If you want to change the envvars globally, then change them in > /etc/profile since all users' profile include that. Is /etc/profile read when a user logs in via xdm, kdm, gdm or a similar program? I tried to get my ~/.profile (or ~/.bash_profile or ~/.

Re: setting up environment variables

2005-09-14 Thread Dom
On 9/13/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > Dom on 12/09/05 12:20, wrote: > > SO I need to change system variables TMPDIR, TEMP and TMP... how > > should I do that? > > One source tells me to change .bash_profile from my (and every other > > user's if I want to do this as the system default

Re: setting up environment variables

2005-09-13 Thread Adam Hardy
Dom on 12/09/05 12:20, wrote: SO I need to change system variables TMPDIR, TEMP and TMP... how should I do that? One source tells me to change .bash_profile from my (and every other user's if I want to do this as the system default) home folder by putting 'export TMPDIR=[path]' in it, BUT another

setting up environment variables

2005-09-12 Thread Dom
Hi, Could someone please tell me if I'm doing this right and if not what I'm doing wrong as I'm a newbie trying to get acquainted with the linux system. I want to make every application that wishes to use my /tmp folder on my linux partition to use a custom folder on another partition (looks like