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

Notices



Reply
 
Search this Thread
Old 08-13-2009, 10:52 AM   #1
caa1980
Member
 
Registered: Aug 2004
Location: Salt Lake City, UT
Distribution: Ubuntu 10.04
Posts: 124

Rep: Reputation: 15
Ubuntu terminal look like linux mint terminal?


The Linux mint terminal has green and blue for the prompt. How do I make the Ubuntu terminal look like the Linux mint Terminal? I have looked at the color settings under the Terminal profile preferences and I do not see that setting available there.
 
Old 08-13-2009, 11:12 AM   #2
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
just look at the attached screenshot..there u can find the option to change the background and text color..hope thats what u need.
Attached Images
File Type: png Screenshot.png (219.8 KB, 29 views)
 
Old 08-13-2009, 11:50 AM   #3
caa1980
Member
 
Registered: Aug 2004
Location: Salt Lake City, UT
Distribution: Ubuntu 10.04
Posts: 124

Original Poster
Rep: Reputation: 15
Prompt colors not terminal colors.

I already knew that. That changes the color for all the text. Which is not what I want. I want to change the colors for the prompt only. I would like the username@computername to be green and the rest of the prompt blue. The rest of the text would be white and black background which I already have set.
Attached Images
File Type: png Screenshot-Editing Profile “Default”.png (36.9 KB, 9 views)
 
Old 08-13-2009, 01:02 PM   #4
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
You want to get the value of the environment variable PS1. It's stored in a config for bash somewhere (check your homedir and /etc), or you can get it directly from `echo $PS1`. If that comes out colored, it's not going to work and you'll need to find the file. (I don't know; I use zsh and it's a little different for me.)
 
Old 08-13-2009, 01:10 PM   #5
caa1980
Member
 
Registered: Aug 2004
Location: Salt Lake City, UT
Distribution: Ubuntu 10.04
Posts: 124

Original Poster
Rep: Reputation: 15
what do I do with the PS1?

what do I do with the PS1? I was able to get the echo PS1.
 
Old 08-13-2009, 01:16 PM   #6
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
try this link.it might help you..did you try googling ur problem?

http://www.cyberciti.biz/faq/bash-sh...linux-or-unix/
 
Old 08-13-2009, 01:16 PM   #7
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
You'll have to put it into the relevant file on the other system. Try ~/.bash_profile or ~/.bashrc. `man bash` if you want to learn instead of guess.
 
  


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
Ubuntu 8.04 Terminal - Can you make the terminal window transparent with a wallpaper? bparkerson04 Linux - Newbie 6 02-17-2009 06:12 PM
LXer: The Terminal Test: Do you have to use the terminal in Linux? LXer Syndicated Linux News 0 01-01-2009 07:50 PM
How access the command line Terminal in Ubuntu linux? bmnb123 Linux - Newbie 2 04-10-2008 03:12 PM
Difference between a Shell terminal window and the KDE Linux Console terminal window? bostonantifan Fedora 2 03-25-2007 08:23 PM


All times are GMT -5. The time now is 09:38 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