Re: state of /etc/profile

2024-10-16 Thread John Crawley
On 17/10/2024 02:58, Greg Wooledge wrote: On Wed, Oct 16, 2024 at 19:03:27 +0200, Hans wrote: But I wondered, why this file is not modified during my updates. As people told, /etc/profile is part of the package base-files and is copied from /usr/share/base-files/profile. It's not act

Re: state of /etc/profile

2024-10-16 Thread Max Nikulin
On 17/10/2024 00:03, Hans wrote: whilst searching for the default umask setting and reading several manuals, I came to /etc/profile. In this file, the default umask is set. So far so well. I recall, umask set in /etc/profile is ignored by applications started through desktop environments

[SOLVED] Re: state of /etc/profile

2024-10-16 Thread Hans
Hi Greg, thank you very much for your explanation. It makes many things more clear for me. Not every thing is covered by the documentations, and during the times, debian developers changed things or made decisions of behaviour, to make the system better. I appreciate this very, very much (one

Re: state of /etc/profile

2024-10-16 Thread Greg Wooledge
On Wed, Oct 16, 2024 at 20:17:11 +0200, Hans wrote: > so, if that is true, what you say (or if I understood you correctly), then a > reinstall or upgrade of > the package "base-files" should overwrite /etc/profile if the md5sum is > different. No. You have it backwards.

Re: state of /etc/profile

2024-10-16 Thread Hans
Hi Greg, > The /var/lib/dpkg/info/base-files.postinst script contains code that will > modify /etc/profile if the first argument is "configure" and the second > argument isn't the empty string. > > I don't know what would cause those particular arguments to

Re: state of /etc/profile

2024-10-16 Thread Dan Ritter
Hans wrote: > But I wondered, why this file is not modified during my updates. As people > told, /etc/profile is > part of the package base-files and is copied from > /usr/share/base-files/profile. > > Examination of the files showed, there is a differnce between /etc/pr

Re: state of /etc/profile

2024-10-16 Thread Greg Wooledge
On Wed, Oct 16, 2024 at 19:03:27 +0200, Hans wrote: > But I wondered, why this file is not modified during my updates. As people > told, /etc/profile is > part of the package base-files and is copied from > /usr/share/base-files/profile. It's not actually part of the base-fil

state of /etc/profile

2024-10-16 Thread Hans
Dear list, whilst searching for the default umask setting and reading several manuals, I came to /etc/ profile. In this file, the default umask is set. So far so well. But I wondered, why this file is not modified during my updates. As people told, /etc/profile is part of the package base

Re: A question about /etc/profile

2009-02-06 Thread Rodolfo Medina
Rodolfo Medina wrote: I start the terminal by left-clicking on the small icon on the desktop panel. I tried to do what you suggest: I right clicked on the small terminal icon, then in Properties I edited the command from '/usr/bin/gnome-terminal to: 'xmodifie...@im=

Re: A question about /etc/profile

2009-02-06 Thread Aneurin Price
On Fri, Feb 6, 2009 at 4:43 PM, Rodolfo Medina wrote: > Rodolfo Medina wrote: > >>> I start the terminal by left-clicking on the small icon on the desktop >>> panel. >>> I tried to do what you suggest: I right clicked on the small terminal icon, >>> then in Properties I edited the command from '

Re: A question about /etc/profile

2009-02-06 Thread Rodolfo Medina
Rodolfo Medina wrote: >> I start the terminal by left-clicking on the small icon on the desktop panel. >> I tried to do what you suggest: I right clicked on the small terminal icon, >> then in Properties I edited the command from '/usr/bin/gnome-terminal to: >> >> 'xmodifie...@im=scim GTK_IM_MODU

Re: A question about /etc/profile

2009-02-06 Thread Aneurin Price
On Fri, Feb 6, 2009 at 1:25 PM, Rodolfo Medina wrote: > On Thu, Feb 5, 2009 at 8:19 PM, Rodolfo Medina > wrote: > >>>>> >>>>> I added the following lines to /etc/profile: >>>>> >>>>> >>>>> >>>>&g

Re: A question about /etc/profile

2009-02-06 Thread Rodolfo Medina
On Thu, Feb 5, 2009 at 8:19 PM, Rodolfo Medina wrote: >>>> >>>>> I added the following lines to /etc/profile: >>>> >>>>> >>>> >>>>> export xmodifie...@im=scim >>>> >>>>> export GTK_IM_MO

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Deng Xiyue
Rodolfo Medina writes: > Lisi Reisz writes: > >> I added the following lines to /etc/profile: >> >> export xmodifie...@im=scim >> export GTK_IM_MODULE=scim >> export QT_IM_MODULE=scim > > > How can I get the same result *without* putting that stuff

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Lisi Reisz
On Thursday 05 February 2009 20:19:45 Rodolfo Medina wrote: > The Terminal is slowed > down when starting. Konsole on my system isn't slowed down at all. It opens virtually instantaneously. Just goes to show that our systems are as individual as we are. Lisi -- To UNSUBSCRIBE, email to

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Aneurin Price
On Thu, Feb 5, 2009 at 8:19 PM, Rodolfo Medina wrote: > Lisi Reisz writes: > >>> >>>>> I added the following lines to /etc/profile: >>> >>>>> >>> >>>>> export xmodifie...@im=scim >>> >>>>> expo

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Rodolfo Medina
Lisi Reisz writes: >> >>>>> I added the following lines to /etc/profile: >> >>>>> >> >>>>> export xmodifie...@im=scim >> >>>>> export GTK_IM_MODULE=scim >> >>>>> export QT_IM_MODULE=scim

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Lisi Reisz
On Thursday 05 February 2009 19:35:36 Rodolfo Medina wrote: > Lisi Reisz writes: > >>>>> I added the following lines to /etc/profile: > >>>>> > >>>>> export xmodifie...@im=scim > >>>>> export GTK_IM_MODULE=scim > &

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Aneurin Price
; tells the existing shell to interpret the commands in the script, rather than >> creating a new shell to do it. > > > $ source script > > has the same effect than running those three commands from command line. > Instead, putting them in /etc/profile is more powerful, it gets more effect

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Rodolfo Medina
Lisi Reisz writes: >>>>> I added the following lines to /etc/profile: >>>>> >>>>> export xmodifie...@im=scim >>>>> export GTK_IM_MODULE=scim >>>>> export QT_IM_MODULE=scim Rodolfo Medina wrote: >>>> How can

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Aneurin Price
On Thu, Feb 5, 2009 at 6:37 PM, Rodolfo Medina wrote: > Lisi Reisz writes: > >>>> I added the following lines to /etc/profile: >>>> >>>> export xmodifie...@im=scim >>>> export GTK_IM_MODULE=scim >>>> export QT_IM_MODULE=sc

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Rodolfo Medina
Lisi Reisz writes: >>> I added the following lines to /etc/profile: >>> >>> export xmodifie...@im=scim >>> export GTK_IM_MODULE=scim >>> export QT_IM_MODULE=scim Rodolfo Medina wrote: >> How can I get the same result *without* putting that

Re: A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Aneurin Price
On Thu, Feb 5, 2009 at 4:18 PM, Rodolfo Medina wrote: > Lisi Reisz writes: > >> I added the following lines to /etc/profile: >> >> export xmodifie...@im=scim >> export GTK_IM_MODULE=scim >> export QT_IM_MODULE=scim > > > How can I get the same result

A question about /etc/profile (was: Scim does not work with openoffice)

2009-02-05 Thread Rodolfo Medina
Lisi Reisz writes: > I added the following lines to /etc/profile: > > export xmodifie...@im=scim > export GTK_IM_MODULE=scim > export QT_IM_MODULE=scim How can I get the same result *without* putting that stuff in /etc/profile? I mean, if I put that in /etc/profile, those comm

Re: when is the file /etc/profile and /etc/environment loaded

2008-09-20 Thread Andrei Popescu
On Fri,19.Sep.08, 19:41:30, lucky.rand wrote: > I use the mldonkey-sever, which started by /etc/rc2.d/S98mldonkey- > server. And the locale is set in the file /etc/profile: > > export LC_CTYPE=zh_CN.UTF-8 > > However, it seems that the file /etc/profile has not been

when is the file /etc/profile and /etc/environment loaded

2008-09-19 Thread lucky.rand
I use the mldonkey-sever, which started by /etc/rc2.d/S98mldonkey- server. And the locale is set in the file /etc/profile: export LC_CTYPE=zh_CN.UTF-8 However, it seems that the file /etc/profile has not been loaded when the mldonkey-server starts.As a result, mldonkey don't use the

Re: setting in /etc/profile in debian

2007-06-21 Thread Liam O'Toole
MAIL PROTECTED]> wrote: > > > On Wed, 20 Jun 2007 17:55:37 -0600 > > [EMAIL PROTECTED] (Bob Proulx) wrote: > > > > > yong lee wrote: > > > > [...] > > > > > > I have to manually do source /etc/profile to see > > the new chang

