# This file is based on an xorg.conf found at # with # modifications from the old XF86Config-4. (Probably copying # XF86Config-4 to xorg.conf would have worked, but that was not clear # when I created this.) Section "ServerLayout" Identifier "old layout" Option "Xinerama" "off" Option "Clone" "off" Screen 0 "main" 0 0 # Screen 1 "right" RightOf "main" Screen 1 "right" Relative "main" 1024 168 # InputDevice "USB Mouse" "CorePointer" # InputDevice "GlidePoint" "SendCoreEvents" # InputDevice "WheelMouse" "SendCoreEvents" # InputDevice "Serial Mouse" "SendCoreEvents" InputDevice "Mouse0" "CorePointer" # Mysteriously, despite not being mentioned here, the touchpad seems # to work fine. InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "xinerama" Option "Xinerama" "off" Option "Clone" "off" Screen 0 "main" LeftOf "right" Screen 1 "right" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection #Section "ServerLayout" # Identifier "accelerated" # Screen "main" # InputDevice "Mouse0" "CorePointer" # InputDevice "Keyboard0" "CoreKeyboard" #EndSection Section "ServerLayout" Identifier "accelerated2" Option "Xinerama" "off" Option "Clone" "off" Screen 0 "main" LeftOf "right" Screen 1 "right" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "accelerated" Option "Xinerama" "off" Option "Clone" "off" Screen 0 "Screen Merged" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection # ********************************************************************** # Server flags section. This contains various server-wide Options. # ********************************************************************** Section "ServerFlags" Option "DefaultServerLayout" "old layout" # Option "DefaultServerLayout" "accelerated" # Make sure these aren't set: Option "DontVTSwitch" "off" Option "DontZap" "off" Option "DontZoom" "off" # Enable Ctrl+Alt+Keypad-Divide to deactivate grabs Option "AllowDeactivateGrabs" "on" # Enable Ctrl+Alt+Keypad-Multiply to kill whatever programs have grabs Option "AllowClosedownGrabs" "on" # Always pay attention to special keys Option "HandleSpecialKeys" "Always" EndSection Section "Extensions" Option "Composite" "Enable" EndSection Section "Files" FontPath "/usr/share/fonts/ttf-bitstream-vera" FontPath "/usr/share/fonts/local/" FontPath "/usr/share/fonts/truetype/" FontPath "/usr/share/fonts/misc/" # FontPath "/usr/share/fonts/75dpi/:unscaled" FontPath "/usr/share/fonts/100dpi/:unscaled" FontPath "/usr/share/fonts/Type1/" # FontPath "/usr/share/fonts/CID/" FontPath "/usr/share/fonts/Speedo/" EndSection Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "glx" Load "record" Load "freetype" Load "type1" Load "dri" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" # Option "XkbLayout" "us_intl" Option "XkbLayout" "us" EndSection #Section "InputDevice" # # Identifier "Keyboard0" # Driver "kbd" # # Option "AutoRepeat" "500 30" # # Option "XkbModel" "pc105" # Option "XkbLayout" "gb" # #EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "ViewSonic G90f" # HorizSync is in kHz unless units are specified. # HorizSync may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS. HorizSync 30-97 # HorizSync 30-64 # multisync # HorizSync 31.5, 35.2 # multiple fixed sync frequencies # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies # VertRefresh is in Hz unless units are specified. # VertRefresh may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS. VertRefresh 50-180 Modeline "1600x1200X" 202.50 1600 1660 1852 2140 1200 1201 1204 1238 +hsync +vsync Modeline "1024x768A" 94.50 1024 1064 1168 1336 768 771 775 813 -hsync +vsync EndSection Section "Monitor" Identifier "Samtron" VendorName "Samtron" ModelName "SC 428-TX+" # HorizSync 31.5, 35.2, 35.5, 37.8, 48 HorizSync 31.5-48 # VertRefresh 56, 60, 70, 43.5, 72 VertRefresh 56-72 # says, # for the SC 428-TX: # HorizSync 32-48 # VertRefresh 50-90 # and # says, for the SC 428-TXL+: # HorizSync 31.5-48 # VertRefresh 50-90 # However, attempts to use these result in blank screens at 1152x768. # Both pages also mention a maximum resolution of 1024x768, which # suggests that the vertical refresh is actually too large. Mode "640x480" DotClock 25.175 HTimings 640 664 760 800 VTimings 480 491 493 525 EndMode # Mode "1064x759" # DotClock 65.028 # Htimings 1064 1096 1328 1360 # Vtimings 759 762 768 797 # EndMode # Mode "1064x650" # DotClock 65.028 # Htimings 1064 1120 1352 1360 # Vtimings 650 653 659 683 # EndMode Modeline "800x600V" 36 800 824 896 1024 600 601 603 625 Modeline "1024x768T" 62.00 1024 1064 1240 1320 768 774 776 808 EndSection Section "Device" Identifier "G450 primary" Driver "mga" BoardName "Unknown" BusID "PCI:1:0:0" Option "AGPMode" "4" Option "HWCursor" "no" Option "XAANoOffscreenPixmaps" "true" EndSection Section "Device" Identifier "G450 secondary" Driver "mga" BoardName "Unknown" BusID "PCI:1:0:0" Screen 1 Option "HWCursor" "no" Option "XAANoOffscreenPixmaps" "true" EndSection Section "Screen" Identifier "main" Device "G450 primary" Monitor "ViewSonic G90f" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1024x768A" EndSubSection EndSection Section "Screen" Identifier "right" Device "G450 secondary" Monitor "Samtron" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "800x600V" EndSubSection EndSection #Section "ServerFlags" # Option "Xinerama" "off" #EndSection #Section "Device" # Identifier "Matrox" # Driver "mga" # BusID "PCI:1:0:0" #check this with lspci #EndSection Section "Screen" Identifier "Screen Merged" Device "G450 primary" Monitor "ViewSonic G90f" Option "MergedFB" "on" Option "Monitor2Position" "RightOf" #Position of the second Monitor Option "MetaModes" "1024x768-800x600V" # add the second Monitor data here Option "Monitor2HSync" "31.5-48" Option "Monitor2VRefresh" "56-72" DefaultDepth 24 SubSection "Display" Virtual 1824 768 Depth 24 Modes "1024x768" EndSubSection EndSection Section "DRI" Group 0 Mode 0666 EndSection