ubuntuusers.de

Startscript für COD4 + Dual Monitor

Status: Ungelöst | Ubuntu-Version: Ubuntu 9.10 (Karmic Koala)
Antworten |

Foren-Sniper

Avatar von Foren-Sniper

Anmeldungsdatum:
10. Februar 2005

Beiträge: 218

Hi,

ich habe 'ne NVIDIA 9800GT installiert und betreibe UBUNTU mit 'nem 22" und einem 19" TFT. COD4 habe ich installiert, aber das läuft irgendwie nur, wenn ich vorher einen Bildschirm abschalte. Dieses würde ich gerne mit einem Startscript automatisieren. Wie macht man sowas?

Meine /etc/X11/xorg.conf sieht wie folgt aus:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@crested)  Sun Feb  1 20:25:37 UTC 2009

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "FUS X22W-1"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "DRI"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9800 GT"
EndSection

Section "Screen"

	#SubSection "Display"
	#	Virtual	2960 1326
		#Virtual	2720 1038
	#EndSubSection
    Identifier     "Configured Screen Device"
    Device         "Configured Video Device"
    Monitor        "Monitor0"
    DefaultDepth    24
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "metamodes" "DFP-0: 1680x1050 +0+0, DFP-1: 1280x1024 +1680+0; DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1680+0; DFP-0: 1360x768 +0+0, DFP-1: nvidia-auto-select +1360+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Antworten |