2008/8/19 Nathanael Schweers <[EMAIL PROTECTED]>:
> Hallo Leute,
> Ich bin dabei den Xorg so zu konfigurieren dass Ich sowohl mit als auch ohne
> extra Monitor arbeiten kann. Dazu hab Ich mal die xorg.conf manpage angesehen
> (super teil) und daraufhin in der conf 2 ServerLayouts erstellt. Eins mit,
> eins ohne zweiten Monitor. Allerdings klappt das ganze nicht so recht. So wie
> die config jetzt gerade ist kann Ich nicht mit dem single monitor setup
> starten. Ich poste mal die xorg.conf in der Hoffnung dass jemand was damit
> anzufangen weiß.
>
> [EMAIL PROTECTED] ~ $ cat /etc/X11/xorg.conf
> Section "ServerLayout"
>        Identifier     "home"
>        Screen         "Screen0"
>        Screen         "Screen1" RightOf "Screen0"
>        InputDevice    "mice" "CorePointer"
>        #InputDevice    "Mouse2" "SendCoreEvents"
>        InputDevice    "Keyboard1" "CoreKeyboard"
> EndSection
>
> Section "ServerLayout"
>        Identifier      "mobile"
>        Screen          "Screen1"
>        #Als Screen hab Ich schon alles mögliche probiert, aber es klappt 
> einfach
>        #nicht.
>        InputDevice     "mice" "CorePointer"
>        InputDevice     "Keyboard1" "CoreKeyboard"
> EndSection
>
> Section "Files"
>        RgbPath      "/usr/share/X11/rgb"
>        FontPath     "/usr/share/fonts/local"
>        FontPath     "/usr/share/fonts/misc"
>        FontPath     "/usr/share/fonts/Type1"
>        FontPath     "/usr/share/fonts/TTF"
>        FontPath     "/usr/share/fonts/75dpi"
>        FontPath     "/usr/share/fonts/100dpi"
> EndSection
>
> Section "Module"
>        Load  "dbe"
>        SubSection "extmod"
>                Option      "omit xfree86-dga"
>        EndSubSection
>        Load  "type1"
>        Load  "freetype"
> EndSection
>
> Section "ServerFlags"
>        Option      "blank time" "10"   # 10 minutes
>        Option      "standby time" "20"
>        Option      "suspend time" "30"
>        Option      "off time" "60"
>        Option      "Xinerama"
>        Option      "DefaultServerLayout" "home"
> EndSection
>
> Section "InputDevice"
>        Option  "XkbLayout"     "de"
>        Option  "XkbVariant"    "dvorak"
>        Identifier  "Keyboard1"
>        Driver      "keyboard"
> EndSection
>
> Section "InputDevice"
>         Identifier "Mice"
>         Driver     "mouse"
>         Option     "Protocol" "auto"
>         Option     "Device" "/dev/input/mice"
> EndSection
>
> Section "Device"
>        Identifier  "Device0"
>        Driver      "fglrx"
>        BusID       "PCI:1:0:0"
>        Screen      0
> EndSection
>
> Section "Device"
>        Identifier "Device1"
>        Driver     "fglrx"
>        BusID      "PCI:1:0:0"
>        Screen     1
> EndSection
>
> Section "Monitor"
>        Identifier  "Monitor0"
>        Option      "DPMS"
>        #ModeLine    "1400x1050"
> EndSection
>
> Section "Monitor"
>        Identifier  "Monitor1"
>        Option      "DPMS"
>        #ModeLine    "1280x1024"
> EndSection
>
> Section "Screen"
>        Identifier "Screen0"
>        Device     "Device0"
>        Monitor    "Monitor0
>        DefaultDepth     24
>        SubSection "Display"
>                Viewport   0 0
>                Depth     24
>                Modes     "1280x1024"
>        EndSubSection
> EndSection
>
> Section "Screen"
>        Identifier "Screen1"
>        Device     "Device1"
>        Monitor    "Monitor1"
>        Defaultdepth    24
>        SubSection "Display"
>                Viewport   0 0
>                Depth      24
>                Modes      "1400x1050"
>        EndSubSection
> EndSection
>
> #scheinbar der externe Monitor - soweit vorhanden immer Screen0 genannt.
>
> #Section "Screen"
> #       Identifier "SingleScreen"
> #       Device     "Device0"
> #       Monitor    "Monitor0"
> #       DefaultDepth    24
> #       SubSection "Display"
> #               Viewport        0 0
> #               Modes   "1400x1050"
> #       EndSubSection
> #EndSection
>
> Section "DRI"
>        Mode 0666
> EndSection
>
>
> Ich hoffe das war jetzt nicht zu viel Text und vor allem dass Ich dafür nicht
> gesteinigt werde.
>
> Gruß, Nathanael
> --
> ----------------------------------------------------------------------------
> PUG - Penguin User Group Wiesbaden - http://www.pug.org
>


Hallo,

soweit ich weiß, benötigst du keine zwei "ServerLayout"-Einträge.
Ich hab das z.B. folgendermaßen gelöst:

http://pastebin.com/mfce813a

Bei mir funktioniert es wie von dir gewünscht.

-- 
Grüße, Kai
--
----------------------------------------------------------------------------
PUG - Penguin User Group Wiesbaden - http://www.pug.org

Antwort per Email an