Hi
Your config file will vary depending on distribution. You may have both of these in your distro but only one actually does anything. If you cahnged XF86Config and it didn't help, see if you have XF86Config-4 and change it as well.
If you are running Mandrake its /etc/X11/XF86Config-4
If you are running Slackware its /etc/X11/XF86Config
try both and see where your's is
OK, that out of the way...
I use VI to edit files like this so I will walk you through it using VI
as root, do the following
vi /etc/X11/XF86Config
now look for the section dealing with screens
should look something like this:
Code:
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"
# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32
Subsection "Display"
Depth 8
Modes "1280x1024/100Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024/100Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024/100Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x1024/100Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection
If you notice, you will see that my default depth is 24 so if we go to the line that shows Depth 24 we see all of the modes listed.
Your screen will default to the highest value so delete the "1600x1400" and make your desired resolution the highest one represented.
save it and start x.
another possibility is to change the following line if you see it in the monitor section of your XF86Config file:
Code:
ModeLine "1280x1024/100Hz" 181.75 1280 1312 1440 1696 1024 1031 1046 1072 -HSync -VSync
if you see the line above in your monitor section it is probably set to 1600x1400 instead. try changing that line or delete it and follow the first set of instructions above.
If you are unfamiliar with how to use vi here are some basic commands
type i or hit the insert key once to insert text
type r or hit hit the insert key twice to write over text
type esc (actually hit the key, don't type it) to stop inserting text
after hitting esc type :wq! to save changes and exit or :q! to exit without saving