All pastes #249365 Raw Edit

Miscellany

public text v1 · immutable
#249365 ·published 2006-11-15 18:32 UTC
rendered paste body
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

    FontPath	"/usr/share/fonts/local/"
    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/TTF/"
    FontPath	"/usr/share/fonts/CID/"
    FontPath	"/usr/share/fonts/Speedo/"
    FontPath	"/usr/share/fonts/75dpi/"
    FontPath	"/usr/share/fonts/100dpi/"

EndSection

# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************

Section "Module"
	Load	"dbe"
#	Load	"dri"
	Load	"freetype"
	Load	"glx"
	Load	"type1"

    SubSection	"extmod"
	Option	"omit xfree86-dga"
    EndSubSection
EndSection

Section "dri"
  Mode 0666
EndSection

# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option	"NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option	"DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option	"DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option	"DontZoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option	"DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option	"AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option	"DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option	"AllowNonLocalModInDev"

# Set the basic blanking screen saver timeout.

    Option	"blank time"	"10"	# 10 minutes

# Set the DPMS timeouts.  These are set here because they are global
# rather than screen-specific.  These settings alone don't enable DPMS.
# It is enabled per-screen (or per-monitor), and even then only when
# the driver supports it.

    Option	"standby time"	"20"
    Option	"suspend time"	"30"
    Option	"off time"	"60"

# On some platform the server needs to estimate the sizes of PCI
# memory and pio ranges. This is done by assuming that PCI ranges
# don't overlap. Some broken BIOSes tend to set ranges of inactive
# devices wrong. Here one can adjust how aggressive the assumptions
# should be. Default is 0.

# Option   "EstimateSizesAggresively" "0"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"keyboard"
#    Option	"Protocol"	"Xqueue"
#    Option	"AutoRepeat"	"500 5"
    Option	"Xleds"	"1 2 3"
#    Option	"XkbDisable"
#    Option	"XkbModel"	"pc102"
#    Option	"XkbModel"	"pc105"
   Option	"XkbModel"	"microsoft"
#    Option	"XkbModel"	"pc104"
#    Option	"XkbLayout"	"de"
#    Option	"XkbLayout"	"de"
#    Option	"XkbVariant"	"nodeadkeys"
#    Option	"XkbOptions"	"ctrl:swapcaps"
#    Option	"XkbModel"	"pc101"
    Option	"XkbLayout"	"us"
#    Option	"XkbVariant"	""
#    Option	"XkbOptions"	""

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************


Section "InputDevice"
    Identifier  "Intellimouse"
	Driver	"evdev"
	Option	"evBits"	"+1=2"
	Option	"keyBits"	"~272-287"
	Option	"relBits"	"~0-2 ~6 ~8"
#	Option 	"Name" 	"Microsoft Microsoft Wireless Optical Mouse 1.0A"
#    Driver      "evdev"
#    Option     "Protocol"      "evdev"
#    Option      "Name" "Microsoft Microsoft Wireless Optical Mouse® 1.0A"
#    Option      "Device"        "/dev/input/intellimouse"
#    Option      "Dev Phys"      "usb-0000:00:1d.0-1/input0"
#    Option      "Emulate3Buttons" "no"
#    Option      "Buttons" "9"
#    Option      "ZAxisMapping" "4 5 7 6"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
	Identifier	"SONY Trinitron"
	HorizSync	30-130
	VertRefresh	48-170
	Option		"dpms"
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
	Identifier	"GeForce 2 Ultra"
	Driver		"nvidia"
	Option		"AGPMode" "4"
	Option		"AGPFastWrite" "True"
	Option		"EnablePageFlip" "True"
EndSection


# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"

	Identifier	"Screen 1"
	Device		"GeForce 2 Ultra"
	Monitor		"SONY Trinitron"
	Option		"TVStandard"		"NTSC-M"
	Option		"TVOutFormat"		"SVIDEO"
	Option		"NoLogo"		"1"
#	Option		"ConnectedMonitor"      "TV"

    DefaultDepth 24

    SubSection "Display"
        Depth           8
        Modes           "1600x1200 1280x1024 1024x768 800x600 640x480"
        ViewPort        0 0
    EndSubsection

    SubSection "Display"
        Depth           16
        Modes           "1600x1200 1280x1024 1024x768 800x600 640x480"
        ViewPort        0 0
    EndSubSection

    SubSection "Display"
        Depth           24
        Modes           "1600x1200 1280x1024 1024x768 800x600 640x480"
        ViewPort        0 0
    EndSubSection


EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present

    Identifier	"Main Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen	"Screen 1"	""	""	""	"Screen 1"
#    Screen	"Screen MGA 2"	""	""	"Screen MGA 1"	""

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".  In this example, "Mouse1" is the core pointer,
# and "Mouse2" is an extended input device that also generates core
# pointer events (i.e., both mice will move the standard pointer).

    InputDevice	"Intellimouse" "CorePointer"
#    InputDevice	"Mouse2" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

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