In the past I have used a script like this: #!/bin/sh echo Choose external resolution: echo " 1.) 800x600" echo " 2.) 1024x768" read res if [ "$res" == "1" ]; then startx -- -screen Screen2 fi if [ "$res" == "2" ]; then startx -- -screen Screen1 fi to choose from two different Screen sections (to specify the resolution of my external display to work on LCD projectors) when starting X. You might be able to do the same by having two uniqely named device sections and calling them in a similar fashion. startx -- -device dual Then again, maybe you can't have two device sections ... actually you should be able to since you can have two video cards. Austin Gene Holmerud wrote: > Thanks to Eric "Shubes of Phoenix Linux User Group who corrected my > XF86Config, TwinView works (mostly) on my HP laptop under 9.1. The only > inconvience is needing to comment/uncomment a few lines depending upon > whither the external monitor is present or not. When configured for an > external monitor, TwinView insists on using the external as the prime > monitor, hence no system icons available if no external. > > The following is the "Device" section of XF86Config for having an > external monitor (but with non-dual statements commented): > > Section "Device" > BoardName "0x031a" > BusID "1:0:0" > Driver "nvidia" > Identifier "Device[0]" > VendorName "NVidia" > Option "TwinView" "True" > # Option "ConnectedMonitor" "DFP, CRT" > Option "TwinViewOrientation" "CRT-0 RightOf DFP-0" > Option "MetaModes" "1024x768, 1024x768; 800x640, 800x640; > 640x480, 640x480" > # Option "MetaModes" "NULL, 1024x768; NULL, 800x640; NULL, 640x480" > Option "HorizSync" "CRT-0: 31-64, DFP-0: 31-64" > Option "VertRefresh" "CRT-0: 50, DFP-0: 60" > # Option "HorizSync" "DFP-0: 31-64" > # Option "VertRefresh" "DFP-0: 50-78" > Option "SecondMonitorHorizSync" "CRT-0: 31-64" > Option "SecondMonitorVertRefresh" "CRT-0: 50-78" > EndSection > > The following is the "Device" section for not having an external > monitor, but saving the dual statements as comments. > > Section "Device" > BoardName "0x031a" > BusID "1:0:0" > Driver "nvidia" > Identifier "Device[0]" > VendorName "NVidia" > Option "TwinView" "True" > # Option "ConnectedMonitor" "DFP, CRT" > Option "TwinViewOrientation" "CRT-0 RightOf DFP-0" > # Option "MetaModes" "1024x768, 1024x768; 800x640, 800x640; > 640x480, 640x480" > Option "MetaModes" "NULL, 1024x768; NULL, 800x640; NULL, 640x480" > # Option "HorizSync" "CRT-0: 31-64, DFP-0: 31-64" > # Option "VertRefresh" "CRT-0: 50, DFP-0: 60" > Option "HorizSync" "DFP-0: 31-64" > Option "VertRefresh" "DFP-0: 50-78" > Option "SecondMonitorHorizSync" "CRT-0: 31-64" > Option "SecondMonitorVertRefresh" "CRT-0: 50-78" > EndSection > > Hope this helps anyone else trying to do the same thing. > > Gene > > ------- Forwarded message ------- > From: Gene Holmerud > To: "suse-linux-e@suse.com" > Subject: [SLE] TwinView Multi-Monitors on a laptop??? > Date: Wed, 11 Aug 2004 21:13:12 -0700 > >> Was: [SLE] Nvidia now OK -- But how about Multi-Monitors on a laptop??? >> >> James Ogley's reference to: >> Appendix R of >> ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6111/README.txt >> helped a bunch! So did a pretty good example at >> http://weller.ws/toshiba/XF86Config-4. >> >> Unfortunately, I'm still getting a clone of the laptop display on the >> external CRT. But since it has a lower resolution that the laptop >> itself, >> an oversize display is on the laptop requiring scrolling. If I get a >> desktop extension onto the external monitor, I will buy an external that >> matches the laptop. >> >> I'm attaching the text of my XF86Config and XFree86.0.log (excerpts >> due to >> this list's size limit). If somebody has experienced this, I'd like some >> tips. --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss