It works well in most cases, but sometimes, you'll want to set X to start in a resolution YOU choose.
Of course, the first thing you do is to tweak your xorg.conf as you did it for about x years now and happily press [CTRL][ALT][<--] and ..? wtf o_O the resolution has not changed.
After having checked twice your xorg.conf, you're still stucked in that resolution and your desktop is unusable due to all icons in your gnome-panel that are not visible anymore...
So, how to modify xorg.conf to your needs? Here is it!
Say you want a resolution set to 1600x1200 at 75Hz, you use gtf tool to output a Modeline that'll be used in xorg later:
Code: Select all
$ gtf 1600 1200 75
# 1600x1200 @ 75.00 Hz (GTF) hsync: 93.97 kHz; pclk: 205.99 MHz
Modeline "1600x1200_75.00" 205.99 1600 1720 1896 2192 1200 1201 1204 1253 -HSync +Vsync
Code: Select all
Section "Monitor"
Identifier "Configured Monitor"
Modeline "1600x1200_75.00" 205.99 1600 1720 1896 2192 1200 1201 1204 1253 -HSync +Vsync
Option "PreferredMode" "1600x1200_75.00"
EndSection
Code: Select all
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200_75.00"
EndSubSection
EndSection
... And that's all? I hope so, let's save this file and restart your X server.
Thanks to Bogart from ArchLinux forums for the tip : http://bbs.archlinux.org/viewtopic.php? ... 48#p255048