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 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 other terminal emulator. > > You appear to be confused wrt the difference between a terminal emulator > (xterm), and the application running inside it (bash, usually). > > Read the INVOCATION section of the bash man page. Then you'll understand > when and how bash uses which of the various startup files it honors. Then > read the xterm man page, and you'll understand how to invoke xterm in order > to get it to launch bash in the way you want. > > -- > Marc Wilson | Simulations are like miniskirts, they show a lot > [EMAIL PROTECTED] | and hide the essentials. -- Hubert Kirrman > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >