.bash_profile problem
Gabriel Euzet
g.euzet at free.fr
Thu Apr 21 16:52:47 UTC 2005
t scytale a écrit :
>On 4/21/05, Behrang Saeedzadeh <behrangsa at gmail.com> wrote:
>
>
>>Hi
>>
>> I've added the following lines to my .bash_profile:
>>
>> JAVA14_HOME=/home/behrangsa/Java/j2sdk1.4.2_08
>> JAVA50_HOME=/home/behrangsa/Java/jdk1.5.0_02
>>
>> JAVA_HOME=$JAVA50_HOME
>> export JAVA_HOME
>>
>> PATH=$PATH:$JAVA_HOME/bin
>> export PATH
>>
>>But whenever I turn on my system, they aren't applied. I've to go to the
>>terminal and write source .bash_profile to activate them and only for the
>>current terminal. How can I enforce them to be applied whenever the
>>"behrangsa" user logs in?
>>
>>
>[...snip...]
>- or make your xterms, gnome-terminal, whatever run as login shells
>(there's usually an option)
>
>
1 - open a gnome terminal
2 - open "edit" -> "current profile" (I've it in french, I hope this is
the good translation)
3 - go to tab "title and command"
4- in the commandparagraph check the first box
More information about the ubuntu-users
mailing list