How to change light green text color to dark green of xterm ?
SlackwareThis Forum is for the discussion of Slackware 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 light green text color to dark green of xterm ?
How to change light green text color to dark green of xterm ?
The xterm background is white.
Light green texts are not good for white background.
I don't want to change the xterm background.
You can either change ls's behavior, or you can
change xterm's behavior.
The colors that ls is using are from the xterm
resource settings color0, color1, color2, ...
Those resource settings are described in xterm's manpage.
Those are normally set in the app-defaults resource
file (on my machine that is in /etc/X11/app-defaults/XTerm),
but it can be overridden.
For instance, you could have your own app-defaults file
(to extend the system's app-defaults file), or you could
start xterm setting a color resource explicitly, e.g.,
xterm -xrm '*vt100.color9: limegreen'
The limegreen happens to be one of the names defined in
X's rbg.txt file. On my machine, that's /etc/X11/rgb.txt
You can also specify exact colors (more detailed...).
xterm (unlike the programs which claim to emulate it)
also can be programmed to change these colors at runtime.
The "xtermcontrol" program knows how to do this, for example.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.