Re: setting in /etc/profile in debian

2007-06-21 Thread Bob McGowan
; > >> > > yong lee wrote: > > > > [...] > > >>> > > > I have to manually do source /etc/profile to see > > the new changes >>> > > > after I open a new terminal window everytime. > > Even a reboot does >>> &g

Re: setting in /etc/profile in debian

2007-06-21 Thread Dennis G. Wicks
Here is how to do it. I posted this back on 31 March 2007. This illustrats the value of searching the archives first. Good Luck! Dennis 1. Open a terminal window. 2. Click "Edit" 3. Click "Current Profile" 4. Select "Title and Command" tab 5. Mar

Re: setting in /etc/profile in debian

2007-06-21 Thread yong lee
> > yong lee wrote: > > [...] > > > > I have to manually do source /etc/profile to see > the new changes > > > after I open a new terminal window everytime. > Even a reboot does > > > not help. Does anyone have any idea ? > > > > You say that even

Re: setting in /etc/profile in debian

2007-06-21 Thread Liam O'Toole
On Wed, 20 Jun 2007 17:55:37 -0600 [EMAIL PROTECTED] (Bob Proulx) wrote: > yong lee wrote: [...] > > I have to manually do source /etc/profile to see the new changes > > after I open a new terminal window everytime. Even a reboot does > > not help. Does anyone have any ide

