Suppressing automatic modes
kacperw at online.no
Wed Aug 30 19:09:11 PDT 2006
On 8/30/06, Perry Hutchison <perryh at pluto.rain.com> wrote:
> Is there a way, short of rebuilding and/or hacking source, to turn
> off some (or all) of the automatically-calculated resolutions, and
> have the server use *only* those modelines explicitly provided
> in xorg.conf? It looks as if an explicit modeline overrides any
> automatic modes of the same name (resolution), but I have not yet
> found a way to get rid of a resolution which I don't want to use
> at all.
[snip highest mode is default mode]
Sounds like you've been trying to solve the wrong problem - you
probably don't need any modelines. What you need is a "Modes" stanza
in your Screen section stating the order in which you would like
resolutions to be considered, as below:
Modes "1024x768" "800x600"
Where the modes are read in order of precedence from left to right,
and in the example above, "1024x768" would be the default resolution
for the default depth of 24bpp.
More information about the xorg