|10-31-06, 04:42 PM||#1|
Join Date: Oct 2006
EN7300GT & Dual Head
I need some help. I'm very new to this and haven't got a clue how to do this.
I currently have Ubuntu Linux (Dapper) on a PC with a nVidia EN7300GT configured for dual head using two CRT's.
That all works... however I also use this machine to play games, many of which play full-screen. It's really annoying when some games try to span the two screens.
Is there any way I could have a bash script or something to automatically change the xorg.conf file to enable/disable dual-head.
I don't mind having to restart the X-Server manually after using the script... just want a script to do the work of sudo'ing the changes to the conf file.
|10-31-06, 06:07 PM||#2|
Join Date: May 2006
Re: EN7300GT & Dual Head
One way to do this is to make two copies of your /etc/X11/xorg.conf
and make /etc/X11/xorg.conf a symlink to point to either one.
Using the script below(call it xswitch.sh or something) you can switch the symlink to point to the conf file of choice
e.g 'xswitch.sh s' removes old xorg.conf symlink & makes it point to xorg.conf.single
'xswitch.sh d' removes old xorg.conf symlink & makes it point to xorg.conf.dual
Hit Ctrl+Alt+Backspace to restart X server
if [ $cmdarg = "s" ] ; then
rm -f xorg.conf
ln -s xorg.conf.single xorg.conf
if [ $cmdarg = 'd' ] ; then
rm -f xorg.conf
ln -s xorg.conf.dual xorg.conf
|Thread||Thread Starter||Forum||Replies||Last Post|
|Realy messed up dual head||vdub12||NVIDIA Linux||1||09-15-02 01:26 AM|
|Best video card for running dual displays?||nutsnbolts||NVIDIA GeForce 7, 8, And 9 Series||10||09-03-02 03:02 PM|
|Help with dual monitors in Windows 2000||Hellfire||NVIDIA GeForce 7, 8, And 9 Series||11||09-03-02 09:23 AM|
|How do I get Dual Head working?||Heath||NVIDIA Linux||1||08-22-02 01:44 PM|
|mx 440 xtacy dual head and cli||squid||NVIDIA Linux||4||08-15-02 05:04 PM|