Where is a PATH corrupted under the GNOME
ZIYAD A. M. AL-BATLY
zamb at spymac.com
Sat Apr 23 00:49:08 UTC 2005
On Sat, 2005-04-23 at 01:28 +0300, audriusb at homelan.lt wrote:
> I had to add new directory into the PATH variable. Opened /etc/profile file and
> and append line to end:
> export PATH=/usr/local/j2re1.4.2/bin:/usr/local/j2sdk1.4.2/bin:$PATH
> Got surprise: character console shows correct PATH but GNOME terminal erases my
> modifications!
> I look for redefinition of PATH but found nothing.
>
> I added lines
> PATH=/usr/local/j2re1.4.2/bin:/usr/local/j2sdk1.4.2/bin:"${PATH}"
> export PATH
> to end of .bash_profile in my home directory but my PATH was redefined again!
> Can anybody tell me what GNOME script makes such diverse and where I should
> modify the PATH variable?
>
>
Put that line in "~/.bash_profile", "~/.bashrc", and "~/.gnomerc".
Ziyad.
More information about the ubuntu-users
mailing list