View previous topic :: View next topic |
Author |
Message |
knekten n00b
Joined: 17 Sep 2002 Posts: 22 Location: Sweden
|
Posted: Wed Oct 02, 2002 4:21 pm Post subject: Help with a/xterm |
|
|
since i used the stage3-tarball when installed i got my /etc/profile configured from the start.. that's nice, and now on to the question:
how do i get aterm or xterm to do "source /etc/profile" each time i start it from fluxbox-menu? if i want the /etc/profile settings i now have to "source /etc/profile" each time i launch the terminal.
so, if you know how to make aterm load the settings by default everytime i execute it, please let me know how to do it =) |
|
Back to top |
|
|
thegarbageman n00b
Joined: 28 Apr 2002 Posts: 74 Location: Overland Park, KS
|
Posted: Wed Oct 02, 2002 4:34 pm Post subject: |
|
|
Actually what I think you want is known as a "login shell"
try: Code: | xterm --help | grep login |
to find what the switch is - I think it's:
anywho, it should be in the help listing.
you can edit your fluxbox menu (/usr/share/commonbox/menu)
or, in ~/.bash_profile, you can add the following:
Code: | alias xterm="xterm -ls" |
again, I am not sure about the exact switch. |
|
Back to top |
|
|
knekten n00b
Joined: 17 Sep 2002 Posts: 22 Location: Sweden
|
Posted: Wed Oct 02, 2002 4:53 pm Post subject: |
|
|
yup, it worked =) |
|
Back to top |
|
|
|