Re: setting in /etc/profile in debian

2007-06-20 Thread Kushal Kumaran
On Wed, Jun 20, 2007 at 05:55:37PM -0600, Bob Proulx wrote: > > > > In any case some standard ways of dealing with this are: > > * Install in your $HOME directory instead of /usr/local and then add > these paths to your $HOME/.bashrc file. This is typical for a > personal installation. > >

Re: setting in /etc/profile in debian

2007-06-20 Thread Bob Proulx
yong lee wrote: > I add new entry in /etc/profile.(see below) > #add java variable > JAVA_HOME=/usr/local/jre1.6.0_01 > export JAVA_HOME > > #add JAVA_HOME to the PATH > PATH="${JAVA_HOME}/bin:${PATH}" > export PATH That is a very un-Debian way of doing thin

Re: setting in /etc/profile in debian

2007-06-20 Thread Orestes leal
On Wed, 20 Jun 2007 16:06:57 -0700 (PDT) yong lee <[EMAIL PROTECTED]> wrote: > I thought these new entries would be effective after I > reopen a new terminal window. But it did not. I have > to manually do source /etc/profile to see the new Make the same change in ~/.bashrc, it de

setting in /etc/profile in debian

2007-06-20 Thread yong lee
I add new entry in /etc/profile.(see below) #add java variable JAVA_HOME=/usr/local/jre1.6.0_01 export JAVA_HOME #add JAVA_HOME to the PATH PATH="${JAVA_HOME}/bin:${PATH}" export PATH I thought these new entries would be effective after I reopen a new terminal window. But it did not.

Re: global enviroment var. etc/profile or where?

2007-03-29 Thread Jeff Dickison
t I've put in ~/.bashrc, but then is not there when compiling from KDevelop. So I've moved it to /etc/profile, but now is nowhere (echo $var shows nothing) Where should I put it? TIA Fernando Cacciola I'd try out /etc/environment --- Human beings were created by water to tran

Re: global enviroment var. etc/profile or where?

2007-03-29 Thread Ron Johnson
; works both when calling make from a bash shell or KDevelop). > > First I've put in ~/.bashrc, but then is not there when compiling from > KDevelop. > > So I've moved it to /etc/profile, but now is nowhere (echo $var shows > nothing) Dumb question: did you expor

global enviroment var. etc/profile or where?

2007-03-29 Thread Fernando Cacciola
not there when compiling from KDevelop. So I've moved it to /etc/profile, but now is nowhere (echo $var shows nothing) Where should I put it? TIA Fernando Cacciola -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: What is etc/profile for?

2005-07-25 Thread Paul E Condon
On Mon, Jul 25, 2005 at 03:27:02PM -0700, Redefined Horizons wrote: > Just curious. What is the etc/profile directory for? > > Thanks, > > Scott Huey > On my machine (OS==Sarge), it is not a directory, but a startup script for a shell, such as bash. It defines the environm

What is etc/profile for?

2005-07-25 Thread Redefined Horizons
Just curious. What is the etc/profile directory for? Thanks, Scott Huey

Re: $PATH and /etc/profile

2004-12-27 Thread Daniel B.
Sam Halliday wrote: ... it IS differnet. if you start from the console, you should really do > `startx &` to detach from the console and allow you to continue working > on the console and X; hence 2 logins. No. That's not 2 logins. It's two things (a console shell and a whole X session) spawned

Re: problem with /etc/profile

2004-10-22 Thread Alexis Huxley
> My /etc/profile is not being run when I reboot and log on. Can anyone give me some > advice about how to figure out what is wrong? What should be calling it and when? > Would any failures get logged someplace? How do you know it is not run? Is the user's shell one that *sh

problem with /etc/profile

2004-10-21 Thread Mark D. Hansen
My /etc/profile is not being run when I reboot and log on. Can anyone give me some advice about how to figure out what is wrong? What should be calling it and when? Would any failures get logged someplace? I was fiddling around creating some Sxx links in /etc/rc2.d to start an X11 server

Re: $PATH and /etc/profile

2004-06-27 Thread Bob Proulx
Michael B Allen wrote: > Bob Proulx said: > > That is clever and I like it. But unfortunately exec -l is a bash-ism > > and so that does not work if /bin/sh is not bash but a different POSIX > > compatible shell. Users with ash installed as /bin/sh will fail. > > Because 'exec -l' is not specifie

Re: $PATH and /etc/profile

2004-06-27 Thread Michael B Allen
Bob Proulx said: >> Another method that uses the user's default shell is to change: >> >> /etc/X11/Xsession.d/99xfree86-common_start >> >> to read: >> >> exec -l $SHELL -c "$STARTUP" > > That is clever and I like it. But unfortunately exec -l is a bash-ism > and so that does not work if /bin/sh

Re: $PATH and /etc/profile

2004-06-27 Thread Michael B Allen
I'm confused now. You suggest using ~/.xsession to source the user's profile but if you select "KDE" from the *dm screen causing ~/.xsession to be ignored how does one setup their shell environment? > newbies generally don't use .xsession, they use the drop down window to &

Re: $PATH and /etc/profile

2004-06-27 Thread Bob Proulx
Michael B Allen wrote: > [EMAIL PROTECTED] (Bob Proulx) wrote: > > kdm spawns bash --login ~/.xsession > > I think we're on the same page here Bob but I want to point out that > running /usr/bin/bash --login is specific to bash. Yes, but if you were a csh/tcsh user you would use the following

Re: $PATH and /etc/profile

2004-06-27 Thread Sam Halliday
ser. So the > normal practice is to add statements in Xsession to source the > user profile. Please edit your Xsession and .xsession files. this says exactly what i said. > > if however, you login via kdm/gdm/xdm, it is NOT a login shell, so > > /etc/profile is n

Re: $PATH and /etc/profile

2004-06-27 Thread Sam Halliday
to change: > > /etc/X11/Xsession.d/99xfree86-common_start > > to read: > > exec -l $SHELL -c "$STARTUP" who said this was the "correct" way? if it was the "correct" way, do you not think the debian maintainers would have done this a long time ago? >

Re: $PATH and /etc/profile

2004-06-27 Thread Michael B Allen
tem Session". Otherwise I believe the xsession.d scripts bail out before reachine that step. Mike > bash acts upon --login, reads /etc/profile, ~/.bash_profile and > others as appropriate for a login shell. At this time the > environment is configured exactly a

Re: $PATH and /etc/profile

