Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Prompt not quite right in gnome-terminal
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
lmeadors
n00b
n00b


Joined: 24 Nov 2002
Posts: 24

PostPosted: Wed Dec 04, 2002 4:26 am    Post subject: Prompt not quite right in gnome-terminal Reply with quote

When I run a gnome-terminal, I do not get the same prompt I have when at a console prompt before starting X until I source /etc/profile.

This is an example:
Code:
bash-2.05a$ source /etc/profile
lmeadors@larnyx lmeadors $

The first line shows how it starts, the second is what I wish it started as. I am thinking I blew something, but have no idea what.

I have searched all over the gentoo site and googled until I am all googley-eyed, but still cannot figure this one out. :-/

Any help? Please?

Larry
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Dec 04, 2002 4:46 am    Post subject: Reply with quote

When you have just logged in, and you have the unhappy prompt, what does "echo $SHELL" say? Does your user have a login shell? It's the last field in /etc/passwd, and you can use the chsh utility or "usermod -s" to set it.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
lmeadors
n00b
n00b


Joined: 24 Nov 2002
Posts: 24

PostPosted: Wed Dec 04, 2002 4:50 am    Post subject: Reply with quote

Yep, it is /bin/bash
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Dec 04, 2002 4:54 am    Post subject: Reply with quote

What is the version of baselayout? Try searching for "gnome-terminal and profile" for perhaps some similar threads.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
lmeadors
n00b
n00b


Joined: 24 Nov 2002
Posts: 24

PostPosted: Wed Dec 04, 2002 4:58 am    Post subject: Reply with quote

Is this what you are looking for?
sys-apps/baselayout-1.8.5.3

I will also try the search string you suggested, thanks.

Larry
Back to top
View user's profile Send private message
Jeld
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 84
Location: NYC, US

PostPosted: Wed Dec 04, 2002 4:59 am    Post subject: Reply with quote

Go to "Edit current Profile" menu, click on the Title and Command tab and check the "Run command as login shell". That's it.
_________________
package JAPH;sub x{$/='$';@1=map{$_=ord;$_--;chr}
split//,<DATA>;@2=map{$_=ord;$_++;chr}split//
,<DATA>;$_=sub{$.++%2?shift@2:shift@1};bless$_;}
1;$x=JAPH->x;for(1..25){print&$x,;}__DATA__
Kt!ouf!fmIdf"$ts@ngqOq`jq
Back to top
View user's profile Send private message
lmeadors
n00b
n00b


Joined: 24 Nov 2002
Posts: 24

PostPosted: Wed Dec 04, 2002 5:09 am    Post subject: Reply with quote

DOH! You beat me to it!

Ha! I just found that one seconds ago and was coming back to get it in here!

Thanks!

Larry
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