Re: still stuck xf86config

"Chad M. Huneycutt" <[email protected]>
Newsgroups gmane.linux.gentoo.newbies
Message-ID <[email protected]>
On Sun, 6 Oct 2002, Wilson Brown wrote:
> Now,
> Can anyone tell me how to change the screen resolution and color depth for
> kdm or gdm?
> And can anyone tell me a good quick way that I can look up information on my
> own without having to bother someone?
> I've read all of the help and tutorials in gnome and kde that I can find to
> no avail.

Your X server also controls the resolution.  Crack open your
/etc/X11/XF86Config file and take a look at it.  In particular, the
"Screen" section is where you set your color depth and resolutions.
Here is mine:

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 16
        SubSection "Display"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1600x1200 1280x1024 1024x768 800x600 640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
        EndSubSection
EndSection

Note the DefaultDepth option and the selection of modes.  If you don't provide a list of modes, then XFree86 tries to determine the highest your monitor can do and often that is not what you want.  I am not sure what the default depth is, but I always set it.


Chad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.