2004-06-27 Thread Michael B Allen
tart to read: exec -l $SHELL -c "$STARTUP" This will exec the session manager though a login shell. This permits the shell to contibute to the environment (in the case of bash this includes sourcing /etc/profile). > > Simon, the reason you do not get your PATH set correctly is t

Re: $PATH and /etc/profile

2004-06-27 Thread Bob Proulx
tream in order to change and improve this situation. > Simon, the reason you do not get your PATH set correctly is that if > you login at a console, /etc/profile will be read because it is a > login shell. starting X from there will inherit all your settings. Agreed. Also don't forget

Re: $PATH and /etc/profile

2004-06-27 Thread Sam Halliday
l?? repeat after me... X windows is not your shell! Simon, the reason you do not get your PATH set correctly is that if you login at a console, /etc/profile will be read because it is a login shell. starting X from there will inherit all your settings. if however, you login via kdm/gdm/xdm, it i

Re: $PATH and /etc/profile

2004-06-27 Thread Bob Proulx
Simon L wrote: > In my /etc/profile file, I wrote: > "PATH="/opt/j2sdk1.4.2_04/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"" > > When I log in text mode, the entire PATH is there as I want, I can > "startx&

Re: $PATH and /etc/profile

2004-06-09 Thread Simon L
Carl Fink wrote: On Wed, Jun 09, 2004 at 07:36:14AM +, Simon L wrote: I checked a bit more this file and I found the line "DAEMON=" so I added the /bin/bash here, but it did nothing (yes I rebooted :P ) Did you put it in quotes, like this? DAEMON="/bin/bash /usr/bin/kdm"? Yes, beca

Re: $PATH and /etc/profile

2004-06-09 Thread Carl Fink
On Wed, Jun 09, 2004 at 07:36:14AM +, Simon L wrote: > I checked a bit more this file and I found the line "DAEMON=" so I added > the /bin/bash here, but it did nothing (yes I rebooted :P ) Did you put it in quotes, like this? DAEMON="/bin/bash /usr/bin/kdm"? I have (I must say) no

Re: $PATH and /etc/profile

2004-06-09 Thread Simon L
Carl Fink wrote: On Tue, Jun 08, 2004 at 10:41:08PM +, Simon L wrote: I wonder if you could find the line in your startup script that says "kdm" and just change it to read "/bin/bash kdm". I HAVE NOT TRIED THIS and make no claim that it will work, but it would explain why startx works and k

Re: $PATH and /etc/profile

2004-06-08 Thread Carl Fink
On Tue, Jun 08, 2004 at 10:41:08PM +, Simon L wrote: > >I wonder if you could find the line in your startup script that says > >"kdm" and just change it to read "/bin/bash kdm". I HAVE NOT TRIED > >THIS and make no claim that it will work, but it would explain why > >startx works and kdm does

Re: $PATH and /etc/profile

2004-06-08 Thread Simon L
Carl Fink wrote: Note: I'm far from an expert. On Tue, Jun 08, 2004 at 09:12:05PM +, Simon L wrote: When I log in text mode, the entire PATH is there as I want, I can "startx" and when I open a terminal, the PATH is perfect. Now, if I start the computer with KDM and that I run a terminal,

Re: $PATH and /etc/profile

2004-06-08 Thread Jerome R. Acks
On Tue, Jun 08, 2004 at 09:12:05PM +, Simon L wrote: > In my /etc/profile file, I wrote: > "PATH="/opt/j2sdk1.4.2_04/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"" > > When I log in text mode, the entire PATH is t

Re: $PATH and /etc/profile

2004-06-08 Thread Carl Fink
Note: I'm far from an expert. On Tue, Jun 08, 2004 at 09:12:05PM +, Simon L wrote: > When I log in text mode, the entire PATH is there as I want, I can > "startx" and when I open a terminal, the PATH is perfect. > Now, if I start the computer with KDM and that I run a terminal, the > PATH

Re: $PATH and /etc/profile

2004-06-08 Thread Simon L
s. keeling wrote: Incoming from Simon L: s. keeling wrote: Incoming from Simon L: In my /etc/profile file, I wrote: "PATH="/opt/j2sdk1.4.2_04/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"" First, yo

