Saturday, November 29, 2008

Changing Resolution


Edit your /etc/X11/xorg.conf file the first part is the monitor section, make sure you have the right H V set for your monitor. First make a copy of your xorg.conf like so, as root open a terminal and log in as root su then give root passwd. Change into the X11 directory, like so (if you didn't know how) cd /etc/X11/ enter. Then make the copy with the command cp xorg.conf xorg.conf.old enter. That way if you mess things up you will have the original copy saved.


Code:
 Section "Monitor"         Identifier      "Generic Monitor"         Option          "DPMS"         HorizSync       30-83         VertRefresh     56-75 EndSection

The next part to edit is the default modes section, ie if you are using a DefaultDepth 24 edit that section. The xorg.conf is read from left to right, so in this example 1024x768 will be the default setting.


Code:
  SubSection "Display"                 Depth           24                 Modes           "1024x768" "800x600" "640x480"         EndSubSection


--
Regards,                                
Shyju