change from monitor to screen without restarting X
I'll try to explain want is my current config and what I want to have
My PC :
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)
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:
startx -- :0 vt07 &
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...
thank you very very much
this work very fine on my PC and it is what i want :D
Glad to be able to help!
|All times are GMT -5. The time now is 12:18 PM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.