Re: $PATH and /etc/profile

2004-06-08 Thread s. keeling
Incoming from Simon L: > s. keeling wrote: > > >Incoming from Simon L: > > > >>In my /etc/profile file, I wrote: > >>"PATH="/opt/j2sdk1.4.2_04/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"" Firs

Re: $PATH and /etc/profile

2004-06-08 Thread Simon L
s. keeling wrote: Incoming from Simon L: In my /etc/profile file, I wrote: "PATH="/opt/j2sdk1.4.2_04/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"" When I log in text mode, the entire PATH is there as I want, I can "

Re: $PATH and /etc/profile

2004-06-08 Thread s. keeling
Incoming from Simon L: > In my /etc/profile file, I wrote: > "PATH="/opt/j2sdk1.4.2_04/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"" > > When I log in text mode, the entire PATH is there as I want, I can > "

$PATH and /etc/profile

2004-06-08 Thread Simon L
In my /etc/profile file, I wrote: "PATH="/opt/j2sdk1.4.2_04/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"" When I log in text mode, the entire PATH is there as I want, I can "startx" and when I open a terminal, the PATH i

Re: Questions about /etc/profile ulimit -Hn and /etc/initscript & /etc/security/limits

2004-06-05 Thread Bob Proulx
r to a memory leak. You need to close files after you are through using them. > I was told > 1) change /etc/profile to add ulimit -Hn 65536 > 2)create /etc/initscript as described in man initscript, including > ulimit -Hn 65536 That would only be a temporary workaround. If yo

Questions about /etc/profile ulimit -Hn and /etc/initscript & /etc/security/limits

2004-06-03 Thread tripolar
When running java w/ another program I get this error message- java.io.IOException: Too many open files I was told 1) change /etc/profile to add ulimit -Hn 65536 2)create /etc/initscript as described in man initscript, including ulimit -Hn 65536 Someone else mentioned /etc/security/limits. Now I

Re: Sourcing /etc/profile for gdm logins

2004-03-29 Thread Bob Proulx
Paul Galbraith wrote: > I want all logins from gdm to source /etc/profile so that I can put the > java_home environment variable (and possibly others) there. How can I > get all gdm user logins to pickup the settings in /etc/profile? > > I tried putting ". /etc/profile&quo

Sourcing /etc/profile for gdm logins

2004-03-28 Thread Paul Galbraith
I want all logins from gdm to source /etc/profile so that I can put the java_home environment variable (and possibly others) there. How can I get all gdm user logins to pickup the settings in /etc/profile? I tried putting ". /etc/profile" in /etc/gdm/PreSession/Default and that didn

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 cl

Re: /etc/profile and setting env variables

2004-03-22 Thread Brian Brazil
> info I need. Try 'man bash'. Its under INVOCATION. Don't ask me if X parses /etc/profile etc. 'man X' maybe? Brian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

/etc/profile and setting env variables

2004-03-21 Thread [EMAIL PROTECTED]
ought: 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 place. Here's my questions: a) Where do I edit global profile changes? b) I looked at the .profile

/etc/profile not being read for gnome

2003-11-08 Thread Alex Malinovich
It seems that /etc/profile is being completely disregarded by Gnome. I noticed a DefaultPath setting in gdm.conf, but the comment above it mentioned that this will probably be overridden by the profile PATH. Unfortunately, this doesn't appear to be the case. I could have sworn that I had fo

gdm and /etc/profile, ~/.bash_profile

2003-07-01 Thread matt zagrabelny
hello, gdm in the past (maybe 1 or 2 months ago) used /etc/profile when i logged in. now it doesnt seem to. same with my .bash_profile. has anyone else experienced this? is there an option in a config file for this? thanks. -matt zagrabelny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED

Re: /etc/profile and X

2003-06-22 Thread David Fokkema
On Sat, Jun 14, 2003 at 12:31:36AM +0100, Ben Kal wrote: > On 12 Jun 2003 David Fokkema <[EMAIL PROTECTED]> wrote: > > and what file I need to edit to have a _system-wide_ variable > > declaration. > > /etc/profile, IMO. Just make sure it is also read at the s

Re: /etc/profile and X

