PDA

View Full Version : [SOLVED] Xfce terminal colors



rattskjelke
February 29th, 2012, 01:16 AM
On all (or most) of the other linux distros that I have tried, running the ls command in a terminal window lists the different file types in different colors.
On Xubuntu 11.10 this doesn't happen, even though the Xfce terminal has a color pallette setting. Everything is the same color except the cursor.
Is it supposed to be like this or did I break something?

sudodus
February 29th, 2012, 03:16 AM
I have colours for the ls output in my xubuntu 11.10. I am not sure if I have changed it from the default value. Anyway the setting is in .bashrc

gedit ~/.bashrc
Look for a line like this

alias ls='ls --color=auto'
There should be another similar line for grep.

But if you log in via a 'dumb' terminal, the colours are not activated.

rattskjelke
February 29th, 2012, 04:26 AM
I don't have a .bashrc for some reason.

rattskjelke
February 29th, 2012, 04:48 AM
I copied the .bashrc file from the live CD. That fixed it.