Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-31-06, 03:42 PM   #1
Hades2000
Registered User
 
Join Date: Oct 2006
Posts: 2
Default EN7300GT & Dual Head

Hi

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.

Any ideas?
Hades2000 is offline   Reply With Quote
Old 10-31-06, 05:07 PM   #2
merrick
Registered User
 
Join Date: May 2006
Posts: 8
Default Re: EN7300GT & Dual Head

One way to do this is to make two copies of your /etc/X11/xorg.conf

e.g xorg.conf.single
xorg.conf.dual

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


------------------------
#!/bin/sh

cmdarg=$1

echo $cmdarg
cd /etc/X11

if [ $cmdarg = "s" ] ; then
rm -f xorg.conf
ln -s xorg.conf.single xorg.conf
fi

if [ $cmdarg = 'd' ] ; then
rm -f xorg.conf
ln -s xorg.conf.dual xorg.conf
fi
merrick is offline   Reply With Quote
Old 11-01-06, 04:21 PM   #3
Hades2000
Registered User
 
Join Date: Oct 2006
Posts: 2
Default Re: EN7300GT & Dual Head

Thanks... that's just what I was looking for.
Hades2000 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Realy messed up dual head vdub12 NVIDIA Linux 1 09-15-02 12:26 AM
Best video card for running dual displays? nutsnbolts NVIDIA GeForce 7, 8, And 9 Series 10 09-03-02 02:02 PM
Help with dual monitors in Windows 2000 Hellfire NVIDIA GeForce 7, 8, And 9 Series 11 09-03-02 08:23 AM
How do I get Dual Head working? Heath NVIDIA Linux 1 08-22-02 12:44 PM
mx 440 xtacy dual head and cli squid NVIDIA Linux 4 08-15-02 04:04 PM

All times are GMT -5. The time now is 03:42 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.