Ludovic Pinelli wrote:

> - I have not the same result in text mode and under X. In one hand,
> when I add alias, for exemple, to ~/.bashrc, I have no problems in
> text mode but it dosen't work under X (I have tried with
> ~/.bash_profile too with no success). In the other hand I have French
> layout Keyboard under X but not in text mode (it's bowring for the use
> of emacs ;-)). So, where are the files to configure that, and what are
> their names ?

When I've run into this situation, it has been because of the way that
my window manager was set up to call new terminals.  In text mode, every
new login accessed ~/.bashrc and ~/.bash_profile as expected, but xterms
(or their various replacements) don't always do that.  Sometimes a
restart of my desktop session was necessary in order to get .bashrc
changes to be seen automatically.

To fix this, I think that the solution is probably to make sure that
your xterms call bash as a login shell.  (Not sure exactly because the
problem just went away for me sometime around RedHat 6.2 or so; YMMV). 
Which window manager are you using?  Which distribution?  How do you
call new shells?
-- 
Michael Jinks, IB // Technical Entity // Saecos Corporation
"No one speaks English and everything's broken."  -- T. Waits
"Tom Waits would have made a decent sysadmin."  -- M. Jinks



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to