GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
I use the CYGWIN X xterm from my windows machine.
I can log into my linux box from this terminal and open up tmux just fine.
However the terminal just shows up as white – I need something black and green.
Black background, green letters, or white letters.
I need to change the white background on the terminal to black
Most X applications allow you to set -bg (background color) and -fg (foreground/text) color along with many other options.
You can launch an xterm window:
xterm -bg black -fg green
If you type "man xterm" you'll see most of the common options in the manual page for xterm. If you type "man X" you can usually get a man page with general X options that are applicable to most X applications.
So in windows, I open up the xterm from the program menu, under CYGWIN X. So I was thinking that there must be a config file somewhere, or a command that I could execute from the terms own command line to change the background color
so I added thsi to the C:\rhcygwin\home\waljoh\.bashrc file and the xterm has changed color - but not to backgound black, letters white(or green would be ok)
Find the Icon you're using to start the Xterm.
Right click on it and select Properties.
Add the options -bg black and -fg green to the command line it runs.
e.g. for my Xwin on Windows XP my Xwin is tarted with:
Okay, X is too much. I don't need the overhead. Can I just run an X-like terminal window, but not X itself?
It turns out that this too is possible :-)
If you've installed the rxvt package, you can run it from Windows without having a full X-server running, as long as you don't have a DISPLAY variable set in your environment.
Suggested procedure:
Create an ~/.Xresources file like this:
! rxvt.font: -*-lucidatypewriter-medium-*-*-*-14-*-*-*-*-*-*-*
! or...
rxvt.font: Lucida Console-14
rxvt.boldFont: Lucida Console-14
rxvt.scrollBar: True
rxvt.visualBell: True
rxvt.loginShell: True
rxvt.background: Black
rxvt.foreground: White
rxvt.saveLines: 3000
rxvt.cursorColor: Green
rxvt.scrollBar_right: True
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.