Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with a/xterm
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
knekten
n00b
n00b


Joined: 17 Sep 2002
Posts: 22
Location: Sweden

PostPosted: Wed Oct 02, 2002 4:21 pm    Post subject: Help with a/xterm Reply with quote

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
View user's profile Send private message
thegarbageman
n00b
n00b


Joined: 28 Apr 2002
Posts: 74
Location: Overland Park, KS

PostPosted: Wed Oct 02, 2002 4:34 pm    Post subject: Reply with quote

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:
Code:
xterm -ls

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
View user's profile Send private message
knekten
n00b
n00b


Joined: 17 Sep 2002
Posts: 22
Location: Sweden

PostPosted: Wed Oct 02, 2002 4:53 pm    Post subject: Reply with quote

yup, it worked =)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum