jump to navigation

xorg.conf mit dual display (modus: two displays, one big screen) Thursday, 6. July 2006

Viewed 322 times, posted by ben in : Linux , trackback

my xorg.conf
without any comments and maybe a little bit weird … it is grown through months, maybe years….

# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type “man /etc/X11/xorg.conf” at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c ‘md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum’
# sudo dpkg-reconfigure xserver-xorg

Section “ServerLayout”

# Screen “Default Screen”
# Screen 1 “Screen1″ leftOf “Screen0″
Identifier “Default Layout”
Screen 0 “Screen0″ 0 0
InputDevice “Generic Keyboard”
InputDevice “Configured Mouse”
EndSection

Section “Files”
# local font server
# if the local font server has problems, we can fall back on these
# paths to defoma fonts
FontPath “unix/:7100″
FontPath “/usr/lib/X11/fonts/misc”
FontPath “/usr/lib/X11/fonts/cyrillic”
FontPath “/usr/lib/X11/fonts/100dpi/:unscaled”
FontPath “/usr/lib/X11/fonts/75dpi/:unscaled”
FontPath “/usr/lib/X11/fonts/Type1″
FontPath “/usr/lib/X11/fonts/CID”
FontPath “/usr/lib/X11/fonts/100dpi”
FontPath “/usr/lib/X11/fonts/75dpi”
FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID”
EndSection

Section “Module”

# Load “GLcore”
Load “bitmap”
Load “dbe”
Load “ddc”
Load “extmod”
Load “freetype”
Load “glx”
Load “int10″
Load “record”
Load “type1″
Load “vbe”
EndSection

Section “ServerFlags”
Option “Xinerama” “false”
EndSection

Section “InputDevice”
Identifier “Generic Keyboard”
Driver “kbd”
Option “CoreKeyboard”
Option “XkbRules” “xorg”
Option “XkbModel” “pc105″
Option “XkbLayout” “de”
Option “XkbOptions” “nodeadkeys”
EndSection

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ImPS/2″
Option “Emulate3Buttons” “true”
Option “ZAxisMapping” “4 5″
EndSection

Section “Monitor”
Identifier “iiyama19″
VertRefresh 50.0 - 60.0
Option “DPMS”
EndSection

Section “Monitor”
Identifier “belinea17″
VertRefresh 50.0 - 60.0
Option “DPMS”
EndSection

Section “Device”

#1280×1024″ #,1024×768″ #,1024×768″ #1280×1024 +0+0, 1024×768 +1280+0;”
# Option “IgnoreEDID” “true”
# Option “UseEDIDFreqs” “false”
Identifier “NVIDIAFX52000″
Driver “nvidia”
Option “RenderAccel” “true”
Option “AllowGLXWithComposite” “true”
Screen 0
EndSection

Section “Screen”
Identifier “Screen0″
Device “NVIDIAFX52000″
Monitor “iiyama19″
DefaultDepth 24
Option “TwinView”
Option “TwinViewOrientation” “LeftOf”
Option “MetaModes” “1280×1024 , 1280×1024 ”
# the first resolution is for LCD
Option “ConnectedMonitor” “iiyama19,belinea17″
# Option “DPMS”
SubSection “Display”
Depth 24
Modes “1280×1024″ “1024×768″ “800×600″ “640×480″
EndSubSection
SubSection “Display”
Depth 24
Modes “1280×1024″ “1024×768″ “800×600″ “640×480″
EndSubSection
EndSection

Comments»

1. ben - Sunday, 15. October 2006

Ubuntu HowTo:

https://help.ubuntu.com/community/XineramaHowTo

2. ben - Saturday, 4. November 2006

some more hints:

http://nozell.com/blog/2005/09/29/dualhead-with-xinerama-using-ubuntubreezy-compaq-nc6000/
with this example-file:
http://www.nozell.com/marc/data/xorg.conf-dual-head-xinerama

http://ubuntuforums.org/showthread.php?p=1670709

3. ben - Saturday, 4. November 2006

my present xorg.conf, mode: “TwinView” (extended screen on two displays):

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type “man /etc/X11/xorg.conf” at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section “Files”
FontPath “/usr/share/X11/fonts/misc”
FontPath “/usr/share/X11/fonts/cyrillic”
FontPath “/usr/share/X11/fonts/100dpi/:unscaled”
FontPath “/usr/share/X11/fonts/75dpi/:unscaled”
FontPath “/usr/share/X11/fonts/Type1″
FontPath “/usr/share/X11/fonts/100dpi”
FontPath “/usr/share/X11/fonts/75dpi”
FontPath “/usr/share/fonts/X11/misc”
# path to defoma fonts
FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
EndSection

Section “Module”
Load “GLcore”
Load “bitmap”
Load “dbe”
Load “ddc”
Load “dri”
Load “extmod”
Load “freetype”
Load “glx”
Load “int10″
Load “record”
Load “type1″
Load “v4l”
Load “vbe”
EndSection

Section “InputDevice”
Identifier “Generic Keyboard”
Driver “kbd”
Option “CoreKeyboard”
Option “XkbRules” “xorg”
Option “XkbModel” “pc105″
Option “XkbLayout” “de”
Option “XkbVariant” “nodeadkeys”
EndSection

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ImPS/2″
Option “ZAxisMapping” “4 5″
Option “Emulate3Buttons” “true”
EndSection

