Log In · Register

 
unix question
eunie03
post Nov 29 2005, 08:09 PM
Post #1


Senior Member
*****

Group: Member
Posts: 650
Joined: Jan 2005
Member No: 84,519



How do you customize the colors that show every time you log into a shell? It seems so simple... but it's beginning to be a head-scratcher.
 
 
Start new topic
Replies
*mipadi*
post Nov 29 2005, 09:49 PM
Post #2





Guest






QUOTE(eunie03 @ Nov 29 2005, 8:09 PM)
How do you customize the colors that show every time you log into a shell? It seems so simple... but it's beginning to be a head-scratcher.
*

On some Unix systems, you can change the colors by accessing /usr/bin/dircolors. Also, the variable $LS_COLORS is what stores the color values. I have no experience changing them, but perhaps that can point you in the right direction.

The color values are actually ANSI color codes, which can be hard to figure out; there are programs that might be able to help you with that, though.

Also, I'm not sure if that information applies to every shell. I know it applies to bash, but I don't know about other shells. Do you know what shell you are using (tcsh, csh, zsh, etc.)?

$LS_COLORS also changes the values that color-code files; if you just want the text to change (from, say, black on white to yellow on black), that's easy to do, especially if you are using a desktop environment such as GNOME. Are you just loggin directly into a shell, or are you using a desktop environment/window manager (GNOME, GNUstep, Xfce, KDE, etc.)?
 

Posts in this topic
eunie03   unix question   Nov 29 2005, 08:09 PM
mipadi   QUOTE(eunie03 @ Nov 29 2005, 8:09 PM)How do y...   Nov 29 2005, 09:49 PM
eunie03   QUOTE(mipadi @ Nov 29 2005, 9:49 PM)On some U...   Dec 3 2005, 02:31 PM
mipadi   QUOTE(eunie03 @ Dec 3 2005, 2:31 PM)I'm u...   Dec 3 2005, 05:27 PM
eunie03   Whoops.   Dec 3 2005, 02:31 PM
kryogenix   Semi-unrelated question: are you using lynx?   Dec 3 2005, 04:48 PM
uLoVeMikeRoch   Nice, a Unix user. Wow, Eunie, you use unix? Aweso...   Dec 4 2005, 02:39 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: