da Loops » lun mag 30, 2005 1:21
Ecco xorg.conf<br />
<BR><br />
<BR><!-- BBCode Quote Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Quote:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><BLOCKQUOTE>
<BR> # File generated by xorgconfig.<br />
<BR><br />
<BR>#<br />
<BR># Copyright 2004 The X.Org Foundation<br />
<BR>#<br />
<BR># Permission is hereby granted, free of charge, to any person obtaining a<br />
<BR># copy of this software and associated documentation files (the "Software"),<br />
<BR># to deal in the Software without restriction, including without limitation<br />
<BR># the rights to use, copy, modify, merge, publish, distribute, sublicense,<br />
<BR># and/or sell copies of the Software, and to permit persons to whom the<br />
<BR># Software is furnished to do so, subject to the following conditions:<br />
<BR>#<br />
<BR># The above copyright notice and this permission notice shall be included in<br />
<BR># all copies or substantial portions of the Software.<br />
<BR>#<br />
<BR># THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br />
<BR># IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br />
<BR># FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL<br />
<BR># The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,<br />
<BR># WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF<br />
<BR># OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE<br />
<BR># SOFTWARE.<br />
<BR>#<br />
<BR># Except as contained in this notice, the name of The X.Org Foundation shall<br />
<BR># not be used in advertising or otherwise to promote the sale, use or other<br />
<BR># dealings in this Software without prior written authorization from<br />
<BR># The X.Org Foundation.<br />
<BR>#<br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Refer to the xorg.conf(5x) man page for details about the format of<br />
<BR># this file.<br />
<BR># **********************************************************************<br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Module section -- this section is used to specify<br />
<BR># which dynamically loadable modules to load.<br />
<BR># **********************************************************************<br />
<BR>#<br />
<BR>Section "Module"<br />
<BR><br />
<BR># This loads the DBE extension module.<br />
<BR><br />
<BR> Load "dbe" # Double buffer extension<br />
<BR><br />
<BR># This loads the miscellaneous extensions module, and disables<br />
<BR># initialisation of the XFree86-DGA extension within that module.<br />
<BR> SubSection "extmod"<br />
<BR> Option "omit xfree86-dga" # don´t initialise the DGA extension<br />
<BR> EndSubSection<br />
<BR><br />
<BR># This loads the font modules<br />
<BR> Load "type1"<br />
<BR># Load "speedo"<br />
<BR> Load "freetype"<br />
<BR># Load "xtt"<br />
<BR><br />
<BR># This loads the GLX module<br />
<BR> Load "glx"<br />
<BR># This loads the DRI module<br />
<BR># Load "dri"<br />
<BR>EndSection<br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Files section. This allows default font and rgb paths to be set<br />
<BR># **********************************************************************<br />
<BR><br />
<BR>Section "Files"<br />
<BR><br />
<BR># The location of the RGB database. Note, this is the name of the<br />
<BR># file minus the extension (like ".txt" or ".db"). There is normally<br />
<BR># no need to change the default.<br />
<BR><br />
<BR> RgbPath "/usr/X11R6/lib/X11/rgb"<br />
<BR><br />
<BR># Multiple FontPath entries are allowed (which are concatenated together),<br />
<BR># as well as specifying multiple comma-separated entries in one FontPath<br />
<BR># command (or a combination of both methods)<br />
<BR>#<br />
<BR>#<br />
<BR><br />
<BR> FontPath "/usr/X11R6/lib/X11/fonts/misc/"<br />
<BR> FontPath "/usr/X11R6/lib/X11/fonts/TTF/"<br />
<BR> FontPath "/usr/X11R6/lib/X11/fonts/Type1/"<br />
<BR> FontPath "/usr/X11R6/lib/X11/fonts/CID/"<br />
<BR> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"<br />
<BR> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"<br />
<BR> FontPath "/usr/X11R6/lib/X11/fonts/local/"<br />
<BR> FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"<br />
<BR> FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"<br />
<BR><br />
<BR># The module search path. The default path is shown here.<br />
<BR><br />
<BR># ModulePath "/usr/X11R6/lib/modules"<br />
<BR><br />
<BR>EndSection<br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Server flags section.<br />
<BR># **********************************************************************<br />
<BR><br />
<BR>Section "ServerFlags"<br />
<BR><br />
<BR># Uncomment this to cause a core dump at the spot where a signal is<br />
<BR># received. This may leave the console in an unusable state, but may<br />
<BR># provide a better stack trace in the core dump to aid in debugging<br />
<BR><br />
<BR># Option "NoTrapSignals"<br />
<BR><br />
<BR># Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence<br />
<BR># (where n is 1 through 12). This allows clients to receive these key<br />
<BR># events.<br />
<BR><br />
<BR># Option "DontVTSwitch"<br />
<BR><br />
<BR># Uncomment this to disable the <Crtl><Alt><BS> server abort sequence<br />
<BR># This allows clients to receive this key event.<br />
<BR><br />
<BR># Option "DontZap"<br />
<BR><br />
<BR># Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching<br />
<BR># sequences. This allows clients to receive these key events.<br />
<BR><br />
<BR># Option "Dont Zoom"<br />
<BR><br />
<BR># Uncomment this to disable tuning with the xvidtune client. With<br />
<BR># it the client can still run and fetch card and monitor attributes,<br />
<BR># but it will not be allowed to change them. If it tries it will<br />
<BR># receive a protocol error.<br />
<BR><br />
<BR># Option "DisableVidModeExtension"<br />
<BR><br />
<BR># Uncomment this to enable the use of a non-local xvidtune client.<br />
<BR><br />
<BR># Option "AllowNonLocalXvidtune"<br />
<BR><br />
<BR># Uncomment this to disable dynamically modifying the input device<br />
<BR># (mouse and keyboard) settings.<br />
<BR><br />
<BR># Option "DisableModInDev"<br />
<BR><br />
<BR># Uncomment this to enable the use of a non-local client to<br />
<BR># change the keyboard or mouse settings (currently only xset).<br />
<BR><br />
<BR># Option "AllowNonLocalModInDev"<br />
<BR>#Avvia X anche se il mouse PS/2 non e´ collegato<br />
<BR><br />
<BR> Option "AllowMouseOpenFail"<br />
<BR><br />
<BR>EndSection<br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Input devices<br />
<BR># **********************************************************************<br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Core keyboard´s InputDevice section<br />
<BR># **********************************************************************<br />
<BR><br />
<BR>Section "InputDevice"<br />
<BR><br />
<BR> Identifier "Keyboard1"<br />
<BR> Driver "kbd"<br />
<BR><br />
<BR># For most OSs the protocol can be omitted (it defaults to "Standard").<br />
<BR># When using XQUEUE (only for SVR3 and SVR4, but not Solaris),<br />
<BR># uncomment the following line.<br />
<BR><br />
<BR># Option "Protocol" "Xqueue"<br />
<BR><br />
<BR> Option "AutoRepeat" "500 30"<br />
<BR><br />
<BR># Specify which keyboard LEDs can be user-controlled (eg, with xset(1))<br />
<BR># Option "Xleds" "1 2 3"<br />
<BR><br />
<BR># Option "LeftAlt" "Meta"<br />
<BR># Option "RightAlt" "ModeShift"<br />
<BR><br />
<BR># To customise the XKB settings to suit your keyboard, modify the<br />
<BR># lines below (which are the defaults). For example, for a non-U.S.<br />
<BR># keyboard, you will probably want to use:<br />
<BR># Option "XkbModel" "pc102"<br />
<BR># If you have a US Microsoft Natural keyboard, you can use:<br />
<BR># Option "XkbModel" "microsoft"<br />
<BR>#<br />
<BR># Then to change the language, change the Layout setting.<br />
<BR># For example, a german layout can be obtained with:<br />
<BR># Option "XkbLayout" "de"<br />
<BR># or:<br />
<BR># Option "XkbLayout" "de"<br />
<BR># Option "XkbVariant" "nodeadkeys"<br />
<BR>#<br />
<BR># If you´d like to switch the positions of your capslock and<br />
<BR># control keys, use:<br />
<BR># Option "XkbOptions" "ctrl:swapcaps"<br />
<BR><br />
<BR># These are the default XKB settings for Xorg<br />
<BR># Option "XkbRules" "xorg"<br />
<BR># Option "XkbModel" "pc101"<br />
<BR># Option "XkbLayout" "us"<br />
<BR># Option "XkbVariant" ""<br />
<BR># Option "XkbOptions" ""<br />
<BR><br />
<BR># Option "XkbDisable"<br />
<BR><br />
<BR> Option "XkbRules" "xorg"<br />
<BR> Option "XkbModel" "pc104"<br />
<BR> Option "XkbLayout" "it"<br />
<BR><br />
<BR>EndSection<br />
<BR><br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Core Pointer´s InputDevice section<br />
<BR># **********************************************************************<br />
<BR>#Touchpad<br />
<BR>Section "InputDevice"<br />
<BR>Identifier "Mouse0"<br />
<BR>Driver "mouse"<br />
<BR>Option "Protocol" "PS/2"<br />
<BR>Option "Device" "/dev/mouse"<br />
<BR>EndSection<br />
<BR><br />
<BR>#Mouse PS/2<br />
<BR>Section "InputDevice"<br />
<BR>Identifier "Mouse1"<br />
<BR>Driver "mouse"<br />
<BR>Option "Protocol" "IMPS/2"<br />
<BR>Option "Device" "/dev/psaux"<br />
<BR>Option "ZAxisMapping" "4 5"<br />
<BR>Option "Emulate3Buttons" "no"<br />
<BR>EndSection<br />
<BR><br />
<BR><br />
<BR><br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Monitor section<br />
<BR># **********************************************************************<br />
<BR><br />
<BR># Any number of monitor sections may be present<br />
<BR><br />
<BR>Section "Monitor"<br />
<BR><br />
<BR> Identifier "My Monitor"<br />
<BR><br />
<BR># HorizSync is in kHz unless units are specified.<br />
<BR># HorizSync may be a comma separated list of discrete values, or a<br />
<BR># comma separated list of ranges of values.<br />
<BR># NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR´S<br />
<BR># USER MANUAL FOR THE CORRECT NUMBERS.<br />
<BR><br />
<BR> HorizSync 31.5 - 57.0<br />
<BR><br />
<BR># HorizSync 30-64 # multisync<br />
<BR># HorizSync 31.5, 35.2 # multiple fixed sync frequencies<br />
<BR># HorizSync 15-25, 30-50 # multiple ranges of sync frequencies<br />
<BR><br />
<BR># VertRefresh is in Hz unless units are specified.<br />
<BR># VertRefresh may be a comma separated list of discrete values, or a<br />
<BR># comma separated list of ranges of values.<br />
<BR># NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR´S<br />
<BR># USER MANUAL FOR THE CORRECT NUMBERS.<br />
<BR><br />
<BR> VertRefresh 50-90<br />
<BR><br />
<BR>EndSection<br />
<BR><br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Graphics device section<br />
<BR># **********************************************************************<br />
<BR><br />
<BR># Any number of graphics device sections may be present<br />
<BR><br />
<BR># Standard VGA Device:<br />
<BR><br />
<BR>Section "Device"<br />
<BR> Identifier "Standard VGA"<br />
<BR> VendorName "Unknown"<br />
<BR> BoardName "Unknown"<br />
<BR><br />
<BR># The chipset line is optional in most cases. It can be used to override<br />
<BR># the driver´s chipset detection, and should not normally be specified.<br />
<BR><br />
<BR># Chipset "generic"<br />
<BR><br />
<BR># The Driver line must be present. When using run-time loadable driver<br />
<BR># modules, this line instructs the server to load the specified driver<br />
<BR># module. Even when not using loadable driver modules, this line<br />
<BR># indicates which driver should interpret the information in this section.<br />
<BR><br />
<BR> Driver "vga"<br />
<BR># The BusID line is used to specify which of possibly multiple devices<br />
<BR># this section is intended for. When this line isn´t present, a device<br />
<BR># section can only match up with the primary video device. For PCI<br />
<BR># devices a line like the following could be used. This line should not<br />
<BR># normally be included unless there is more than one video device<br />
<BR># intalled.<br />
<BR><br />
<BR># BusID "PCI:0:10:0"<br />
<BR><br />
<BR># VideoRam 256<br />
<BR><br />
<BR># Clocks 25.2 28.3<br />
<BR><br />
<BR>EndSection<br />
<BR><br />
<BR># Device configured by xorgconfig:<br />
<BR><br />
<BR>Section "Device"<br />
<BR> Identifier "Trident CyberBlade (generic)"<br />
<BR> Driver "trident"<br />
<BR> #VideoRam 65536<br />
<BR> # Insert Clocks lines here if appropriate<br />
<BR>EndSection<br />
<BR><br />
<BR><br />
<BR># **********************************************************************<br />
<BR># Screen sections<br />
<BR># **********************************************************************<br />
<BR><br />
<BR># Any number of screen sections may be present. Each describes<br />
<BR># the configuration of a single screen. A single specific screen section<br />
<BR># may be specified from the X server command line with the "-screen"<br />
<BR># option.<br />
<BR>Section "Screen"<br />
<BR> Identifier "Screen 1"<br />
<BR> Device "Trident CyberBlade (generic)"<br />
<BR> Monitor "My Monitor"<br />
<BR> DefaultDepth 24<br />
<BR><br />
<BR> Subsection "Display"<br />
<BR> Depth 8<br />
<BR> Modes "1280x1024" "1024x768" "800x600" "640x480"<br />
<BR> ViewPort 0 0<br />
<BR> EndSubsection<br />
<BR> Subsection "Display"<br />
<BR> Depth 16<br />
<BR> Modes "1280x1024" "1024x768" "800x600" "640x480"<br />
<BR> ViewPort 0 0<br />
<BR> EndSubsection<br />
<BR> Subsection "Display"<br />
<BR> Depth 24<br />
<BR> Modes "1280x1024" "1024x768" "800x600" "640x480"<br />
<BR> ViewPort 0 0<br />
<BR> EndSubsection<br />
<BR>EndSection<br />
<BR><br />
<BR># **********************************************************************<br />
<BR># ServerLayout sections.<br />
<BR># **********************************************************************<br />
<BR><br />
<BR># Any number of ServerLayout sections may be present. Each describes<br />
<BR># the way multiple screens are organised. A specific ServerLayout<br />
<BR># section may be specified from the X server command line with the<br />
<BR># "-layout" option. In the absence of this, the first section is used.<br />
<BR># When now ServerLayout section is present, the first Screen section<br />
<BR># is used alone.<br />
<BR><br />
<BR>Section "ServerLayout"<br />
<BR><br />
<BR># The Identifier line must be present<br />
<BR> Identifier "Simple Layout"<br />
<BR><br />
<BR># Each Screen line specifies a Screen section name, and optionally<br />
<BR># the relative position of other screens. The four names after<br />
<BR># primary screen name are the screens to the top, bottom, left and right<br />
<BR># of the primary screen. In this example, screen 2 is located to the<br />
<BR># right of screen 1.<br />
<BR><br />
<BR> Screen "Screen 1"<br />
<BR><br />
<BR># Each InputDevice line specifies an InputDevice section name and<br />
<BR># optionally some options to specify the way the device is to be<br />
<BR># used. Those options include "CorePointer", "CoreKeyboard" and<br />
<BR># "SendCoreEvents".<br />
<BR><br />
<BR> InputDevice "Mouse0" "AlwaysCore"<br />
<BR> InputDevice "Mouse1" "CorePointer"<br />
<BR> InputDevice "Keyboard1" "CoreKeyboard"<br />
<BR><br />
<BR>EndSection<br />
<BR><br />
<BR># Section "DRI"<br />
<BR># Mode 0666<br />
<BR># EndSection<br />
<BR><br />
<BR><br /><br />
<BR></BLOCKQUOTE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode Quote End --><br>