Section “Device”
Identifier “NVIDIAGEFORCE5200″
Driver “nvidia”
BusID “PCI:1:0:0″
Option “VBERestore” “TRUE”
Option “MonitorLayout”
Screen 0
EndSection

Section “Monitor”
Identifier “belinea17″
Option “DPMS”
VertRefresh 50-60
EndSection

Section “Monitor”
Identifier “iiyama19″
VertRefresh 50.0 - 60.0
Option “DPMS”
EndSection

Section “Screen”
Identifier “Default Screen”
Device “NVIDIAGEFORCE5200″
Monitor “iiyama19″
DefaultDepth 24

Option “TwinView”
Option “TwinViewOrientation” “LeftOf”
Option “MetaModes” “1280×1024 , 1280×1024 ”
Option “ConnectedMonitor” “iiyama19,belinea17″
SubSection “Display”
Depth 24
Modes “1280×1024″ “1024×768″ “800×600″ “640×480″
EndSubSection
SubSection “Display”
Depth 24
Modes “1280×1024″ “1024×768″ “800×600″ “640×480″
EndSubSection
EndSection

Section “DRI”
Mode 0666
EndSection

4. ben - Sunday, 19. November 2006

short and clear:

Two screen / dual-head set up

5. ben - Thursday, 1. February 2007

How to make work dual monitors with Debian etch on an IBM x60s ThinkPad?

sone answers in this thread contains examples of xorg.conf with dual display mode.

6. ben - Tuesday, 19. June 2007

seems to be much easier now:

http://www.ubuntugeek.com/dual-monitors-with-nvidia.html

7. ben - Monday, 15. October 2007

Different resolution screens with Xinerama

8. ben - Monday, 15. October 2007

here we go with tow displays, one big screen, but the displays has different resolutions:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Nov 9 17:55:20 PST 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type “man /etc/X11/xorg.conf” at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section “ServerLayout”
Identifier “Default Layout”
Screen “Default Screen” 0 0
InputDevice “Generic Keyboard”
InputDevice “Configured Mouse”
EndSection

Section “Files”

FontPath “/usr/share/X11/fonts/misc”
FontPath “/usr/share/X11/fonts/100dpi/:unscaled”
FontPath “/usr/share/X11/fonts/75dpi/:unscaled”
FontPath “/usr/share/X11/fonts/Type1″
FontPath “/usr/share/X11/fonts/100dpi”
FontPath “/usr/share/X11/fonts/75dpi”
FontPath “/usr/share/fonts/X11/misc”
FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
FontPath “/usr/share/fonts/X11/misc”
FontPath “/usr/share/fonts/X11/100dpi/:unscaled”
FontPath “/usr/share/fonts/X11/75dpi/:unscaled”
FontPath “/usr/share/fonts/X11/Type1″
FontPath “/usr/share/fonts/X11/100dpi”
FontPath “/usr/share/fonts/X11/75dpi”
FontPath “/usr/share/fonts/X11/misc”
EndSection

Section “Module”
Load “bitmap”
Load “dbe”
Load “ddc”
Load “extmod”
Load “freetype”
Load “int10″
Load “record”
Load “type1″
Load “v4l”
Load “vbe”
Load “glx”
EndSection

Section “InputDevice”
Identifier “Generic Keyboard”
Driver “kbd”
Option “CoreKeyboard”
Option “XkbRules” “xorg”
Option “XkbModel” “pc105″
Option “XkbLayout” “de”
Option “XkbVariant” “nodeadkeys”
EndSection

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ImPS/2″
Option “ZAxisMapping” “4 5″
Option “Emulate3Buttons” “true”
EndSection

Section “Monitor”
Identifier “Samsung205BW”
VertRefresh 50.0 - 60.0
Option “DPMS”
EndSection

Section “Monitor”
Identifier “iiyama19″
VertRefresh 50.0 - 60.0
Option “DPMS”
EndSection

Section “Device”
Identifier “NVIDIAGEFORCE5200″
Driver “nvidia”
Screen 0
EndSection

Section “Screen”
Identifier “Default Screen”
Device “NVIDIAGEFORCE5200″
Monitor “iiyama19″
DefaultDepth 24
Option “TwinView”
Option “TwinViewOrientation” “LeftOf”
Option “MetaModes” “1680×1050 , 1280×1024 ”
Option “ConnectedMonitor” “Samsung205BW,belinea17″
Option “VBERestore” “TRUE”
Option “MonitorLayout”
Option “AddARGBGLXVisuals” “True”
Option “RenderAccel” “true”
SubSection “Display”
Depth 24
Modes “1680×1050″ “1280×1024″ “1024×768″ “800×600″ “640×480″
EndSubSection
SubSection “Display”
Depth 24
Modes “1280×1024″ “1024×768″ “800×600″ “640×480″
EndSubSection
EndSection

9. ben - Sunday, 2. March 2008

Aufloesung aendern

mit dem befehl xrandr -s 1280×1024 kann man “eben gerade” mal die aufloesung aednern.

10. ben - Monday, 12. May 2008

and here is a working configuration with ubuntu 8.04:
upgraded to ubuntu 8.04 this weekend


Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien: