LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2002, 07:59 AM   #1
frankie_g
LQ Newbie
 
Registered: Apr 2002
Posts: 7

Rep: Reputation: 0
how to suppress colors


I'd like to remove all colors, the default is a lime green when I run ll. I'm using the KDE gui. What file do I need to tweak to suppress colors?
TIA
F.
 
Old 05-15-2002, 08:04 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
What colours??????? come on man, give us some kind of chance to help! erm... fiddle with the controls on your monitor? buy a black and white monitor...
 
Old 05-15-2002, 08:49 AM   #3
frankie_g
LQ Newbie
 
Registered: Apr 2002
Posts: 7

Original Poster
Rep: Reputation: 0
When I run a listing of dirs, the listing comes out lime green, how to I reset this color to black. I don't need a color coded scheme to navigate thru my system, and yikes! lime green as a default color!!! At the console, I can run setterm -background black -foreground white but it is not set permanently and when I run startx those colors are not ported to the kde gui. Am I suppose to tweak a file under /usr/share/terminfo? Any clues!
 
Old 05-15-2002, 09:14 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
ahh ls. right... helpful if you say that to start with... green is always used, and it's handy having the colour coding for files. but run "alias" and you should see an entry for ls = ls -F --color=auto or something, which is usually defined in the /etc/profile.d/ls_color.sh or something like that. removing that alias, or editing it to remove the --color option will stop it being in color by default. you can always edit the /etc/DIR_COLORS file to make single color changes
 
Old 05-15-2002, 10:02 AM   #5
frankie_g
LQ Newbie
 
Registered: Apr 2002
Posts: 7

Original Poster
Rep: Reputation: 0
OK. One more question. To override system settings, I've copied the DIR_COLORS to the user's home dir /.dir_colors and set COLOR none, so to shutoff colorization. I ensured ownership of .dir_colors is correct. How come I'm still seeing colors?
 
Old 05-15-2002, 10:07 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
maybe that alias is still there, i think there are defaults it will still use, i'm not sure. try just running it directly (/bin/ls) so the alias won't kick in
 
Old 05-15-2002, 11:52 AM   #7
frankie_g
LQ Newbie
 
Registered: Apr 2002
Posts: 7

Original Poster
Rep: Reputation: 0
yep, you're right, the alias is still there. So I added an alias in the user's bashrc. OK thanks much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can U suppress X Windows on Load? goodboy Linux - Software 7 04-20-2005 11:04 PM
How to suppress X Windows display? lnxdmnd Linux - Software 2 04-11-2005 02:44 AM
please always suppress smilies within [code] Samsara LQ Suggestions & Feedback 4 01-25-2005 09:18 AM
suppress warning messages h/w Programming 2 10-07-2003 03:56 PM
Suppress Iptables' Output mrsolo Linux - Software 1 05-05-2003 09:45 PM


All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration