TuxMobil: Linux with Laptops, PDAs, Mobile Phones and Portable Computers
PRINT version of "XF86Config/X.org Configuration File for 2 X Screens on a Laptop or Notebook"
    <= Back to SCREEN version <=



This is an example XF86Config/X.org file for setting up 2 X screens on a laptop or notebook (it also contains the synaptics touchpad and USB mouse as input devices). The file is configured to use the TV out in UK PAL format as the second monitor, this should be adjusted as necessary for your particular setup, e.g. NTSC (to use this with XFree86 rename it to XF86Config, with XOrg rename it to xorg.conf - on SUSE 9.2 this is not neccessary as xorg.conf is a symlink to XF86Config).

See also XF86Config-TwinView .

Back to· Linux with the ASUS L5800DF Laptop(asus_l5800df.html).

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  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/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
  Option       "RandR" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "v4l"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "gb"
  Option       "XkbModel" "pc105"
  Option       "XkbOptions" "altwin"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "basic"
EndSection

Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/input/mice"
  Option       "Emulate3Buttons" "on"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Synaptics;Touchpad"
  Option       "SHMConfig" "on"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[3]"
  Option       "Device" "/dev/input/mice"
  Option       "InputFashion" "Mouse"
  Option       "Name" "USB-Mouse;IMPS/2 on USB"
  Option       "Protocol" "imps/2"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "CheckDesktopGeometry"
  DisplaySize  320 240
  HorizSync    28-90
  Identifier   "LCDMONITOR"
  Option       "DPMS"
  VertRefresh  57-70
EndSection

Section "Monitor"
  HorizSync    30-50
  Identifier   "TVMONITOR"
  VertRefresh  50-60
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  Device       "LCDDEVICE"
  Identifier   "LCDSCREEN"
  Monitor      "LCDMONITOR"
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x768" "800x600" "640x480"
  EndSubSection
  Device       "TVDEVICE"
  Identifier   "TVSCREEN"
  Monitor      "TVMONITOR"
EndSection

Section "Device"
  BoardName    "GFORCE-FX"
  BusID        "PCI:1:0:0"
  Driver       "nvidia"
  Identifier   "LCDDEVICE"
  Screen       0
EndSection

Section "Device"
  BoardName    "GFORCE-FX"
  BusID        "PCI:1:0:0"
  Driver       "nvidia"
  Identifier   "TVDEVICE"
  Option       "ConnectedMonitor" "TV"
  Option       "TVStandard" "PAL-I"
  Screen       1
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Screen       0 "LCDSCREEN"   
  Screen       1 "TVSCREEN" RightOf "LCDSCREEN"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

        /* Adv.    Xtops.DE - Laptops and PDAs with pre-installed Linux   Adv. */        

http://tuxmobil.org/XF86Config-2XScreens_asus_l5800df.html, copyright © Werner Heuser, 1997-2008