Click to See Complete Forum and Search --> : DEFAULT res. in X


eXtremist
03-12-2001, 09:48 AM
Here's something with RH7 that is different from RH6.2

When I installed RH62, I configured X for 3 resolutions: 1024, 800, and 640. It defaulted to 1024, and I could switch to the other resolutions as needed. This was ideal!

Now, I installed RH7, and again chose the same 3 resolutions, but this time it defaulted to 640.. BLAGH! I can switch to the higher resolutions, but I'd rather it default to 1024. I checked the X configuration file, but could not find any default resolution entries (although I did find a default bit depth entry). Can anyone tell me how to make 1024 the default while still having 800 and 640 available?

Mountainman
03-12-2001, 09:54 AM
You should be able to set it at a default resolution by running xf86config. This will setup your xwindows system again, just put the resolution you want first when it asks about it.

Lorithar
03-12-2001, 10:20 AM
*grins*

Which version of X does 7 come with?
in both 3.3.x and 4.0.x the 'Display' subsection determines which mode it defaults to.


SubSection "Display"
Depth 16
Modes "1280x1024" "800x600" "640x480"
EndSubSection

Since my default colourdepth is 16, I start in 1280x1024. (For the record this if from X4.0.2, in the XF86Config)

The system starts modes from left to right on the above line with shft-cntl-+

in X3,3,6 the line looks similar. SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600"
ViewPort 0 0
Here I use the viewport statement to set the overall screensize .. (preventing the desktop larger than the screen thing from happening.)

eXtremist
03-12-2001, 12:54 PM
ahh. in mine it reads

modes "640x480" "800x600" "1024x768"

so if I change it so 1024 is first, it should work? :)