*BSD News Article 70523


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: X Resolution
Date: Sun, 09 Jun 1996 07:43:54 -0700
Organization: Erols Internet Services
Lines: 17
Message-ID: <31BAE32A.74ED@www.play-hookey.com>
References: <4pde43$3tb@nntp1.best.com>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4 (Win16; I)

Obi-Wan wrote:
> 
> How can you change the resolution and color depth of X?
> I would like it to start up 800x600x32K (or at least 256) instead of
> the default 640x480x256. I'm using the accelerated S3 server
> (Trio64) is there some simple lines I can put in the xinit or in starx
> or even the XF86Config?
> 
First, when you run xf86config, you get a chance to set resolution 
priorities (near the end of the procedure) for each available color 
depth. X will always try to start with the one you list first.

Second, look through XF86Config for the line that sets your initial color 
depth if 256 is not acceptable. Remember it is set by bit count, not by 
color count, so -bpp 8 is 256 colors and -bpp 16 is 64k colors.

Ken