Saturday, April 4, 2009

Sample xorg.conf for a Minimal System

The following is the contents of my xorg.conf file of a minimal Linux system that I use as a base for a Live CD. It makes use of either VESA standard server or framebuffer server.



Section "Files"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/truetype/latex-xft-fonts"
FontPath "/usr/share/fonts/truetype/ttf-dejavu"
FontPath "/usr/share/fonts/truetype/ttf-thai-arundina"
FontPath "/opt/jre1.6.0_06/lib/fonts"
FontPath "/opt/jre1.6.0_06/lib/oblique-fonts"
EndSection

Section "ServerFlags"
Option "DontVTSwitch"
Option "DontZap"
Option "DisableVidModeExtension"
Option "AllowMouseOpenFail"
Option "UseDefaultFontPath" "No"
EndSection

Section "Module"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbModel" "kr106"
Option "XkbLayout" "kr,us,ru,tr"
Option "XkbVariant" ",intl,winkeys,f"
Option "XkbOptions" "grp:sclk_toggle,grp_led:scroll"
Option "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Device" "/dev/tts/0"
Option "Protocol" "IntelliMouse"
EndSection

Section "Device"
Identifier "Framebuffer"
Driver "fbdev"
Option "fbdev" "/dev/fb/0"
EndSection

Section "Device"
Identifier "VESA Standard"
Driver "vesa"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Screen.0"
Device "VESA Standard"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen.1"
Device "Framebuffer"
Monitor "Generic Monitor"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen.1"
EndSection

No comments:

Post a Comment

About This Blog

KBlog logo This blog seeks to provide a collection of interesting pictures found on the Web. Thanks for visiting the blog and posting your comments.

© Contents by KBlog

© Blogger template by Emporium Digital 2008

Followers

Total Pageviews

Powered By Blogger