Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xterm automatically sourcing /etc/profile [resolved]
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
Tamsco
Guru
Guru


Joined: 04 Aug 2004
Posts: 313
Location: dmse.mit.edu

PostPosted: Sat Oct 09, 2004 8:28 am    Post subject: Xterm automatically sourcing /etc/profile [resolved] Reply with quote

Using enlightenment, when ever I open up xterm, I get the basic bash ...$ prompt, where I would like the colored mike@.... I can get it by typing source /etc/profile , but I'd like it at startup
_________________
If you get your problem solved put a [SOLVED] in the title!
Is OpenOffice still compiling?!


Last edited by Tamsco on Sun Jan 02, 2005 1:52 am; edited 1 time in total
Back to top
View user's profile Send private message
jamesb
n00b
n00b


Joined: 08 Aug 2002
Posts: 8
Location: Cambridge, UK

PostPosted: Sat Oct 09, 2004 3:05 pm    Post subject: Reply with quote

I dont use Enlightenment but had a similar problem when I added xterm to my fluxbox menu. I added an entry for xterm on the menu which brought up the bash ...$ prompt when i started xterm.

The command for the menu entry was simply "xterm". To fix this I added the option;

Code:

xterm -ls


Read the man page for more of an explantation, but basicly this launches a login shell and sources your profile and this fixed it for me in fluxbox.

I havent got a clue how your launching xterm, but if you can edit the menu or command your using to launch xterm, adding -ls should fix it.

Hope that helps,

James
Back to top
View user's profile Send private message
Tamsco
Guru
Guru


Joined: 04 Aug 2004
Posts: 313
Location: dmse.mit.edu

PostPosted: Sat Oct 09, 2004 8:59 pm    Post subject: Reply with quote

worked flawlessly, thanks
_________________
If you get your problem solved put a [SOLVED] in the title!
Is OpenOffice still compiling?!
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