[ create a new paste ] login | about

Link: http://codepad.org/YsDp4Fl4    [ raw code | fork ]

Plain Text, pasted on Jul 9:
# Possible layouts:
#
# TwinViewS205BW (default)
# SingleS205BW
#
# Example (spaces and underscores in names are ignored/irrelevant):
# Use: startx -- -layout SingleS205BW

# The default layout.
Section "ServerFlags"
        Option         "DefaultServerLayout" "TwinViewS205BW"
        Option         "AllowNonLocalXvidtune" "True"
#        Option         "DefaultServerLayout" "SingleS205BW"
EndSection

#============================================================================
# Layouts

#---------------------------------------------------------------------
# A single head display for the Samsung 205BW.

Section "ServerLayout"
        Identifier      "SingleS205BW"
        Screen          "Screen Single S205BW"
        InputDevice     "Generic Keyboard"
        InputDevice     "MX Laser"
EndSection

Section "Screen"
        Identifier      "Screen Single S205BW"
        Device          "nVidia Corporation G94 [GeForce 9600 GT] (rev a1)"
        Monitor         "S205BW"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1680x1050"
        EndSubSection
EndSection

#---------------------------------------------------------------------
# A single head display for the Samsung P2350.

Section "ServerLayout"
        Identifier      "SingleP2350"
        Screen          "Screen Single P2350"
        InputDevice     "Generic Keyboard"
        InputDevice     "MX Laser"
EndSection

Section "Screen"
        Identifier      "Screen Single P2350"
        Device          "nVidia Corporation G94 [GeForce 9600 GT] (rev a1)"
        Monitor         "P2350"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1920x1080"
        EndSubSection
EndSection

#---------------------------------------------------------------------
# The TwinViewS205BW setup with two 20" Samsung 205BW.

Section "ServerLayout"
        Identifier      "TwinViewS205BW"
        Screen          "Screen TwinViewS205BW"
        InputDevice     "Generic Keyboard"
        InputDevice     "MX Laser"
EndSection

Section "Screen"
        Identifier      "Screen TwinViewS205BW"
        Device          "nVidia Corporation G94 [GeForce 9600 GT] (rev a1)"
        Monitor         "S205BW_S205BW_TwinView"
        DefaultDepth    24
EndSection

#---------------------------------------------------------------------
# Dual-head setup for the nv driver.

Section "ServerLayout"
	Identifier	"DualheadS205BW"
	Screen		"Screen0"
	Screen		"Screen1" LeftOf "Screen0"
        InputDevice     "Generic Keyboard"
        InputDevice     "MX Laser"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"OpenSource-0"
	Monitor		"S205BW-0"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1680x1050"
        EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen1"
	Device		"OpenSource-1"
	Monitor		"S205BW-1"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1680x1050"
        EndSubSection
EndSection

#============================================================================
# General configurations

# Paths suitable for debian etch.
Section "Files"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"vbe"
	# Not used with nvidia:
#	Load	"i2c"
#	Load	"dri"
#	Load	"dbe"
#	Load	"int10"
#	Load	"record"
#	Load	"speedo"
#	Load	"type1"
EndSection

# Everyone has this.
Section "DRI"
        Mode    0666
EndSection

# PS/2 keyboard.
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

# The USB mouse and PS/2 mouse (both work at the same time).
#Section "InputDevice"
#	Identifier	"USB Mouse"
#	Driver		"mouse"
#	Option		"CorePointer"
#	Option		"Device"		"/dev/input/mice"
#	#Option		"Protocol"		"ExplorerPS/2"
#	#Option		"Protocol"		"auto-dev"
#EndSection

# Logitech MX1000 Laser mouse.
Section "InputDevice"
	Identifier	"MX Laser"
	Driver		"evdev"
	#Option		"CorePointer"
	Option		"Device"		"/dev/input/event2" # (cat /proc/bus/input/devices)
	Option		"Name"			"Logitech MX1000"
EndSection

#=============================================================================
# Devices

Section "Device"
        Identifier      "nVidia Corporation G94 [GeForce 9600 GT] (rev a1)"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
        Option          "HWcursor" "True"
        Option          "CursorShadow" "True"
        Option          "CursorShadowAlpha" "64"
EndSection

Section "Device"
        Identifier      "OpenSource-0"
	Driver		"nv"
	BusID		"PCI:1:0:0"
	Screen		0
EndSection

Section "Device"
        Identifier      "OpenSource-1"
	Driver		"nv"
	BusID		"PCI:1:0:0"
	Screen		1
EndSection

#============================================================================
# List of monitors

# Samsung 205BW.
Section "Monitor"
        Identifier      "S205BW"
        Option          "DPMS"
EndSection

# A dummy monitor.
# This entry contains all TwinViewS205BW options needed
# for the combination S205BW + S205BW.
Section "Monitor"
        Identifier      "S205BW_S205BW_TwinView"
        Option          "TwinView" "True"
        Option          "MetaModes" "DFP-2: 1680x1050 +0+0, DFP-0: 1680x1050 +1680+0; DFP-2: NULL, DFP-0: 1680x1050; DFP-2: 1680x1050, DFP-0: 840x525 +1680+0; DFP-2: 840x525, DFP-0: 840x525 +840+0; DFP-2: NULL, DFP-0: 840x525"
        Option          "TwinViewXineramaInfoOrder" "DFP-0, DFP-2"
        Option          "UseEdidDpi" "DFP-0"
        Option          "FlatPanelProperties" "DFP-0: Scaling=aspect-scaled; DFP-2: Scaling=aspect-scaled"
        Option          "DynamicTwinView" "True"
        Option          "AllowDDCCI" "True"
EndSection

# Samsung 205BW.
Section "Monitor"
        Identifier      "S205BW-0"
        Option          "DPMS"
EndSection

# Samsung 205BW.
Section "Monitor"
        Identifier      "S205BW-1"
        Option          "DPMS"
EndSection

# Samsung P2350.
Section "Monitor"
        Identifier      "P2350"
        Option          "DPMS"
EndSection

#============================================================================
# Don't use TABs in this file.
# vi: set expandtab:



Create a new paste based on this one


Comments: