Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-24-2004, 05:44 PM
|
#1
|
Member
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183
Rep:
|
Console text
Hello
When I installed Slack10 if I started a terminal(gnome-terminal) it displayed only bash-2.05b$  And I wanted it to display something like user@host $ . When I installed ximian-artwork theme from Dropline GNOME and restarted GNOME it was ok. So I want to ask, where should I look to see where it has put changes for the terminal ?
Thanks in advance
|
|
|
09-24-2004, 05:50 PM
|
#2
|
Member
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358
Rep:
|
That's something I'd also like to know. I think it's probably in the shell config, but I'm not sure...maybe .bashrc?
|
|
|
09-24-2004, 06:01 PM
|
#3
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
add this to your ~/.bashrc
PS1='\u@\h:\w\$ '
|
|
|
09-24-2004, 06:22 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
For a more consistent approach, make .bashrc consist of only these two lines:
Code:
source /etc/profile
source ~/.bash_profile
Then, put all of your user's aliases etc in .bash_profile and your terminal will be consistent, no matter what it is.
--Shade
|
|
|
09-24-2004, 06:34 PM
|
#5
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
that is much simpler
|
|
|
09-24-2004, 07:01 PM
|
#6
|
Member
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358
Rep:
|
Thanks. That had been bugging me.
|
|
|
09-25-2004, 04:00 AM
|
#7
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
I do the inverse approach :
~/.bash_profile :
source ~/.bashrc
so I can put commands executed only at login in ~/.bash_profile
|
|
|
All times are GMT -5. The time now is 08:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|