How can I reset gnome-terminal color scheme? My terminal not showing color difference when I use ls
command. All files and directories shown in white. It's difficult to see which one is directory and which one is file. I don't know what exactly cause this problem. The problem comes from my linux installation before. For details what I have done that causes this problem is:
- I install arch linux system.
- I delete home partition and create a new one. There, gnome-terminal color scheme is not working for the first time.
- I install Ubuntu with that arch home partition that I used before without formatting it. I think the settings carried on.
- Then gnome-terminal color scheme have the same problem from the previous arch system.
How can I fix this?
Best Answer
When you deleted your home partition, you may have removed the alias for
ls
that's configured by default, and which would be in~/.bashrc
. Since you kept the same home directory when installing Ubuntu, this theory explains what you are experiencing.To test whether this is the case, use
If this works correctly, you need to restore the default aliases and some other things, for this I suggest you just copy
/etc/skel/.bashrc
into your home directory (be careful if you've customized the.bashrc
in your home dir).This also depends on the
coreutils
package (for thedircolors
utility), but that's installed in every ubuntu system so I'm pretty sure you're not missing that package.