[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .bash_profile and xdm/KDE on Debian etch



On Wed, 2005-10-19 at 13:44 -0700, Scott Denlinger wrote:
> is there
> something about the way xdm or KDE starts which keeps it from sourcing a
> .bash_profile file? How can I configure xdm or KDE to read in these files if
> they don't?

.bash_profile is only sourced for login shells; when you open an xterm
in KDE or wherever, it's not a login shell so it's not sourced.  If you
start X from a shell, it's already sourced .bash_profile so the
variables are inherited.

If you want the variables set in all shells, not just login shells, set
them in .bashrc.

    Ben

-- 
Termisoc Tech Officer: <http://termisoc.org/>
My Homepage: <http://benalee.co.uk/>
"People demand freedom of speech as compensation for the freedom of
    thought which they seldom use" - Søren Kierkegaard

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: