298 lines
5.4 KiB
HTML
298 lines
5.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Sample XF86Config Files</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Using Xinerama to MultiHead XFree86 V. 4.0+"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Window Managers and Xinerama"
|
|
HREF="windowmanagers.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Using Xinerama to MultiHead XFree86 V. 4.0+</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="windowmanagers.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
> </TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="XF86CONFIG"
|
|
></A
|
|
>10. Sample XF86Config Files</H1
|
|
><P
|
|
>My current XF86Config File :</P
|
|
><TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
>Section "Module"
|
|
Load "dbe" # Double buffer extension
|
|
SubSection "extmod"
|
|
Option "omit xfree86-dga" # don't initialise the DGA extension
|
|
EndSubSection
|
|
Load "type1"
|
|
Load "freetype"
|
|
# This loads the GLX module
|
|
# Load "glx"
|
|
EndSection
|
|
|
|
Section "Files"
|
|
RgbPath "/usr/X11R6/lib/X11/rgb"
|
|
FontPath "/usr/X11R6/lib/X11/fonts/local/"
|
|
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
|
|
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
|
|
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
|
|
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
|
|
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
|
|
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
|
|
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
|
|
# The module search path. The default path is shown here.
|
|
# ModulePath "/usr/X11R6/lib/modules"
|
|
EndSection
|
|
|
|
Section "ServerFlags"
|
|
Option "Xinerama" "true"
|
|
EndSection
|
|
|
|
Section "InputDevice"
|
|
Identifier "Keyboard1"
|
|
Driver "Keyboard"
|
|
Option "AutoRepeat" "500 30"
|
|
Option "XkbRules" "xfree86"
|
|
Option "XkbModel" "pc101"
|
|
Option "XkbLayout" "us"
|
|
EndSection
|
|
|
|
Section "InputDevice"
|
|
Identifier "Mouse1"
|
|
Driver "mouse"
|
|
Option "Protocol" "PS/2"
|
|
Option "Device" "/dev/psaux"
|
|
EndSection
|
|
|
|
Section "Monitor"
|
|
Identifier "Mini"
|
|
HorizSync 31.5
|
|
VertRefresh 50-90
|
|
EndSection
|
|
|
|
Section "Monitor"
|
|
Identifier "Impression"
|
|
HorizSync 31.5 - 82.0
|
|
VertRefresh 50-100
|
|
EndSection
|
|
|
|
# Video Card #1, Matrox Millenium II PCI Video Card
|
|
Section "Device"
|
|
Identifier "Matrox"
|
|
Driver "mga"
|
|
VideoRam 8192
|
|
BusID "PCI:0:12:0"
|
|
EndSection
|
|
|
|
# Video Card # 2, Fire GL 1000 AGP video card.
|
|
Section "Device"
|
|
Identifier "FireGL"
|
|
Driver "glint"
|
|
#VideoRam 8192
|
|
BusID "PCI:1:0:0"
|
|
|
|
EndSection
|
|
|
|
Section "Screen"
|
|
Identifier "Screen 2"
|
|
Device "FireGL"
|
|
Monitor "Impression"
|
|
DefaultDepth 16
|
|
|
|
Subsection "Display"
|
|
Depth 16
|
|
Modes "1280x1024" "640x480"
|
|
ViewPort 0 0
|
|
EndSubsection
|
|
EndSection
|
|
|
|
# My Miniature monitor, notice that I used the virtual option so it is
|
|
# the same heighth as the larger monitor, this is not necessary.
|
|
Section "Screen"
|
|
Identifier "Screen 1"
|
|
Device "Matrox"
|
|
Monitor "Mini"
|
|
DefaultDepth 16
|
|
|
|
Subsection "Display"
|
|
Depth 16
|
|
Modes "640x480"
|
|
ViewPort 0 0
|
|
Virtual 640 1024
|
|
EndSubsection
|
|
EndSection
|
|
|
|
Section "ServerLayout"
|
|
Identifier "Simple Layout"
|
|
Screen "Screen 2"
|
|
Screen "Screen 1" Rightof "Screen 2"
|
|
InputDevice "Mouse1" "CorePointer"
|
|
InputDevice "Keyboard1" "CoreKeyboard"
|
|
EndSection </PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>An alternate ServerLayout Section with one Monitor above the other.</P
|
|
><TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
>Section "ServerLayout"
|
|
Identifier "Simple Layout"
|
|
Screen "Screen 2"
|
|
Screen "Screen 1" Below "Screen 2"
|
|
InputDevice "Mouse1" "CorePointer"
|
|
InputDevice "Keyboard1" "CoreKeyboard"
|
|
EndSection</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Screens can overlap too. In this configuration I make the two monitors overlap by 80 pixels..</P
|
|
><TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
>Section "ServerLayout"
|
|
Identifier "Simple Layout"
|
|
Screen "Screen 2"
|
|
Screen "Screen 1" Relative "Screen 2" 1200 0
|
|
InputDevice "Mouse1" "CorePointer"
|
|
InputDevice "Keyboard1" "CoreKeyboard"
|
|
EndSection</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="windowmanagers.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
> </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Window Managers and Xinerama</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
> </TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |