LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-05-2003, 04:03 PM   #1
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Rep: Reputation: 30
Change font color xterm


Hello There:
Is there a way to set xterm with a white background and black only text, I know that with the -bg command I set up the background color, but when I run a the man command it displays the manual in different colors, how can I set it to display black font for default?
Thanks
 
Old 10-05-2003, 04:10 PM   #2
Raspis21
Member
 
Registered: Jun 2003
Posts: 33

Rep: Reputation: 15
Hi,

Sure you can, when you open xterm, or your script does, make sure it has the -foreground switch....ie xterm -foreground black (or red, green, etc)
-fg is simpler I guess

If I want to change the colors, I make an alias in my bash profile.

alias xterm='xterm -fg black'

or any other switched you want, the file to do it is ~/.bashrc

Enjoy!

*oops edit* you wanted black only, my mistake

Last edited by Raspis21; 10-05-2003 at 04:18 PM.
 
Old 10-05-2003, 05:05 PM   #3
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Original Poster
Rep: Reputation: 30
I tried that, but I still get the man pages in different colors, I need them to be always black, (I am colorblind), so I need withe background and black fonts for everything.
Thanks
 
Old 01-04-2012, 04:48 PM   #4
TeddyB34R
LQ Newbie
 
Registered: Jan 2012
Posts: 1
Blog Entries: 2

Rep: Reputation: Disabled
Smile How to do it

I guess this is coming in a little late

however, if you havent got it yet, there is an easy way to do it:

Go into your terminal and type in the following:
:cd
:ls -a
:emacs .Xdefaults
XTerm*background: black
XTerm*foreground: white

Save with control x s

When you open a new terminal the changes should be made
 
  


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
How to change background and fonts color in xterm? macondo Debian 13 08-28-2014 01:10 PM
How do I change the background color of xterm permanently? vxc69 Linux - Software 7 11-19-2004 02:27 PM
Xterm font color aeruzcar Linux - Software 7 10-11-2003 10:15 PM
xterm font change asc3ndant Linux - General 0 06-23-2003 07:47 PM
change font color...no NOT in X centr0 Slackware 4 05-01-2003 03:29 AM


All times are GMT -5. The time now is 01:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration