I can't figure out how to disable the colors in the terminal(just the default, gnu it's called?). Been looking for an hour and ran some code that I saw else where. Also tried emacs ~/.bashrc and added a line that was supposed to disable the color, it worked once then I closed the terminal, ls again, and the colors were back. Any help is great!
In your
.bashrc
file, you'll find linesPut a
#
comment sign in front offorce_color_prompt=yes
line and restart terminal. After the change, the line should beEdit: This will turn of the color from terminal. But if some programs has color support built-in in them and if you want to turn them off too, follow @Zanna's answer. Basically you need to comment out the lines like
alias ls='ls --color=auto'
etc.If you have set a coloured prompt see @Anwar's answer
The colours from the output of commands such as
ls
are made by aliases.To disable this, find and comment out (by inserting # at the start of the line) these lines in your
~/.bashrc
when done,
source ~/.bashrc
to get the immediate effect or just close the terminal and open a new oneA simple, elegant solution.
No code needed for "GNOME terminal": just follow these steps:
gnome-terminal
.#EEEEEC
or the rightmost color you have set.#300A24
(default GTK theme background color) or the one your theme has. If you have disabled the system theme, set them to the "Background colour" instead.Now you are almost done, but I recommend you to do these steps:
<PROFILE> (monochrome)
, replacing<PROFILE>
with your old profile name.Regardless of the above steps, you also need to follow these in order to successfully create your new profile:
gnome-terminal
.Setting terminal features (like colors) via the TERM variable works for me: