GodFlesh Posted October 29, 2003 Report Share Posted October 29, 2003 I have a nVidia GeForce4 card, and 2 monitors + 1 TV set. I would like to setup 2 configurations : 1) 2 monitors in xinerama configuration : this works 2) 1 monitor + tv (to watch dvd & divx) The problems is that i know how to setup this 2 configurations in my XFree-4 config files, but with 2 different config files, and i don't know how to switch from one configuration to the over. I would like for example to have the 2 configurations on 2 Xserver screens, switching from one to another with crtl-alt-F7 and crtl-alt-F8 How can i do that ? Quote Link to comment Share on other sites More sharing options...
aRTee Posted October 29, 2003 Report Share Posted October 29, 2003 Read my website, www.mandrake.tips.for.free.fr/howtos.html#multix ctrl-alt-F1 X -xf86config /path/to/test/config :1 & (the number '1' is the number of that graphical environment, you need to use it later; you can use another number if that makes you happy; I think it might be limited to 255 or so ...) Use ctrl-alt-F1 to get back to the console again, and type: export DISPLAY=:1 startkde & for kde and for gnome gnome-session & (or icewm etcetc...) Hit ctrl-alt-F7 to get to the first graphical server, ctrl-alt-F8 to get to the second. With a bit of playing, you could make some scripts that do this on startup, so you always get this automatically. (Hint: add commands to /etc/rc.local, and do use the command sudo to run the window managers as the appropriate user -- man sudo) Enjoy. Quote Link to comment Share on other sites More sharing options...
GodFlesh Posted October 29, 2003 Author Report Share Posted October 29, 2003 thanks, i will try that. Tu es suisse ? Quote Link to comment Share on other sites More sharing options...
aRTee Posted October 29, 2003 Report Share Posted October 29, 2003 Non, je suis Néerlandais. Alors, bon courage. ;) Quote Link to comment Share on other sites More sharing options...
GodFlesh Posted October 30, 2003 Author Report Share Posted October 30, 2003 Hey my topic is back ! (seemed to me it dispeared this morning) thanks artree I think i will write a shell script with X -xf86config /etc/X11/XF86Config-4-TV :1 & export DISPLAY=:1 startkde & So that when i want tv out, i just ctrl-alt-F1 ./script ctrl-alt-F8 But i have a question : can i have 2 sessions of kde (or gnome) for the same user at the same time on 2 x-free screens ? Quote Link to comment Share on other sites More sharing options...
alaa Posted October 30, 2003 Report Share Posted October 30, 2003 you can have the two configs in one file just create two seperate monitor sections and give them different identifiers then create two seperate server layout sections one using the monitor/monitors and the other using the tvout then you can choose between them by running X -layout tv_layout X -layout normal_layout replacing tv_layout and normal_layout with the server layout identifiers. if you use xinit or startx then you run them this way xinit -- -layout tv_layout startx -- -layout normal_layout and yes you can start mutliple KDE and Gnome and whatever sessions and switch between them (and yes they can be run by the same user). if the question however is to have them both visible at the same time, then no it can't be done without patching XFree. cheers, Alaa Quote Link to comment Share on other sites More sharing options...
GodFlesh Posted October 30, 2003 Author Report Share Posted October 30, 2003 thanks for the tip alla. this sound interesting do you know how i can add this to the logon manager ? I use mdkdm to choose between kde/gnome/others, and would like to be able to choose kde-xinerama or kde-tv (for example) Is this possible on a graphical logon, or is it impossible since the X-server is launched before the graphical logon ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.