unix question |
unix question |
![]()
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.
|
|
|
![]() |
*mipadi* |
![]()
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.)? |
|
|
![]()
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 650 Joined: Jan 2005 Member No: 84,519 ![]() |
QUOTE(mipadi @ Nov 29 2005, 9:49 PM) 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.)? I'm using tcsh. The $LS_COLORS idea sounds like the one. I just want to change my foreground/background colors. I'm not entirely sure how to go about doing that, though. I'm logging directly into a shell. |
|
|
![]() ![]() |