Xalphas - Xorg.conf

From Lapis Wiki

Jump to: navigation, search
Section "ServerLayout"
	Identifier     "Xorg Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
	Option "AllowMouseOpenFail"  "true"
	
EndSection

Section "Files"
    # Rgb path
    RgbPath         "/usr/share/X11/rgb"
    # Modules path
    ModulePath      "/usr/lib/xorg/modules" 
    
    # Fonts
    FontPath        "/usr/share/fonts/misc"             # xorg-fonts-misc
    FontPath        "/usr/share/fonts/cyrillic"         # xorg-fonts-cyrillic
    FontPath        "/usr/share/fonts/100dpi"           # xorg-fonts-100dpi
    FontPath        "/usr/share/fonts/100dpi/:unscaled" # xorg-fonts-100dpi
    FontPath        "/usr/share/fonts/75dpi"            # xorg-fonts-75dpi
    FontPath        "/usr/share/fonts/75dpi/:unscaled"  # xorg-fonts-75dpi
    FontPath        "/usr/share/fonts/Type1"            # xorg-fonts-type1
    FontPath        "/usr/share/fonts/TTF"              # truetype fonts
    FontPath        "/usr/share/fonts/speedo"           # font-bitstream-speedo
    FontPath        "/usr/share/fonts/OTF"              # 
    FontPath        "/usr/share/fonts/artwiz-fonts"     # artwiz fonts
EndSection

Section "Module"
#    Load    "i2c"
    Load    "ddc"        # Veda Display Data Channer: allows a monitor to tell
                         # the video card about itself, o.e supported screen
                         # resolutions and refresh rate
    Load    "glx"        # Graphics
    Load    "dri"        # Direct Rendering Interface
    Load    "extmod"     # Miscellaneous group of server extension
    Load    "int10"      # Initializes a graphic card (primary or secondary
                         # by making a call to its bios
    Load    "vbe"        # Used to set video modes primarily with external
                         # LVDS/TMDS and tv-out controller chips that are
                         # Undocumented.
    Load    "dbe"        # Double buffer extension, provides flicker free video.
    Load    "synaptics"  # Synaptics mousepad drivers
    Load    "bitmap"     # Font
    Load    "type1"      # Font
    Load    "freetype"   # Font
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
        Option      "CoreKeyboard"
	Option "XkbRules" "xorg"
	Option "XkbModel" "pc105"
	Option "XkbLayout" "tr"
EndSection

Section "InputDevice"
	Identifier  "Serial Mouse"
	Driver      "mouse"
	Option      "Protocol" "Microsoft"
	Option      "Device" "/dev/ttyS0"
	Option      "Emulate3Buttons" "true"
	Option      "Emulate3Timeout" "70"
	Option	    "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
	Identifier  "PS/2 Mouse"
	Driver      "mouse"
	Option      "Protocol" "auto"
	Option          "ZAxisMapping"          "4 5"
	Option      "Device" "/dev/psaux"
	Option      "Emulate3Buttons" "true"
	Option      "Emulate3Timeout" "70"
	Option	    "SendCoreEvents"  "true"
EndSection

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

# Auto-generated by Archie mkxcfg

Section "Monitor"
	Identifier "Monitor0"
		Option "DPMS" "true"
        DisplaySize         335 216  
  # 1280x800 @ 75.00 Hz (GTF) hsync: 62.62 kHz; pclk: 107.21 MHz
  #Modeline "1280x800_75.00"  107.21  1280 1360 1496 1712  800 801 804 835  -HSync +Vsync
  Modeline    "1400x1050@60" 83.91 1280 1312 1624 1656 800 816 824 841
    #Identifier  "Mode 1280 x 768 @ 75 Hz"
    # 1280x768 @ 75.00 Hz (GTF) hsync: 60.15 kHz; pclk: 102.98 MHz
    #Modeline    "1280x768_75.00"  102.98  1280 1360 1496 1712  768 769 772 802  -HSync +Vsync
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
	Identifier  "Card0"
        Driver          "i810"                  # xf86-video-i810 Package
        Option   "UseEdidDpi"   "FALSE"
        Option   "DPI"   "96 x 96"
#	 BusID		"PCI:0:2:0"
    VideoRam        65536                   # This will force Xorg to allocate 65Mb for the video card
        Option      "XaaNoOffscreenPixmaps"
	VendorName  "All"
	BoardName   "All"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultColorDepth 24
	SubSection "Display"
		Depth		16
        	Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1400x1050"
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection

Section "Extensions"
    Option "Composite" "true"
EndSection