Stop "colorizing" of command output

When I do for example ls in my mate terminal, it colorizes the files based on type.

How can I stop that?

If you just want to disable the coloured output of the ls command you have to comment out the follwing line in your .bashrc file.

~/.bashrc

75  # enable color support of ls and also add handy aliases
76  if [ -x /usr/bin/dircolors ]; then
77      test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
78     #alias ls='ls --color=auto'
79     #alias dir='dir --color=auto'
80     #alias vdir='vdir --color=auto'
81
82    alias grep='grep --color=auto'
83    alias fgrep='fgrep --color=auto'
84    alias egrep='egrep --color=auto'
85  fi

Line number 78.

Mickey :relaxed:

Thanks. I am going to comment out that whole section.

I thought I had stopped all of the “colorizing”, but it occured when I ran

  cvlc -help

Does vlc have some built in function that colorizes output?

If you're looking to prevent colours in the terminal completely, consider changing the profile settings in Edit (menu bar) --> Profile Preferences:

From there you can pick a colour and drag it across to the other colours.

2 Likes

I can not find Profile settings?

Mickey :relaxed:

There was an unanticipated consequence of doing that.

Things like htop that rely on colors, did not show everything on screen.

I reverted back to xterm built in scheme. :slight_smile: