What configuration files affect the PATH and other environment settings?

Project:Linux software
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Related pages:#28: System
Description

#157: How do I find out which Desktop manager I use? How to change it?

the environment variable PATH is no longer set to include $HOME/bin.

I don't know which change caused it not to work any more:
KDE->XFCE.
kdm->ldm.

Comments

#1

I fixed it by adding the following to .bashrc:

PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH

The question remains: why did it work before without that line in .bashrc, and why did it stop working when I switched to xfce/ldm?

What (global/local) configuration files affect the PATH and other environment settings?

#2

Title:How to set environment variables with XFCE / ldm?» What configuration files affect the PATH and other environment settings?