I run ubuntu 12.04.1 LTS. And I can't get what is the order/priority for loading profile files. When I start the system and login using GUI which file is loaded? And why? What if run login-shell? Will it be the same? Actually right now I can't get why my ~/.profile
doesn't load when system starts because here I see it should:
https://help.ubuntu.com/community/EnvironmentVariables