How to get a Thinkpad t60p to run with dual head on Linux

I’ve finally managed to get my Ubuntu Dabber Linux up and running with dual head in X. The problem with Thinkpad t60p is the ATI card. It demands a properitary driver from ATI to work, and also a great deal of work in xorg.conf. I’ve tried a great deal of different approaches, but the one discribed here should be the easiest.

1) Download the Linux driver from https://support.ati.com/ics/support/KBAnswer.asp?questionID=3380

2) Install the driver by executing ati-driver-installer-8.27.10-x86.run (or whatever your download is called).

3) You can know choose to run aticonfig –initial=dual-head, or look into my xord.conf. What ever you do make sure to install Xinerama and include it in your xord.conf

Section “ServerFlags”
option “Xinerama” “true”
EndSection

Here is my xorg.conf

Section “ServerLayout”
Identifier “Default Layout”
screen 0 “LaptopScreen” 0 0
screen 1 “DeskScreen” rightof “LaptopScreen”
InputDevice “Generic Keyboard”
InputDevice “Configured Mouse”
InputDevice “stylus” “SendCoreEvents”
InputDevice “cursor” “SendCoreEvents”
InputDevice “eraser” “SendCoreEvents”
InputDevice “Synaptics Touchpad”
EndSection

Section “Files”
# path to defoma fonts
FontPath “/usr/share/X11/fonts/misc”
FontPath “/usr/share/X11/fonts/cyrillic”
FontPath “/usr/share/X11/fonts/100dpi/:unscaled”
FontPath “/usr/share/X11/fonts/75dpi/:unscaled”
FontPath “/usr/share/X11/fonts/Type1”
FontPath “/usr/share/X11/fonts/100dpi”
FontPath “/usr/share/X11/fonts/75dpi”
FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
EndSection

Section “Module”
Load “i2c”
Load “bitmap”
Load “ddc”
Load “extmod”
Load “freetype”
Load “int10”
Load “type1”
Load “vbe”
load “glx”
load “dbe”
load “v4l”
EndSection

Section “InputDevice”
Identifier “Generic Keyboard”
Driver “kbd”
option “CoreKeyboard”
option “XkbRules” “xorg”
option “XkbModel” “pc105”
option “XkbLayout” “no”
EndSection

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
option “CorePointer”
option “Device” “/dev/input/mice”
option “Protocol” “ExplorerPS/2”
option “ZAxisMapping” “4 5”
option “Emulate3Buttons” “true”
EndSection

Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
option “SendCoreEvents” “true”
option “Device” “/dev/psaux”
option “Protocol” “auto-dev”
option “HorizScrollDelta” “0”
EndSection

Section “InputDevice”
# /dev/input/event
# for USB
Identifier “stylus”
Driver “wacom”
option “Device” “/dev/wacom”
option “Type” “stylus”
option “ForceDevice” “ISDV4”
EndSection

Section “InputDevice”
# /dev/input/event
# for USB
Identifier “eraser”
Driver “wacom”
option “Device” “/dev/wacom”
option “Type” “eraser”
option “ForceDevice” “ISDV4”
EndSection

Section “InputDevice”
# /dev/input/event
# for USB
Identifier “cursor”
Driver “wacom”
option “Device” “/dev/wacom”
option “Type” “cursor”
option “ForceDevice” “ISDV4”
EndSection

Section “Monitor”
identifier “LaptopMonitor”
vendorname “Plug ‘n’ Play”
modelname “Plug ‘n’ Play”
modeline “1600×1200@60” 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
gamma 1.0
EndSection

Section “Monitor”
identifier “DeskMonitor”
vendorname “Plug ‘n’ Play”
modelname “Plug ‘n’ Play”
modeline “1600×1200@60” 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
gamma 1.0
EndSection

Section “Device”
identifier “ATICard”
boardname “ati”
busid “PCI:1:0:0”
driver “fglrx”
screen 0
EndSection

Section “Device”
identifier “ATICard(2)”
boardname “ati”
busid “PCI:1:0:0”
driver “fglrx”
screen 1
EndSection

Section “Screen”
Identifier “LaptopScreen”
Device “ATICard”
Monitor “LaptopMonitor”
DefaultDepth 24
SubSection “Display”
depth 24
virtual 1600 1200
modes “1600×1200@60”
EndSubSection
EndSection

Section “Screen”
Identifier “DeskScreen”
Device “ATICard(2)”
Monitor “DeskMonitor”
DefaultDepth 24
SubSection “Display”
depth 24
modes “1600×1200@60”
EndSubSection
EndSection

Section “DRI”
Mode 0666
EndSection

Section “ServerFlags”
option “Xinerama” “true”
EndSection