-   Linux - Software (
-   -   disable second monitor (

maenho 03-03-2005 12:17 PM

disable second monitor
I have a dell laptop with an nvidia card in it which supports two monitors. I've succesfully installed the second screen (no Xinerama) and now have a second KDE desktop on my VGA attached CRT monitor just the way I want it. I can now use this laptop to connect to a beamer to give courses. I do have some additional requests:

is it possible to turn the second screen on and off on the fly? Since 2 screens are configured in the xorg.conf file it will alwys display two KDE desktops, even if no CRT monitor or beamer is attached. This way I can loose my mousepointer on the other desktop that is not visible. I know I can change it in the xorg.conf file to just get one monitor but that's not really a quick solution in contrast with pressing Fn/F8 in windows.

second question: is it possible to show the contents of the second monitor in a window on my LCD flat panel? I don't want twinview, I'm perfectly happy with the 2 desktops but when I give presentations it would be nic to see on my flatpanel (which as a much higher resolution then the CRT) a window with the contents of the CRT desktop.

hope you can help me

acid_kewpie 03-03-2005 12:36 PM

for your first query, no you can't change it on the fly unfortunately. you would need to modify the config for X and then restart the X server. if you're using a graphical login, then this would just involve logging out, when it will restart itself.

as fo the second... again there's no smart way i know of, but i can think of potentially hacky ways to do this... try using a vnc server for example, using x11vnc to show an existing desktop. with two desktops, you can tell the vncserver to show the one you want, and then connect to that server on the other screen, and flick it to fullscreen on that side. you've then effectively got a clone.... not too elegant, but actaully it's pretty flexible and should work well once set up correctly.

maenho 03-04-2005 05:03 AM

is there a way I could let the system ask if I want 1 or 2 screens at boot?

The vnc solution works quite well alltough I'm a bit disappointed with the mousepointer movement. It's really sloppy so it's difficult to steer the cursor from the vncviewer window and that's what I want to do when I'm giving presentations. The server and the viewer are on the same host so one would expect good quality. I turned of all compression and such but the problem remains. I'm using tightvnc so maybe other viewers are more suited for this purpose. Do you know of a better viewer?

All times are GMT -5. The time now is 02:47 PM.