Thanks Romain and Olivier (and Vijay),

Romain Bertrand wrote:
> Check the Virtual option of xorg.conf (in subsection Display)

Olivier Mehani wrote:
> Maybe add the following to your xorg.conf, and have a quick read of [0]
> for more details.
> ...
> [0] http://www.thinkwiki.org/wiki/Xorg_RandR_1.2#the_Virtual_screen

The page "Xorg RandR 1.2" in the link above was very much worth reading.

Created xorg.conf as root using 'Xorg -configure'
then added 'Virtual   2480 1050' to each "Display" subsection.
e.g.

        SubSection "Display"
                Viewport   0 0
                Depth     24
                Virtual 2480 1050
        EndSubSection

Now it works like a charm:

 $ xrandr --output VGA --auto --left-of LVDS --output LVDS --auto

and I've added a kludge-like toggle to .fvwmrc

+ "Dual Head Video%/usr/local/share/pixmaps/vga-dual-16x16.xpm%" \
 Exec exec xrandr | grep -q "VGA connected (" \
 && xrandr --output VGA --left-of LVDS --auto  \
 || xrandr --output VGA --off --output LVDS --auto

Some lame 16x16 xpm icons:
        http://www-personal.umich.edu/~lars/images/

Regards,
-Lars

Reply via email to