2003-06-13 Thread Ben Kal
searched through the archives and read some of the comments. >>> However, they don't tell me exactly what's going on... >>> >>> /etc/profile is read by a login shell, and not by starting an xterm. Of >>> course, so far, so good... However, when I log in to

Re: /etc/profile and X

2003-06-12 Thread David Fokkema
;t tell me exactly what's going on... > > > > /etc/profile is read by a login shell, and not by starting an xterm. Of > > course, so far, so good... However, when I log in to X, doesn't > > xdm/kdm/gdm run a login shell which then starts xinit or something like > &

Re: /etc/profile and X

2003-06-12 Thread Craig Dickson
Matthew Weier O'Phinney wrote: > 1) In $HOME/.bashrc (this could be in the profile somewhere; I don't >manage a large system), I set and export any environment variables I >need in my login shell. > > 2) In $HOME/.bash_profile, I have the following lines at the top of the >file: >

Re: /etc/profile and X

2003-06-12 Thread Matthew Weier O'Phinney
-- David Fokkema <[EMAIL PROTECTED]> wrote (on Thursday, 12 June 2003, 01:10 PM +0200): > Yes, I searched through the archives and read some of the comments. > However, they don't tell me exactly what's going on... > > /etc/profile is read by a login shell, and

/etc/profile and X

2003-06-12 Thread David Fokkema
Hi group, Yes, I searched through the archives and read some of the comments. However, they don't tell me exactly what's going on... /etc/profile is read by a login shell, and not by starting an xterm. Of course, so far, so good... However, when I log in to X, doesn't xdm/kdm/

Re: /etc/profile no longer used

2003-06-02 Thread Leandro Guimarães Faria Corsetti Dutra
On Sat, 31 May 2003 16:33:08 +, Kevin McKinley wrote: > On Sat, 31 May 2003 11:57:39 -0600 > [EMAIL PROTECTED] (Bob Proulx) wrote: > >> Really? Can someone point me to documentation or standards which >> describes the use and behavior of /etc/environment? > > /etc/environment seems to be an

Re: /etc/profile no longer used

2003-06-02 Thread Kevin McKinley
On Sun, 1 Jun 2003 12:42:13 -0600 [EMAIL PROTECTED] (Bob Proulx) wrote: > Let me admit to being somewhat of a troll. I am actually familiar > with AIX and use of /etc/environment there. Programs that grew up on > There is almost no documentation on it. The format of the file is > almost comple

Re: /etc/profile no longer used

2003-06-02 Thread Bob Proulx
Vineet Kumar wrote: > Kevin McKinley wrote: > > Bob Proulx wrote: > > > Really? Can someone point me to documentation or standards which > > > describes the use and behavior of /etc/environment? > > > > /etc/environment seems to be an AIXism that's migrating to > > Linux. Googling on "/etc/enviro

Re: /etc/profile no longer used

2003-06-01 Thread Vineet Kumar
* Kevin McKinley ([EMAIL PROTECTED]) [030531 13:54]: > On Sat, 31 May 2003 11:57:39 -0600 > [EMAIL PROTECTED] (Bob Proulx) wrote: > > > Leandro Guimar?es Faria Corsetti Dutra wrote: > > > Perhaps not exactly, but wider: /etc/environment is meant to be used > > > by all shells, ... > > > > Reall

Re: /etc/profile no longer used

2003-06-01 Thread Kevin McKinley
On Sat, 31 May 2003 11:57:39 -0600 [EMAIL PROTECTED] (Bob Proulx) wrote: > Leandro Guimar?es Faria Corsetti Dutra wrote: > > Perhaps not exactly, but wider: /etc/environment is meant to be used > > by all shells, ... > > Really? Can someone point me to documentation or standards which > desc

Re: /etc/profile no longer used

2003-06-01 Thread Bob Proulx
Leandro Guimar?es Faria Corsetti Dutra wrote: > Perhaps not exactly, but wider: /etc/environment is meant to be used > by all shells, ... Really? Can someone point me to documentation or standards which describes the use and behavior of /etc/environment? Bob pgp0.pgp Description: PGP

Re: /etc/profile no longer used

2003-05-31 Thread moseley
On Sat, May 31, 2003 at 11:28:09AM +0200, Etienne Perron wrote: > Thanks Leandro, > but that's not the problem. My problem is that even bash is no longer > using /etc/profile. I have specified a PATH in /etc/profile, but bash > gets another PATH from somewhere else (don

