View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-27-2008, 05:17 AM   #1
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
Question How to change shell to have nice colors and look cool? Penguin likes cool colors!

My shell has different colors when I use the "ls" command for different files and directories. Sometimes the name is highlighted, and I can not read it. Penguin squaks when can't read it! How can I change the colors for the shell, and change the colors that the files show up in with the ls command? How can I change the shell background color and text color? What colors will look cool and be easy to read, and make the Penguin happy?
Old 11-27-2008, 05:50 AM   #2
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,692
Blog Entries: 1

Rep: Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106
I am at work now so I won't tell you exactly, but I believe in the EDIT menu of konsole/terminal there is a profile option. You can create a new profile (customize your colours, transparency, etc.)
Old 11-28-2008, 09:22 AM   #3
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381

Rep: Reputation: 31
"dircolors" takes care of that. You can read the documentation for it:

man dircolors

It's a bit different for each distro. I.e, RHAT & Fedora use a file /etc/DIR_COLORS like this:

# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
NORMAL 00 # global default, although everything should be something.
FILE 00 # normal file
DIR 01;34 # directory
LINK 01;36 # symbolic link
FIFO 40;33 # pipe
SOCK 01;35 # socket
Old 11-28-2008, 01:55 PM   #4
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
Thanks, I want to see if that will help as soon as I can figure out how to boot Linux again so that I can try it..


colors, shell

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
LXer: Linux is cool in this Penguin-powered ice cream maker LXer Syndicated Linux News 0 02-15-2006 12:01 PM
The penguin is cool! peguin Member Intro 2 12-30-2005 04:30 PM
Fancy colors in shell... BaptismOfFire Debian 2 08-29-2004 01:02 PM
Bit Torrent is very nice :cool: johnp Fedora 1 04-18-2004 07:15 PM
Nice colors... L0CTiT3 *BSD 1 04-09-2003 11:09 PM

All times are GMT -5. The time now is 02:16 PM.

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