How to Set the Background Color in Cygwin XWin
by Dave WilsonStart the XWin program by appending the “bg” switch to the “startxwin” command and apply a background color other than the XWin default. The XWin GUI or Graphical User Interface program shares features and command line switches that are supported by the XTerm GUI program. Cygwin users that run XWin can modify the XWin appearance without editing configuration files. Change the XWin background color by adding a startup command switch.
Click the Windows “Start” button, then “Programs.” Click “Cygwin” and then “Cygwin Bash Shell.” The Cygwin command line window appears.
Type “startxwin –bg blue” on the command line and tap “Enter.” XWin will start with a blue background.
Click the “X” in the upper right corner of the XWin window. Type “startxwin –bg yellow” at the command prompt and press “Enter.” Note the XWin background color is yellow.
Repeat the previous step and change the color specified after the “-bg” command line switch to modify the XWin background color.
Items you will need
References
- link Cygwin: Startxwin
- link Cygwin: XWin
- link Cygwin: Using Cygwin/X
Photo Credits
- photo_camera BananaStock/BananaStock/Getty Images