I think there's some misunderstanding here... if you put .bash_profile in
your home directory the settings will be applied.

BUT, the way that it works is that the settings are applied at the time of
LOGIN, therefore if you simply open new Gnome sessions the script won't be
run, as the new window will simply inherit the details at the time of
login...

You can prove this by adding...

export YYY=1

...to the bottom of .bash_profile, and then typing "su - <username>" and
your password...

$ env | grep YYY

...should return...
[EMAIL PROTECTED] ~]$ su - seanmiller
Password:
[EMAIL PROTECTED] ~]$ env | grep YYY
YYY=1
[EMAIL PROTECTED] ~]$

If you then log out of Gnome altogether and re-login you should find that
your environment is as you wish it to be on every terminal window you open.

Hope that helps,

Sean
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/

Reply via email to