Kubuntu xorg.conf: 1680x1050 with NVidia FX series on 22" Samsung Syncmaster 2232BW

Setting a 1680x1050 (widescreen) resolution on Linux is for some reason quite difficult.

Maybe not enough Linux users prefer this resolution for it to be as straightforward to set as for instance 1920x1080 (widescreen) or 1280x1024.

But this is the native resolution of 22 inch monitors, such as the SyncMaster 2232BW by Samsung and having one as such becomes quite a painful experience on too many distros.

The following are taken from the xorg.conf that basically guarantees to get this resolution going. It works on various distros, such as OpenSUSE and Kubuntu. The trick was to remove all other resolutions, forcing this one...

It is geared towards proprietary NVidia FX drivers, so if you do not have one, remove the "Module" and "Driver" sections.

Here are the contents of the /etc/X11/xorg.conf file:

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
UseModes "16:10"
HorizSync 30-83
VertRefresh 60

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1680x1050"
SubSection "Display"
Depth 16
Modes "1680x1050"

Section "Modes"
Identifier "16:10"
ModeLine "1680x1050 (GTF)" 147.14 1680 1784 1968 2256 1050 1051 1054 1087

Section "Module"
Load "glx"

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"

Hopefully this will make your life a little bit more productive.

No comments:

Post a Comment