# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/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. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg # This is the xorg.conf (xfree86.conf?) for my Thinkpad T60 (fitted with an # Intel 945GM/PM/GMS/940GML and 945GT [8086:27a2]+[8086:27a6]) [probably similar to Thinkpad T60p,R60,R60e,X41 ]. # I use it on Debian Etch, but it should be similar on Ubuntu Section "ServerFlags" # Dual screen (high-res on external screen) #Option "DefaultServerLayout" "Xinerama" # Vesa ... compatible anything ;) just in case. #Option "DefaultServerLayout" "Vesa Layout" # Xen (high resolution on CRT. Not dual screen, no i915 patching) #Option "DefaultServerLayout" "CRT Only Layout" #Cloned display on both LCD and CRT (at 1024x768). #(It's the only mode where you can disconnect you external screen). Option "DefaultServerLayout" "Default Layout" EndSection Section "Files" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "vbe" EndSection Section "Extensions" #FP add #Option "Composite" "Enable" #FP "composite" seems to disable GLX by default (avoid bugs) ## in "Device" section, use: Option "AllowGLXWithComposite" "true" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "fr" Option "XkbVariant" "latin9" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" #FP add: Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" #FP enable this to let Fn-F8 work Option "SHMConfig" "on" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" EndSection Section "Monitor" Identifier "2405FPW" DisplaySize 519 324 HorizSync 30-81 VertRefresh 56-76 Option "DPMS" # Modeline "1920x1200v1" 87.66 1920 1952 2280 2312 1200 1227 1233 1261 interlace # Modeline "1920x1200v2" 154 1920 1968 2000 2080 1200 1203 1209 1235 Modeline "1920x1200v2" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -HSync +Vsync EndSection # ############ VESA LAYOUT ################ Section "Device" Identifier "Vesa compatible Controller" Driver "vesa" # BusID "PCI:0:2:0" #FP add (as the name implies... clone CRT screen on LCD) # Option "MonitorLayout" "CRT,LFP" # Option "Clone" "true" EndSection Section "Screen" Identifier "Vesa Screen" Device "Vesa compatible Controller" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection Section "ServerLayout" Identifier "Vesa Layout" Screen "Vesa Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad" EndSection # ############ DEFAULT LAYOUT ################ Section "Device" Identifier "Intel 945 Graphics Controller" Driver "i810" BusID "PCI:0:2:0" #FP add (as the name implies... clone CRT screen on LCD) Option "MonitorLayout" "CRT,LFP" Option "Clone" "true" #If using composite, try using this too #Option "AllowGLXWithComposite" "true" EndSection Section "Screen" Identifier "Default Screen" Device "Intel 945 Graphics Controller" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 16 Modes "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad" EndSection # ############ CRT LAYOUT ################ Section "Device" Identifier "Intel 945 Graphics Controller -CRT Only" Driver "i810" # BusID "PCI:0:2:0" #FP add (as the name implies... clone CRT screen on LCD) Option "MonitorLayout" "CRT,NONE" # Option "Clone" "true" EndSection Section "Screen" Identifier "Default Screen -CRT Only" Device "Intel 945 Graphics Controller -CRT Only" Monitor "2405FPW" #Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1920x1200v1" "1920x1200v2" "1920x1200" "1600x1200" "1280x1024" "1024x768" EndSubSection EndSection Section "ServerLayout" Identifier "CRT Only Layout" Screen "Default Screen -CRT Only" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad" EndSection # ################# XINERAMA ##################### Section "Device" Identifier "Intel 945 Graphics Controller Screen0" Driver "i810" BusID "PCI:0:2:0" Option "MonitorLayout" "CRT,LFP" Screen 0 EndSection Section "Device" Identifier "Intel 945 Graphics Controller Screen1" Driver "i810" BusID "PCI:0:2:0" Screen 1 EndSection Section "Screen" Identifier "InternalScreen14" Device "Intel 945 Graphics Controller Screen0" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection Section "Screen" Identifier "ExternalScreen24" Device "Intel 945 Graphics Controller Screen1" Monitor "2405FPW" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1920x1200" "1280x1024" "1024x768" EndSubSection EndSection Section "ServerLayout" Identifier "Xinerama" Screen 0 "InternalScreen14" 0 0 Screen 1 "ExternalScreen24" RightOf "InternalScreen14" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad" Option "Xinerama" "true" EndSection # ################ MISC ################" Section "DRI" Mode 0666 EndSection