View previous topic :: View next topic |
Author |
Message |
lmeadors n00b
Joined: 24 Nov 2002 Posts: 24
|
Posted: Wed Dec 04, 2002 4:26 am Post subject: Prompt not quite right in gnome-terminal |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Dec 04, 2002 4:46 am Post subject: |
|
|
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 |
|
|
lmeadors n00b
Joined: 24 Nov 2002 Posts: 24
|
Posted: Wed Dec 04, 2002 4:50 am Post subject: |
|
|
Yep, it is /bin/bash |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Dec 04, 2002 4:54 am Post subject: |
|
|
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 |
|
|
lmeadors n00b
Joined: 24 Nov 2002 Posts: 24
|
Posted: Wed Dec 04, 2002 4:58 am Post subject: |
|
|
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 |
|
|
Jeld Tux's lil' helper
Joined: 28 Jun 2002 Posts: 84 Location: NYC, US
|
Posted: Wed Dec 04, 2002 4:59 am Post subject: |
|
|
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 |
|
|
lmeadors n00b
Joined: 24 Nov 2002 Posts: 24
|
Posted: Wed Dec 04, 2002 5:09 am Post subject: |
|
|
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 |
|
|
|