Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 23/04/2007, à 14:27

Kadwin

Dual screen/ecran principal

Salut smile



J'ai 2 ecran cathodiques! J'ai configuré un dual screen avec twinview (geforce 6800) et l'ecran principal est celui de gauche! Lorsque j'utilise beryl ou compiz comme gestionnaire de fenetres toutes les applications et fenetres s'ouvrent sur l'ecran de gauche, ce qui me va tres bien!

Mais le probleme est que lorsque j'utilise metacity comme gestionnaire de fenetres toutes les applications s'ouvrent sur l'ecran de droite, et ça me va moins bien!


Voici mon xorg.conf:

##########################################################
# Section ServerLayout :                 #
##########################################################

Section "ServerLayout"
    Identifier     "Layout0"
    Screen         "Ecran gauche"
    Screen         "Ecran droit"  
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

##########################################################
# Section Files :                     ##
##########################################################

Section "Files"

	# path to defoma fonts
    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"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

##########################################################
# Section Modules :                     #
##########################################################

Section "Module"
    Load           "dbe"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
EndSection

##########################################################
# Section InputDevice:                     #
##########################################################

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fr"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

##########################################################
# Section Monitor:                     #
##########################################################

Section "Monitor"
    Identifier     "103026"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier	  "IBM G74"
    HorizSync	   30-69
    VertRefresh	   50-120
    Option	  "DPMS"
EndSection

##########################################################
# Section Device:                     #
##########################################################

Section "Device"
    Identifier     "NVIDIA Corporation NV41.1 [GeForce 6800]"
    Driver         "nvidia" 
    Option         "RenderAccel"        "true"        
    Option         "AllowGLXWithComposite"    "true"        
    Option         "TwinView"        "true"              # Active le double écrans
    Option         "TwinViewOrientation"    "RightOf"    # Définie la position des écrans
    Option         "MetaModes"        "1280x1024,1280x1024; 1280x1024,1280x1024"
    Option         "ConnectedMonitor"    "CRT, CRT"      # Définie le type des écrans
EndSection

#########################################################
# Section Screen:                    #
#########################################################
## ECRAN DE GAUCHE
Section "Screen"
    Identifier     "Ecran gauche"
    Device         "NVIDIA Corporation NV41.1 [GeForce 6800]"
    Monitor        "103026"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "true"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
## ECRAN DE DROITE
Section "Screen"
    Identifier     "Ecran droit"
    Device         "NVIDIA Corporation NV41.1 [GeForce 6800]"
    Monitor        "IBM G74"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "true"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Donc comment faire pour que meme sous metacity tout s'ouvre sur mon ecran principal, donc le gauche??

Hors ligne

#2 Le 24/04/2007, à 07:52

Kadwin

Re : Dual screen/ecran principal

Up!

Hors ligne

#3 Le 25/04/2007, à 07:50

Kadwin

Re : Dual screen/ecran principal

Sinon petit soucis aussi avec le jeux Max payne; lorsque que je le lance, dans la fenetre de demarrage, dans le choix de la resolution, je n'ai que 2560*1024 et le jeux se lance donc étalé sur les 2 écrans.

Y'a-t-il un moyen de rajouter la résolution 1280*1024??

Hors ligne