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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-17-02, 09:44 AM   #1
nuks
Registered User
 
Join Date: Dec 2002
Location: France
Posts: 5
Default change from monitor to screen without restarting X

Hello

I'll try to explain want is my current config and what I want to have

My PC :
Redhat 8.0
kernel 2.4.18-18.8.0 (i686, intel P4)
nvidia last linux drivers (1.0-4191 linux IA32)
Geforce 3 (no twinview)

I have installed the nvidia drivers and they work fine (I had some problems to configure it but now it work fine and I have not seen any bug yet) even TVout

for the moment I boot linux with runlevel 3
then i login
then I use 2 XF86config files, 1 for monitor and the other 1 for TV (XF86config.mon et XF86config.tv) and I overwrite the Xf86config file with the one I want to use

But all this is not so easy to use, so I there a way :
- to switch between XF86config files without restarting X
- or to have both starting on boot and switch between them (for example with a Ctrl+Alt+F*)


thank for anyone who can help

(sorry my english isn't very good)
nuks is offline   Reply With Quote
Old 12-17-02, 11:27 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

I'm not sure how to get them to both start on boot (you'd probably have to edit your boot scripts, which is, in general, not done lightly unless either they're simple, or you wrote them yourself in the first place), but you can get them to both start up on different virtual consoles with, for example:

export XF86CONFIG=XF86Config.mon
startx -- :0 vt07 &
Ctrl-Alt-F1
export XF86CONFIG=XF86Config.tv
startx -- :1 vt08 &


You would replace vt07 and vt08 with two actual virtual consoles that are not in use. On my system, they would be 10 and 12, but that's because I have 8 login consoles (1-8), one running top (9), one normally running X (10), and one running a DC client (11). Most distros only set things up to run 6 consoles and X on the seventh, which means you can use 07 and 08.

Then, Ctrl-Alt-F7 goes to the monitor one, and Ctrl-Alt-F8 goes to the TV one.

This will only work if the card can handle it, though...

Oh yeah, make sure both versions of the config file are in /etc/X11, as well. You can even put all of this in a script, and just run that script in place of startx, if you wanted...
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 12-17-02, 05:13 PM   #3
nuks
Registered User
 
Join Date: Dec 2002
Location: France
Posts: 5
Default

excellent !!
thank you very very much

this work very fine on my PC and it is what i want
nuks is offline   Reply With Quote
Old 12-17-02, 07:35 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Glad to be able to help!

__________________
Registered Linux User #219692
bwkaz 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
Xinerama Games launched on wrong screen BSD NVIDIA Linux 1 01-01-13 10:32 PM
Failed to change the screen brightness of the laptop. sjlopezb NVIDIA Linux 2 07-04-12 05:53 PM
[Solved] Cannot rotate screen after driver upgrade Malvineous NVIDIA Linux 3 07-02-12 07:47 AM
Toshiba Sat 1950 screen setup beaulieu NVIDIA Linux 7 06-13-03 03:17 PM
Redhat 8.0 NVIDIA works - INSTRUCTIONS STEEL1 NVIDIA Linux 267 04-15-03 06:48 PM

All times are GMT -5. The time now is 08:56 PM.


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