Re: /etc/profile no longer used

2003-05-31 Thread Etienne Perron
Thanks Leandro, but that's not the problem. My problem is that even bash is no longer using /etc/profile. I have specified a PATH in /etc/profile, but bash gets another PATH from somewhere else (don't no from which file)... Any new ideas? Leandro Guimarães Faria Corsetti Dutra wrote

Re: /etc/profile no longer used

2003-05-31 Thread Leandro Guimarães Faria Corsetti Dutra
On Fri, 30 May 2003 15:54:56 +0200, Etienne Perron wrote: > since my last update of the "testing" packages, XFree86 is no longer > using the file /etc/profile. > > Is there another file that has the same function now? Perhaps not exactly, but wider: /etc/environme

/etc/profile no longer used

2003-05-31 Thread Etienne Perron
Hi, since my last update of the "testing" packages, XFree86 is no longer using the file /etc/profile. Is there another file that has the same function now? Thanks Etienne -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

KDE2 & /etc/profile?

2003-01-09 Thread Egor Tur
Hi. Why does kde2 not read /etc/profile? At list for me. Who (what :)) and how read this file when system sturt up? Thanx. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: "screen" will not read /etc/profile

2002-01-09 Thread Bill Goudie
On Tue, Jan 08, 2002 at 09:35:47PM -0500, Brenda J. Butler wrote: > On Wed, Jan 09, 2002 at 11:01:39AM +0800, Patrick Hsieh wrote: > > I have set some aliases in /etc/profile, but > > when I enter "screen" and create a new "screen" session, > > it does n

Re: "screen" will not read /etc/profile

2002-01-09 Thread Colin Watson
On Tue, Jan 08, 2002 at 09:35:47PM -0500, Brenda J. Butler wrote: > See the man page, and the examples in > /usr/share/doc/bash/examples/startup-files. > > Hmm, that's strange, I found the above reference in > /etc/skel/.bashrc, but did not find an examples directory > in /usr/share/doc/bash. Odd

Re: "screen" will not read /etc/profile

2002-01-08 Thread Brenda J. Butler
On Wed, Jan 09, 2002 at 11:01:39AM +0800, Patrick Hsieh wrote: > I have set some aliases in /etc/profile, but > when I enter "screen" and create a new "screen" session, > it does not work, I am afraid screen will not read /etc/profile. > Idea? Screen doesn'

"screen" will not read /etc/profile

2002-01-08 Thread Patrick Hsieh
Hello list, I have set some aliases in /etc/profile, but when I enter "screen" and create a new "screen" session, it does not work, I am afraid screen will not read /etc/profile. Idea? -- Patrick Hsieh <[EMAIL PROTECTED]> GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg

Re: XDM and /etc/profile

2001-03-23 Thread Ethan Benson
On Fri, Mar 23, 2001 at 11:37:41PM +, Simon Read wrote: > Folks, > > I was trying to change the path for users of my freshly installed > Debian machine. I found (to my dismay) that /etc/profile is NOT used > if I login at the console using 'xdm', but IS

Re: XDM and /etc/profile

2001-03-23 Thread Hall Stevenson
* Simon Read ([EMAIL PROTECTED]) [010323 18:42]: > > I was trying to change the path for users of my freshly installed > Debian machine. I found (to my dismay) that /etc/profile is NOT used > if I login at the console using 'xdm', but IS used if I login remotely >

XDM and /etc/profile

2001-03-23 Thread Simon Read
Folks, I was trying to change the path for users of my freshly installed Debian machine. I found (to my dismay) that /etc/profile is NOT used if I login at the console using 'xdm', but IS used if I login remotely (using ssh). There seem to be multiple options for fixing thi

Re: kde ignores /etc/profile

2001-02-16 Thread Alan Chandler
On Fri, 16 Feb 2001 18:16:16 +0100, you wrote: >Hi, >what am I doing wrong? I changed the PATH-line in /etc/profile >(including now /usr/local/xyz/bin), at the end there is also an "export >PATH"-line, but when I login via kdm (as user) into kde (version 2 and >2.1bet

  1   2   >