You are not logged in.
Hey,
i got a day ago an old TFT from my girlfriend, and after fiddling around with the xorg.conf im finaly finished with it, exept one annoying problem
I've made some server-layouts for
Singleview = only CRT
TwinView1 = CRT + TFT
TwinView2 = CRT + TV
CloneView1 = CRT + TFT
CloneView2 = CRT + TV
also an nifty chooserscript to start as user from VT or X ( in this case a 2nd X is started )
but my problem is that in every tvinview or clone mode the CRT + TFT is launched insted of CRT + TV for the coresspondending modes...
im a bit irritated... hope some one can help me
EDIT:
Found an solution
Option "ConnectedMonitor" "CRT-1, TV"
the only thing left is that it uses the TFT + TV
but i think i can live with it ^^
annyway thanks
My xorg.conf, feel free to use both
Section "Files"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/TTF"
EndSection
Section "Module"
Load "bitmap"
Load "glx"
Load "extmod"
Load "freetype"
Load "int10"
Load "vbe"
Load "dbe"
EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbVariant" "euro"
EndSection
Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Buttons" "7"
Option "ButtonMapping" "1 2 3 6 7"
Option "Emulate3Buttons" "false"
EndSection
Section "Monitor"
Identifier "Monitor"
VendorName "Highscreen"
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6800 LE"
EndSection
Section "Screen"
Identifier "Screen-Singleview"
Device "Videocard"
Monitor "Monitor"
DefaultDepth 24
Option "NoLogo" "True"
Option "RenderAccel" "True"
Option "HWCursor" "True"
Option "UseCompositeWrapper" "True"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "OnDemandVBlankInterrupts" "True"
Option "PixmapCacheSize" "16777216" # = 16 megabytes / 1 mb = 1048576
Option "AllowSHMPixmaps" "False"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen-Twinview-DualMonitor"
Device "Videocard"
Monitor "Monitor"
DefaultDepth 24
Option "NoLogo" "True"
Option "RenderAccel" "True"
Option "HWCursor" "True"
Option "UseCompositeWrapper" "True"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "OnDemandVBlankInterrupts" "True"
Option "PixmapCacheSize" "16777216"
Option "AllowSHMPixmaps" "False"
Option "ConnectToAcpid" "False"
Option "TwinView" "1"
Option "TwinViewOrientation" "DFP RightOf CRT"
Option "TwinViewXineramaInfoOrder" "CRT, DFP"
Option "metamodes" "CRT: 1280x1024 +0+0, DFP: 1280x1024 +1280+0; CRT: 1280x1024 +0+0; CRT: 1024x768 +0+0, DFP: 1024x768 +1024+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0, DFP: 800x600 +800+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0, DFP: 640x480 +640+0; CRT: 640x480 +0+0"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen-Twinview-MonitorTv"
Device "Videocard"
Monitor "Monitor"
DefaultDepth 24
Option "NoLogo" "True"
Option "RenderAccel" "True"
Option "HWCursor" "True"
Option "UseCompositeWrapper" "True"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "OnDemandVBlankInterrupts" "True"
Option "PixmapCacheSize" "16777216"
Option "AllowSHMPixmaps" "False"
Option "ConnectToAcpid" "False"
Option "TwinView" "on"
Option "ConnectedMonitor" "CRT-1, TV"
# Option "TwinViewOrientation" "TV RightOf CRT"
# Option "TwinViewXineramaInfoOrder" "CRT, TV"
Option "MetaModes" "1024x768,1024x768;800x600,800x600"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "SVIDEO"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen-Cloneview-DualMonitor"
Device "Videocard"
Monitor "Monitor"
Option "NoLogo" "True"
Option "RenderAccel" "True"
Option "HWCursor" "True"
Option "UseCompositeWrapper" "True"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "OnDemandVBlankInterrupts" "True"
Option "PixmapCacheSize" "16777216"
Option "AllowSHMPixmaps" "False"
Option "ConnectToAcpid" "False"
Option "TwinView" "on"
Option "TwinViewOrientation" "Clone"
Option "MetaModes" "1280x1024,1280x1024;1024x768,1024x768;800x600,800x600"
DefaultDepth 24
Subsection "Display"
Depth 24
EndSubsection
EndSection
Section "Screen"
Identifier "Screen-Cloneview-MonitorTv"
Device "Videocard"
Monitor "Monitor"
DefaultDepth 24
Option "NoLogo" "True"
Option "RenderAccel" "True"
Option "HWCursor" "True"
Option "UseCompositeWrapper" "True"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "UseEvents" "True"
Option "OnDemandVBlankInterrupts" "True"
Option "PixmapCacheSize" "16777216"
Option "AllowSHMPixmaps" "False"
Option "ConnectToAcpid" "False"
Option "TwinView" "on"
Option "ConnectedMonitor" "CRT-1, TV"
Option "TwinViewOrientation" "Clone"
Option "MetaModes" "1024x768,1024x768;800x600,800x600"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "SVIDEO"
DefaultDepth 24
Subsection "Display"
Depth 24
EndSubsection
EndSection
Section "ServerLayout"
Identifier "twinview-dualmonitor"
Screen 0 "Screen-Twinview-DualMonitor" 0 0
InputDevice "Keyboard"
InputDevice "Mouse"
EndSection
Section "ServerLayout"
Identifier "singleview"
Screen "Screen-Singleview"
InputDevice "Keyboard"
InputDevice "Mouse"
EndSection
Section "ServerLayout"
Identifier "twinview-monitortv"
Screen 0 "Screen-Twinview-MonitorTv" 0 0
InputDevice "Keyboard"
InputDevice "Mouse"
EndSection
Section "ServerLayout"
Identifier "cloneview-dualmonitor"
Screen "Screen-Cloneview-DualMonitor"
InputDevice "Keyboard"
InputDevice "Mouse"
EndSection
Section "ServerLayout"
Identifier "cloneview-monitortv"
Screen "Screen-Cloneview-MonitorTv"
InputDevice "Keyboard"
InputDevice "Mouse"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
the chooserscript
#!/bin/bash
tempfile="/tmp/answer.$$"
if [ -f $tempfile ]
then
rm $tempfile
fi
if ps ax | grep -v grep | grep /usr/bin/X > /dev/null
then
VIRTUALT=1
else
VIRTUALT=0
fi
dialog --backtitle "X-Server Layoutchooser" --title "Choose an Layout"\
--cancel-label "Quit"\
--menu "Move using [UP] [DOWN], [Enter] to select" 17 60 10\
singleview "SingleView only Main Monitor"\
twinview-dualmonitor "TwinView with Monitor + Monitor"\
twinview-monitortv "TwinView with Monitor + TV"\
cloneview-dualmonitor "CloneView with Monitor + Monitor"\
cloneview-monitortv "CloneView with Monitor + TV"\
Quit "Exit demo program" 2>$tempfile
result=`cat $tempfile` && rm $tempfile
case $result in
singleview)
startx -- :$VIRTUALT -layout singleview
;;
twinview-dualmonitor)
startx -- :$VIRTUALT -layout twinview-dualmonitor
;;
twinview-monitortv)
startx -- :$VIRTUALT -layout twinview-monitortv
;;
cloneview-dualmonitor)
startx -- :$VIRTUALT -layout cloneview-dualmonitor
;;
cloneview-monitortv)
startx -- :$VIRTUALT -layout cloneview-monitortv
;;
Quit)
exit
;;
esac
exit 0
Last edited by fana-m (2009-04-06 15:35:45)
Offline