zondoran

Untitled

Apr 2nd, 2011
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. # **********************************************************************
  2. # Refer to the XF86Config man page for details about the format of
  3. # this file.
  4. # **********************************************************************
  5.  
  6. Section "Files"
  7. # Multiple FontPath entries are allowed (they are concatenated together)
  8. # By default, Mandrake 6.0 and later now use a font server independent of
  9. # the X server to render fonts.
  10. FontPath "unix/:-1"
  11. EndSection
  12.  
  13. Section "ServerFlags"
  14. #DontZap # disable <Crtl><Alt><BS> (server abort)
  15. AllowMouseOpenFail # allows the server to start up even if the mouse does not work
  16. #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
  17. EndSection
  18.  
  19. Section "Module"
  20. Load "dbe" # Double-Buffering Extension
  21. Load "v4l" # Video for Linux
  22. Load "extmod"
  23. Load "type1"
  24. Load "freetype"
  25. Load "/usr/X11R6/lib/modules/extensions/libglx.so"
  26. EndSection
  27.  
  28. Section "InputDevice"
  29. Identifier "Keyboard1"
  30. Driver "keyboard"
  31. Option "XkbModel" "pc105"
  32. Option "XkbLayout" "en_US"
  33. Option "XkbOptions" "compose:rwin"
  34. EndSection
  35.  
  36. Section "InputDevice"
  37. Identifier "Mouse1"
  38. Driver "mouse"
  39. Option "Protocol" "ExplorerPS/2"
  40. Option "Device" "/dev/mouse"
  41. Option "ZAxisMapping" "4 5"
  42. EndSection
  43.  
  44. Section "Monitor"
  45. Identifier "monitor1"
  46. VendorName "Plug'n Play"
  47. HorizSync 24-80
  48. VertRefresh 56-75
  49. # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
  50. ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  51.  
  52. # TV fullscreen mode or DVD fullscreen output.
  53. # 768x576 @ 79 Hz, 50 kHz hsync
  54. ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
  55.  
  56. # 768x576 @ 100 Hz, 61.6 kHz hsync
  57. ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
  58. EndSection
  59.  
  60. Section "Monitor"
  61. Identifier "monitor2"
  62. VendorName "Plug'n Play"
  63. # HorizSync 24-80
  64. # VertRefresh 56-75
  65. # New settings - autoconfig incorrectly uses settings from the second monitor on the first card, not the first monitor on the second card
  66. HorizSync 31.0-115.0
  67. VertRefresh 55.0-160.0
  68.  
  69. # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
  70. ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  71.  
  72. # TV fullscreen mode or DVD fullscreen output.
  73. # 768x576 @ 79 Hz, 50 kHz hsync
  74. ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
  75.  
  76. # 768x576 @ 100 Hz, 61.6 kHz hsync
  77. ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
  78. EndSection
  79.  
  80. Section "Device"
  81. Identifier "device1"
  82. VendorName "nVidia"
  83. BoardName "NVIDIA GeForce FX (generic)"
  84. Driver "nvidia"
  85. Screen 0
  86. BusID "PCI:1:0:0"
  87. Option "DPMS"
  88. Option "IgnoreEDID" "1"
  89. # Everything below here added to enable 2nd monitor on this card
  90. Option "TwinView" "1"
  91. Option "Metamodes" "1280x1024,1280x1024;"
  92. Option "ConnectedMonitor" "DFP,DFP"
  93. Option "SecondMonitorHorizSync" "24-80"
  94. Option "SecondMonitorVertRefresh" "56-75"
  95. Option "NvAGP" "3"
  96. EndSection
  97.  
  98. Section "Device"
  99. Identifier "device2"
  100. VendorName "nVidia"
  101. BoardName "NVIDIA GeForce FX (generic)"
  102. Driver "nv"
  103. Screen 0
  104. BusID "PCI:5:1:0"
  105. Option "DPMS"
  106. EndSection
  107.  
  108. Section "Screen"
  109. Identifier "screen1"
  110. Device "device1"
  111. Monitor "monitor1"
  112. DefaultColorDepth 24
  113.  
  114. Subsection "Display"
  115. Depth 24
  116. # Virtual 1280 1024
  117. # This needed to be changed to use the new doublewidth virtual screen with twinview enabled
  118. Virtual 2560 1024
  119. EndSubsection
  120. EndSection
  121.  
  122. Section "Screen"
  123. Identifier "screen2"
  124. Device "device2"
  125. Monitor "monitor2"
  126. DefaultColorDepth 24
  127.  
  128. Subsection "Display"
  129. Depth 8
  130. Virtual 1280 1024
  131. EndSubsection
  132.  
  133. Subsection "Display"
  134. Depth 15
  135. Virtual 1280 1024
  136. EndSubsection
  137.  
  138. Subsection "Display"
  139. Depth 16
  140. Virtual 1280 1024
  141. EndSubsection
  142.  
  143. Subsection "Display"
  144. Depth 24
  145. Virtual 1280 1024
  146. EndSubsection
  147. EndSection
  148.  
  149. Section "ServerLayout"
  150. Identifier "layout1"
  151. InputDevice "Keyboard1" "CoreKeyboard"
  152. InputDevice "Mouse1" "CorePointer"
  153. Screen "screen1"
  154. Screen "screen2" RightOf "screen1"
  155. Option "Xinerama"
  156. EndSection
Advertisement
Add Comment
Please, Sign In to add comment