Pages : 1
#1 Le 05/02/2006, à 14:19
- bamoo
Dual screen : inverser les 2 écrans
Bonjour,
J'ai 2 écrans en dualscreen que j'aimerais inverser. Je ne veux pas inverser les câbles car j'ai des problèmes sous Windows sinon :-(
Enfin, ca doit pouvoir se faire avec le fichier /etc/X11/xorg.conf, non ?
J'ai essayé d'inverser ces lignes (sans succès) :
Screen 0 "Screen1"
Screen 1 "Screen0" rightof "Screen1"
Voici mon fichier :
# /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 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 "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
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"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr-latin9"
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 "Device"
Identifier "NVIDIA6800GT"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TwinView" "true"
Option "TwinViewOrientation" "RightOf"
#Option "TVOutFormat" "S-VIDEO"
#Option "TVStandard" "PAL-N"
Option "SecondMonitorHorizSync" "65-75"
Option "SecondMonitorVertRefresh" "50-150"
Option "MetaModes" "1024x768,1024x768;1024x768,1024x768"
Option "NoLogo" "1"
EndSection
Section "Monitor"
Identifier "PHILIPS 107M"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "PHILIPS 104B"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA6800GT"
Monitor "PHILIPS 107M"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "NVIDIA6800GT"
Monitor "PHILIPS 104B"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen1"
Screen 1 "Screen0" rightof "Screen1"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
#2 Le 05/02/2006, à 15:54
- HoPHP
Re : Dual screen : inverser les 2 écrans
Salut.
Tout d'abord, tu pourrais mettre la copie de ton fichier entre [code] et [/code], ce serait largement plus agréable à la lecture. Merci d'avance.
Sinon, si je comprends bien ton problème, tu veux les inverser. C'est à dire. Les inverser physiquement droite-gauche ? Si c'est le cas, le plus simple, je crois, c'est sans doute de remplacer cette ligne :
Screen 1 "Screen0" rightof "Screen1"
par celle-ci :
Screen 1 "Screen0" leftof "Screen1"
(donc remplacer rightof par leftof).
@+, HoPHP
Dernière modification par HoPHP (Le 05/02/2006, à 15:55)
Merci de ne pas jeter d'arguments aux trolls qui se trouvent dans la fosse.
HoPHP est mort, vive OdyX
Hors ligne
#3 Le 05/02/2006, à 17:32
- bamoo
Re : Dual screen : inverser les 2 écrans
C'est ce que j'ai essayé mais ca ne fonctionne pas...
PS : désolé pour les balises, j'y pense habituellement
#4 Le 05/02/2006, à 18:58
- HoPHP
Re : Dual screen : inverser les 2 écrans
Au temps pour moi, j'ai oublié que tu n'étais pas connecté.
Deuxième essai alors...
En plus de la modification sus-citée, tu pourrais essayer de modifier cette ligne, de la même manière :
Option "TwinViewOrientation" "RightOf"
en
Option "TwinViewOrientation" "LeftOf"
@+, HoPHP
Merci de ne pas jeter d'arguments aux trolls qui se trouvent dans la fosse.
HoPHP est mort, vive OdyX
Hors ligne
#5 Le 05/02/2006, à 22:15
- bamoo
Re : Dual screen : inverser les 2 écrans
Non, ca ne marche pas
J'ai également essayé ca dans Device (sans succès) :
Option "MonitorLayout" "CRT,LVDS"
#6 Le 05/02/2006, à 22:36
- HoPHP
Re : Dual screen : inverser les 2 écrans
FAIS UNE COPIE DE TON ANCIEN xorg.conf
Essaye avec celui-là, s'il-te-plaît :
# /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 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 "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/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
# FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "freetype"
Load "glx" # 3D Layer
Load "ddc"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr-latin9"
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 "Device"
Identifier "NVIDIA6800GT"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TwinView" "true"
Option "TwinViewOrientation" "LeftOf"
#Option "TVOutFormat" "S-VIDEO"
#Option "TVStandard" "PAL-N"
Option "SecondMonitorHorizSync" "65-75"
Option "SecondMonitorVertRefresh" "50-150"
Option "MetaModes" "1024x768,1024x768;1024x768,1024x768"
Option "NoLogo" "1"
EndSection
Section "Monitor"
Identifier "PHILIPS 107M"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "PHILIPS 104B"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA6800GT"
Monitor "PHILIPS 107M"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "NVIDIA6800GT"
Monitor "PHILIPS 104B"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen1"
Screen 1 "Screen0" Leftof "Screen1"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Et si ça ne marche pas, avec celui-là :
# /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 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 "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/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
# FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "freetype"
Load "glx" # 3D Layer
Load "ddc"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr-latin9"
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 "Device"
Identifier "NVIDIA6800GT"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TwinView" "true"
Option "TwinViewOrientation" "LeftOf"
#Option "TVOutFormat" "S-VIDEO"
#Option "TVStandard" "PAL-N"
Option "SecondMonitorHorizSync" "65-75"
Option "SecondMonitorVertRefresh" "50-150"
Option "MetaModes" "1024x768,1024x768;1024x768,1024x768"
Option "NoLogo" "1"
EndSection
Section "Monitor"
Identifier "PHILIPS 107M"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "PHILIPS 104B"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA6800GT"
Monitor "PHILIPS 107M"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "NVIDIA6800GT"
Monitor "PHILIPS 104B"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" Leftof "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Et si non, tu reviens réclamer et tu remets l'ancien, dont tu avais fait une copie. Bien entendu, il faut redémarrer le serveur X à chaque fois ([Ctrl]-[Alt]-[BackSpace], en ayant quitté tous les programmes ouverts).
@+, HoPHP
Merci de ne pas jeter d'arguments aux trolls qui se trouvent dans la fosse.
HoPHP est mort, vive OdyX
Hors ligne
#7 Le 05/02/2006, à 23:23
- bamoo
Re : Dual screen : inverser les 2 écrans
Ca ne fonctionne pas et mon serveur X ne démarre pas avec tes 2 fichiers. J'ai regardé les logs mais il n'y a pas d'erreurs (aucune ligne avec EE dans le Xorg.0.log).
J'ai également regardé les différences avec mes fichiers, mais je ne comprends pas vraiment l'utilité de ce que tu as changé. Est ce que tu vois le problème ?
Merci
Pages : 1