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!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!imci3!newsfeed.internetmci.com!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet From: Vlad <roubtsov@uiuc.edu> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: X Resolution Date: Sun, 09 Jun 1996 15:40:32 -0500 Organization: Baphomet's Throne Lines: 33 Message-ID: <31BB3659.41C67EA6@uiuc.edu> References: <4pde43$3tb@nntp1.best.com> <31BAE32A.74ED@www.play-hookey.com> NNTP-Posting-Host: mossberg-71.slip.uiuc.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0b4 (X11; I; FreeBSD 2.1.0-RELEASE i386) Ken Bigelow wrote: > > 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 There may be no need to re-run xf86config. Just make sure that in your XF86Config file you have all modes listed in the order you prefer. An extract from my /etc/XF86Config: ... Section "Screen" ... Subsection "Display" ... Depth 8 Modes "800x600" "1024x768" "640x480" ... This makes my Xserver start with 800x600(8bpp) mode initially and it goes thru this list of modes in a circular fashion when I (hardly ever) press <Ctrl><Alt><num.pad +/->. Note that the order of modes has to be set for all visual depths that you plan on using (i.e. in several "Display" subsections in the file). Since the Xserver uses 8bpp depth by default you need to pass it, say, -bpp 16 or whatever besides other arguments. I do it in my startx script. Hope this helps, Vlad.