All pastes #235311 Raw Edit

Someone

public text v1 · immutable
·published 2006-11-03 04:14 UTC
rendered paste body
################################################################################
# Filename:      /etc/X11/xorg.conf
# Purpose:       config file for xserver - generated by grml-x
# Bug-Reports:   see http://grml.org/bugs/
# Latest change: Thu Nov  2 20:33:14 CET 2006
# See also:
#   /usr/share/doc/xserver-xorg/   and
#   http://wiki.x.org/wiki/Home    and
#   http://ftp.x.org/pub/X11R7.0/doc/html/index.html for information on Xorg
#   /usr/share/doc/xfree86-common/                   for information on XFree86
# Refer to the xorg.conf man page and to
# http://ftp.x.org/pub/X11R7.0/doc/html/xorg.conf.5.html
# for details about the format of this file.
# 
# If you would like this file to be automatically reconfigured by debian,
# run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg
################################################################################

Section "ServerLayout"
        Identifier     "XServer Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0"  "CoreKeyboard"
        InputDevice    "USB Mouse"  "CorePointer"
        InputDevice    "PS/2 Mouse" "CorePointer"
        # No alps touchpad present.
        # No generic mouse configured.
        # No serial mouse detected.
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"  # allows the server to start up even if the mouse does not work
        Option "DontVTSwitch"        "false" # allow switching between virtual terminal
        # Option "DontZap"             "true"  # disable <Crtl><Alt><BS> (server abort)
        # Option "DontZoom"            "true"  # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Files"
#        RgbPath      "/usr/X11R6/lib/X11/rgb"
#        ModulePath   "/usr/X11R6/lib/modules"
# More information:  http://ftp.x.org/pub/X11R7.0/doc/html/fonts.html
        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"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
# check:
#       FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
#       FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
#       FontPath     "/usr/X11R6/lib/X11/fonts/encodings"
#       FontPath     "/usr/X11R6/lib/X11/fonts/Type1
#       FontPath     "/usr/X11R6/lib/X11/fonts/util
# Additional fonts: Locale, Gimp, TTF...
#       FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
#       FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
#       FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/share/fonts/ttf/western"
        FontPath     "/usr/share/fonts/ttf/decoratives"
#        FontPath     "/usr/share/fonts/truetype"
#        FontPath     "/usr/share/fonts/truetype/openoffice"
        FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
#       FontPath     "/usr/share/fonts/truetype/latex-xft-fonts"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
#       FontPath     "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
#       FontPath     "/usr/X11R6/lib/X11/fonts/defoma/CID"
EndSection

# Modules - see /usr/X11R6/lib/modules/fonts and /usr/X11R6/lib/modules/extensions
Section "Module"
        Load  "dbe"       # double buffer extension
        Load  "dri"       # direct rendering
        Load  "glx"       # 3D layer
        Load  "type1"     # font module
        Load  "freetype"  # font rendering
        Load  "extmod"    # some commonly used server extensions (e.g. shape extension)
        Load  "record"    # recording extension
        # Load  "vbe"       # Vesa BIOS Extension
        # Load  "ddc"       # ddc probing of monitor
        # Load  "bitmap"    # bitmap fonts
        # Load  "GLcore"    # render OpenGL in software
        # Load  "i2c"       # I2C bus
        # Load  "int10"     # initialize graphics cards via int10 call to the BIOS
        # Load  "speedo"    # font module
        # Load  "v4l"       # Video for Linux
        # Load  "evdev"     # generic input handling driver on Linux
# Valid entries - see /usr/lib/xorg/modules/[extensions/]
# afb bitmap cfb cfb16 cfb24 cfb32 cw damage dbe ddc dri drm extmod fb
# fbdevhw freetype GLcore glx i2c int10 int10 layer mfb pcidata rac ramdac
# record scanpci shadow shadowfb type1 vbe vgahw xaa xf1bpp xf24_32bpp xf4bpp
# xf8_16bpp xf8_32bpp xtrap
EndSection

# If you'd like to switch the positions of your capslock and control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
# More information: http://ftp.x.org/pub/X11R7.0/doc/html/XKB-Config.html
Section "InputDevice"
        Identifier  "Keyboard0"
        Option      "CoreKeyboard"
        Driver      "kbd"
        #Option      "XkbRules"   "xfree86"
        Option      "XkbRules"   "xorg"
        Option      "XkbModel"   "pc105"
        Option      "XkbLayout"  "us"
        #Option      "XkbVariant" "nodeadkeys"
EndSection

# More information: http://ftp.x.org/pub/X11R7.0/doc/html/mouse.html


Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "auto"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
        Option          "SendCoreEvents"        "true"
EndSection


Section "InputDevice"
        Identifier  "PS/2 Mouse"
        Driver      "mouse"
        Option      "Device" "/dev/input/mice"
        # Option      "Device" "/dev/psaux"
        Option      "Protocol" "PS/2"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents"  "true"
EndSection



Section "Monitor"
        Identifier   "Monitor0"
#       ModelName    "Old Monitor (no DDC)"
        Option       "DPMS"      "true"
#       HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
#       HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        HorizSync    30.0 - 97.0
#       VertRefresh  50.0 - 76.0 # Very conservative. May flicker.
#       VertRefresh  50.0 - 60.0 # Extreme conservative. Will flicker. TFT default.
        VertRefresh  50.0 - 180.0
# Need more information?
#  http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
#  http://en.tldp.org/HOWTO/XFree86-Video-Timings-HOWTO/
EndSection

Section "Device"
        ### Available Driver options are:
        ## sw_cursor is needed for some ati and radeon cards
        # Option     "sw_cursor"
        # Option     "hw_cursor"
        # Option     "NoAccel"
        # Option     "ShowCache"
        # Option     "ShadowFB"
        # Option     "UseFBDev"
        # Option     "Rotate"
        ## xorg + nvidia:
        # Option "RenderAccel" "true"
        # Option "AllowGLXWithComposite" "true"
        Identifier  "Card0"
# The following line is auto-generated by grml-x
        Driver      "nv"
        VendorName  "All"
        BoardName   "All"
        ## Workaround for drivers which send output to wrong device:
        # Option "MonitorLayout" "LVDS, AUTO"
        # Option "MonitorLayout" "LVDS, CRT"
        # Option "MonitorLayout" "NONE, STV"
        # Option "MonitorLayout" "LVDS"
        ## Specify BusID:
        # BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 16
        SubSection "Display"
                Depth     1
                # Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" 
        EndSubSection
        SubSection "Display"
                Depth     4
                # Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" 
        EndSubSection
        SubSection "Display"
                Depth     8
                # Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" 
        EndSubSection
        SubSection "Display"
                Depth     15
                # Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" 
        EndSubSection
        SubSection "Display"
                Depth     16
                # Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" 
        EndSubSection
        SubSection "Display"
                Depth     24
                # Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" 
        EndSubSection
        SubSection "Display"
                Depth     32
                # Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" 
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

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

## END OF FILE #################################################################