Originally Posted by mrooney
Thanks, this does seem to work well enough indeed! I wonder if this solution will still work though, if I end up getting a second monitor at home too?
it will, as long as the monitor at home is attached to the same port.
as you can see in my xorg.conf there is no exact resolution configured for the second monitor. i used "nvidia-auto-select".
so every attached monitor will negotiate the resolution with the gfx-card.
this way it will automatically work with any monitor, as long as it supports EDID and is attached to the specified port (DFP-2 or DFP-1).
i have not tried, but maybe a second "metamodes"-line with DFP-2 replaced with DFP-1 or CRT-0 (depends on monitor and port) right under the first "metamodes"-line will do the trick, if the monitor at home will be attached on other port.
on my notebook DFP-0 is internal notebook-panel, DFP-1 is a monitor connected at the DVI-port of the notebook, DFP-2 is a monitor connected at the DVI-port of the port-replicator, CRT-0 is a monitor connected at the VGA-port of the notebook, CRT-1 is a monitor connected at the VGA-port of the port-replicator.