In terminal, the usual prompt text user@machine
isn't green/blue as usual. Instead is is just white like the rest of the text. If I ssh into my server however, the colours are the same. Perhaps I've accidentally hit a button?
The settings in Edit → Profile Preferences → Colors look fine. The selected palette shown there is Linux Console.
I've tried using apt remove gnome-terminal && apt install gnome-terminal
but that still hasn't worked. I've also tried using the MATE Terminal method and using UXTerm but both of which are doing the same issue.
Best Answer
I ran into this issue when I accidentally deleted my
~/.bashrc
file. Changing the Profile Preferences as stated in a comment above did not work. Since I completely lost my~/.bashrc
file, I simply copied/etc/skel/.bashrc
to~/.bashrc
. After a logout and login, my terminal colors were back to normal.One could also look at
/etc/skel/.bashrc
to see if anything related to color is missing from their~/.bashrc
file.This may not be the solution to OP's exact problem but I hope it helps somebody.