LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-24-2004, 06:44 PM   #1
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Rep: Reputation: 30
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
 
Old 09-24-2004, 06:50 PM   #2
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 357

Rep: Reputation: 30
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?
 
Old 09-24-2004, 07:01 PM   #3
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
add this to your ~/.bashrc
PS1='\u@\h:\w\$ '
 
Old 09-24-2004, 07:22 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
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
 
Old 09-24-2004, 07:34 PM   #5
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
that is much simpler
 
Old 09-24-2004, 08:01 PM   #6
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 357

Rep: Reputation: 30
Thanks. That had been bugging me.
 
Old 09-25-2004, 05:00 AM   #7
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
I do the inverse approach :

~/.bash_profile :
source ~/.bashrc

so I can put commands executed only at login in ~/.bash_profile
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text not wrapping on console MS3FGX Slackware 19 09-01-2005 01:50 AM
Grub TEXT CONSOLE!! HELP!! coolblue Linux - Newbie 7 08-05-2005 11:30 PM
How do I see all text in console? fannymites Linux - General 2 04-15-2005 07:01 PM
Log all console text cli_man Linux - General 2 10-17-2003 06:02 AM
Console text garbled cap'n leaky Slackware 6 09-06-2003 09:18 PM


All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration