Customizing Gnome-Terminal Colors

I have selected white-on-black color scheme for Gnome-Terminal. But it keeps using green to display executable files and uses different colored background to display some directories. How can I enforce strict “white-on-black” for all items on the screen?

Answer

To temporary disable colors for ls use

\ls

or use

dir

For a permanent change you have to delete the alias for ls. In my case the alias is defined as

% alias ls
ls='ls --color=tty'

Therefore overwrite the alias in e.g. your .bashrc

alias ls='ls --color=never'

The “sneaky way is 😉

  1. Open gnome-terminal

  2. Edit your profile settings via

    Edit > Profile Preferences

  3. Open the tab Colors

  4. Customize your colors

    enter image description here

Attribution
Source : Link , Question Author : Etienne Kahn , Answer Author : A.B.

Leave a Comment