Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!newsflash.concordia.ca!sifon!homer.cs.mcgill.ca!storm From: storm@cs.mcgill.ca (Marc WANDSCHNEIDER) Newsgroups: comp.os.386bsd.questions Subject: Re: Xfree86 window background/foreground color? Date: 28 Oct 1993 19:26:29 GMT Organization: SOCS, McGill University, Montreal, Canada Lines: 38 Message-ID: <2ap6d5$pe5@homer.cs.mcgill.ca> References: <9310282135.AA0042@havoc.ns.doe.gov> NNTP-Posting-Host: mnementh.cs.mcgill.ca In article <9310282135.AA0042@havoc.ns.doe.gov>, James Martin <martinj@havoc.ns.doe.gov> wrote: >OK I know this a is stupid question with a really simple answer, but here goes >anyway... > >How can I change the window foreground and background colors in Xfree86? I know >who to change colors for the wm and all that, just not the base window >color.... "the base window color" If we're talking about the ROOT window in X, then you use xsetroot. Ie, xsetroot -solid pink If you're tlaking about the colors for an xterm, then there are a bazillion ways to do it: I wimp out and take the the easy way: in my twmrc and when I launch them syself, I use the command line args -fg and -bg, ie: xterm -bg gray -fg black & However, you can edit the system wide resources and app-defaults in /usr/X836/lib/X11, and you can also set up a local .XResources file in your home dir. Marc 'em. -- ----------------------------------------------------------------------------- Marc Wandschneider Seattle, WA Barney the Dinosaur sings! You faint... Barney sings! Barney sings! --More-- You Die... --More--