All pastes #491179 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-16 14:05 UTC
rendered paste body
# /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

Section "ServerFlags"
	# Dual screen (high-resolution on external screen)
	Option	        "DefaultServerLayout"	"Xinerama"
	
	# Cloned Laptop display at 1024x768
	#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 "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	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"
        Option          "SHMConfig"             "on"
EndSection

Section "Modes"
        Identifier  "V75"
        ModeLine "VGA 75"   31.50  640  656  720  840  480  481  484  500 
        ModeLine "SVGA 75"  49.50  800  816  896 1056  600  601  604  625 
        ModeLine "XGA 75"   78.80 1024 1040 1136 1312  768  769  772  800 
        Modeline "SXGA 75" 135.00 1280 1296 1440 1688 1024 1025 1028 1066
EndSection
Section "Modes"
        Identifier  "V60"
        Modeline "XGA 60"   65.00 1024 1048 1184 1344  768  771  777  806 
        ModeLine "SXGA 60" 108.00 1280 1328 1440 1688 1024 1025 1028 1066
        ModeLine "UXGA 60" 160.00 1600 1664 1856 2160 1200 1201 1204 1250 
EndSection

Section "Monitor"
	Identifier	"IBM X60 Monitor"
	Option		"DPMS"
	HorizSync	28-49
	VertRefresh	43-72
EndSection

Section "Monitor"
        Identifier      "CMV 938D"
        Option          "DPMS"
        HorizSync       28-72
        VertRefresh     43-60
        Modeline        "1440x900"  106.50  1440 1520 1672 1904  900 903 909 934 +hsync
EndSection

Section "Monitor"
        Identifier      "LCD on D-SUB15"
        Option          "DPMS"
        HorizSync       31-75
        VertRefresh     59-75
        UseModes        "V60"
        UseModes        "V75"
EndSection


# ########## DEFAULT LAYOUT ############

Section "Device"
	Identifier	"Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	VideoRam	131072
	Option		"UseFBDev"		"true"
        Option          "MonitorLayout"         "CRT,LFP"
        Option          "Clone"                 "true"
#        Option          "XAANoOffscreenPixmaps" "true"
EndSection

Section "Screen"
	Identifier	"Laptop LCD"
	Device		"Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
	Monitor		"IBM X60 Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Laptop LCD"
        InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

# ########## XINERAMA ############

Section "Device"
	Identifier	"Intel 945GM Laptop Screen"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	VideoRam	131072
	Option		"UseFBDev"		"true"
        Screen 0
        Option          "MonitorLayout"     "CRT,LFP"
EndSection

Section "Device"
        Identifier      "Intel 945GM External D-SUB15"
        Driver          "i810"
        BusID           "PCI:0:2:0"
        Screen 1
        Option          "MonitorLayout"     "CRT,LFP"
# some additional possibilities
#       Option  "CheckLid"  "no"
#       Option  "Clone"     "no"
#       Option  "CloneRefresh"  "60"
#       Option  "FlipPrimary"   "no"
#       Option  "DisplayInfo"   "yes"
#       Option  "Rotate"    "CCW"   
EndSection

Section "Screen"
	Identifier	"InternalScreen"
	Device		"Intel 945GM Laptop Screen"
	Monitor		"IBM X60 Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "Screen"
        Identifier  "ExternalScreen"
        Device      "Intel 945GM External D-SUB15"
        Monitor     "CMV 938D"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1440x900"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Xinerama"
        Screen          0 "InternalScreen" Absolute 0 0
        # To move windows across screen we need Xinerama and will have to force
        # the screen reolution if we want more than 1024x768 (XGA)
        Screen          1 "ExternalScreen" RightOf "InternalScreen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
        Option          "Xinerama"  "true"
EndSection

#Section "DRI"
#	Mode	0666
#EndSection

#Section "Extensions"
#        Option         "Composite"   "Enable"
#EndSection