|12-17-02, 09:44 AM||#1|
Join Date: Dec 2002
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)
|12-17-02, 11:27 AM||#2|
Join Date: Sep 2002
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...
Registered Linux User #219692
|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|