Everyone knows that it’s a good idea to backup your data before doing a major upgrade, but what about your config files? Those are important too, trust me
I’m about to upgrade to the latest Ubuntu distribution, (904) and thought I would post my dual monitor configuration file just in case I have to recreate it.
To edit your monitor configuration file, type the following command:
sudo gedit /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@crested) Mon Nov 3 08:46:04 UTC 2008# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type “man xorg.conf” at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorgSection “ServerLayout”
Identifier “Layout0″
Screen 0 “Screen0″ 0 0
EndSectionSection “Module”
Load “glx”
EndSectionSection “ServerFlags”
Option “Xinerama” “0″
EndSectionSection “Monitor”
Identifier “Configured Monitor”
EndSectionSection “Monitor”
Identifier “Monitor0″
VendorName “Unknown”
ModelName “Acer AL2223W”
HorizSync 31.0 – 81.0
VertRefresh 56.0 – 75.0
EndSectionSection “Monitor”
Identifier “Monitor1″
VendorName “Unknown”
ModelName “Acer AL2223W”
HorizSync 0.0 – 0.0
VertRefresh 0.0
EndSectionSection “Device”
Identifier “Configured Video Device”
Driver “nvidia”
Option “NoLogo” “True”
EndSectionSection “Device”
Identifier “Device0″
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “GeForce 9600 GT”
EndSectionSection “Device”
Identifier “Device1″
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “GeForce 9600 GT”
BusID “PCI:2:0:0″
Screen 1
EndSectionSection “Screen”
Identifier “Default Screen”
Device “Configured Video Device”
Monitor “Configured Monitor”
DefaultDepth 24
Option “RenderAccel” “true”
EndSectionSection “Screen”
# Removed Option “metamodes” “DFP-0: nvidia-auto-select +0+0″
Identifier “Screen0″
Device “Device0″
Monitor “Monitor0″
DefaultDepth 24
Option “Xinerama” “0″
Option “TwinView” “1″
Option “TwinViewXineramaInfoOrder” “DFP-0″
Option “metamodes” “DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1680+0″
SubSection “Display”
Depth 24
EndSubSection
EndSectionSection “Screen”
Identifier “Screen1″
Device “Device1″
Monitor “Monitor1″
DefaultDepth 24
Option “Xinerama” “0″
Option “metamodes” “DFP-1: nvidia-auto-select +0+0″
SubSection “Display”
Depth 24
EndSubSection
EndSection
0 Responses to “Ubuntu dual monitors with compiz and Nvidia 9600”