I use GNOME and it first executes commands from /etc/profile and then from ~/.profile. This I have found by putting statements like echo 'something' > test in all files that i could think of like .bashrc, .bash_profile, .profile, /etc/profile and others.
What I am curious about is to know if there is any standard file that all Desktop Managers are required to execute commands from? is there any agreement between Desktop Mangers in this regard or do they use which ever file they want.
