Click to See Complete Forum and Search --> : No more colors in gnome-terminal...


SiM
04-10-2001, 07:47 PM
I'm not sure what happened, but after installing enlightenment, my gnome terminal started crashing, but that's not my question, i already asked that here (http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=7&t=001791) . However, now my gnome terminal won't display things such as directories and executables in color when i'm in user mode, but when i log in as root then it works. this is true even on the same terminal when using the su command. anybody know? thx
SiM

Tyr-7BE
04-10-2001, 07:52 PM
su to root and check your /root/.profile file. See if it has something like "alias ls='ls --color'". If it does, create this exact same line in your /home/user/.profile file. If that doesn't work, you can try setting the global profile as well in /etc/profile (copying the same line). Hope this helps.

DMR
04-10-2001, 09:23 PM
from Tyr-7BE:
See if it has something like "alias ls='ls --color'".

That sounds about right. I've found that when I alias ls in a given user's .bash_profile (piping it through another command, for example), I lose the color.

(BTW- thanks for the fix/tip, Tyr-7BE; I might be able to use it to retain color in my aliases)

[ 10 April 2001: Message edited by: DMR ]

SiM
04-10-2001, 10:08 PM
thanks a lot people, i added that line to my .bashrc and relogged in and whala!
SiM