How to change background and fonts color in xterm?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to change background and fonts color in xterm?
Hi guys: i did a dist-upgrade and was fine, except, my xterm is in white with black fonts. I googled, and edited /etc/X11/apps-defaults/XTerm-color but nada!
I want my background black with white fonts.
Any ideas?
thank you!
mac
Click here to see the post LQ members have rated as the most helpful post in this thread.
To change the color permanently in the RHL default terminal you have to change the Terminals default profile. In the menu choose >>
edit->Profiles
Mark the profile named 'default' by clicking on it. In the menu choose>>
edit.
A window will pop up an in the top you will see 'colors', select that. Uncheck box 'Use colors from system theme', and then you will be able to select 'White on Black' or anything else as you please.
On run level 2 and 3 you already have a command line. These run levels are for that purpose. Why do you need a terminal emulator when you already are working on command line.
This topic is the first Google result for "xterm black background", so sorry for the necro, but the question is IMO not clearly answered and contains several totally irrelevant replies.
If you want your XTerm color to be white font on black background, then create or edit a file named .Xdefaults in your home directory, and place the following in it:
Code:
XTerm*Background: black
XTerm*Foreground: white
Then restart xterm.
You can of course switch the colors if you want black on white.
This topic is the first Google result for "xterm black background", so sorry for the necro, but the question is IMO not clearly answered and contains several totally irrelevant replies.
If you want your XTerm color to be white font on black background, then create or edit a file named .Xdefaults in your home directory, and place the following in it:
Code:
XTerm*Background: black
XTerm*Foreground: white
Then restart xterm.
You can of course switch the colors if you want black on white.
This topic is the first Google result for "xterm black background", so sorry for the necro, but the question is IMO not clearly answered and contains several totally irrelevant replies.
If you want your XTerm color to be white font on black background, then create or edit a file named .Xdefaults in your home directory, and place the following in it:
Code:
XTerm*Background: black
XTerm*Foreground: white
Then restart xterm.
You can of course switch the colors if you want black on white.
This is exactly right, too many people are responding with irrelevant replies, please people read the | o )amn topic before posting messages!!
This topic is the first Google result for "xterm black background", so sorry for the necro, but the question is IMO not clearly answered and contains several totally irrelevant replies.
If you want your XTerm color to be white font on black background, then create or edit a file named .Xdefaults in your home directory, and place the following in it:
Code:
XTerm*Background: black
XTerm*Foreground: white
Then restart xterm.
You can of course switch the colors if you want black on white.
There is also a parameter 'reverseVideo', which can be 'true' or 'false'. If it is true, like:
This topic is the first Google result for "xterm black background", so sorry for the necro, but the question is IMO not clearly answered and contains several totally irrelevant replies.
If you want your XTerm color to be white font on black background, then create or edit a file named .Xdefaults in your home directory, and place the following in it:
Code:
XTerm*Background: black
XTerm*Foreground: white
Then restart xterm.
You can of course switch the colors if you want black on white.
Further moreYou can pick any color for background and foreground using Alu's method and changing the colors to one's you want.
For example:
Code:
XTerm*Background: dark slate gray
XTerm*Foreground: antique white
Is it possible to modify the background color of a running xterm ?
I like to use xterm because they are light shell windows and don't use so much ressources the Gnome-terminal or KDE Konsole but when you have a grat number of them with a ssh shell on different servers in each they are difficult to reconize with only a name.
I thinck it would be a good way to reconize process running in each xterm if it would modify the background color of it, is it possible to do so ?
I mean, in Gnome-Terminal or Konsole, it's easy to modify the background of a running terminal by modifying its profile using the terminal menu, with xterm there is not such a ressource, you can activate some ressources by cliking the mouse keys with the Ctrl-key active but nome of these ressources control the background or the foreground color.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.