Re: gnome terminal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23May2012 19:46, Patrick Dupre <pdupre@xxxxxxxxxx> wrote:
| This what I have in my .bash_profile file:
| 
| USRLOCAL=/usr/local
| USRLOCALINTEL=$USRLOCAL/intel/composer_xe_2011_sp1.9.293
| ROOTSYS=$USRLOCAL/root_v528
| MN2SYS=$USRLOCAL/Minuit2.5.28
| 
| LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$USRLOCAL/lib
| LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib/root
| LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/mylib
| LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MN2SYS/lib
| LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$USRLOCALINTEL/lib/intel64
| 
| export LD_LIBRARY_PATH
| export ROOTSYS
| export MN2SYS
| 
| After I run gnome-terminal without "run command as a login shell",

So that ".bash_profile" should _NOT_ be consulted, yes?

| I get:
|   echo $LD_LIBRARY_PATH
| :/usr/local/lib:/home/pdupre/mylib:/usr/local/intel/composer_xe_2011_sp1.9.293/lib/intel64:/usr/local/root_v528/lib/root
| 
| (so /usr/local/Minuit2.5.28 is missing).
| 
| 
| If I run gnome-terminal with "run command as a login shell", I get:
| 
| echo $LD_LIBRARY_PATH
| :/usr/local/lib:/home/pdupre/mylib:/usr/local/intel/composer_xe_2011_sp1.9.293/lib/intel64:/usr/local/root_v528/lib/root:/usr/local/lib:/usr/local/root_v528/lib/root:/home/pdupre/mylib:/usr/local/Minuit2.5.28/lib:/usr/local/intel/composer_xe_2011_sp1.9.293/lib/intel64
| 
| Now /usr/local/Minuit2.5.28 is set in the variable, but the variable 
| keeps a record of the previous value every
| time that I run gnome-terminal!
| 
| It this normal?

Hmm. Maybe not. What is in your .bashrc?

Also, put:

  set -x

at the top of your .bash_profile and .bashrc. See what shows in your
terminal.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Disclaimer: ERIM wanted to share my opinions, but I wouldn't let them.
        - David Wiseman <dwiseman@xxxxxxxx>
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux