Sorry for the late reply, just got back from a trip.

If you want, you can spend a few minutes making buttons on a panel to
turn the external monitor on/off.

First, run 'xrandr -q' to list your output options. They will look
like this: LVDS, VGA, VGA1, CRT1, DFP1, etc.

Now, assuming LVDS is your built-in monitor and VGA is the external
monitor, you can use xrandr to do the video mode switching for you:

Internal monitor only (external off.)
xrandr -display :0 --output VGA --off \
       --output LVDS --primary --auto

External monitor only (internal off.)
xrandr -display :0 --output VGA --primary --auto \
       --output LVDS --off

Both monitors showing the same thing (if different resolutions, the
smaller one will be clipped)
xrandr -display :0 --output VGA --same-as LVDS \
       --output LVDS --primary --rotate inverted --auto


Instead of --auto, you can specify resolutions, e.g. '--mode 1024x600
--dpi 96'. This is handy if you want both monitors to show exactly the
same thing but they have different native resolutions. Alternately,
you can use panning so the small screen follows the mouse cursor,
'--panning 1280x1024', where 1280x1024 is larger than the native
resolution.

-Mark C.

On Sat, Apr 23, 2011 at 12:31 AM, Craig McLean <craigmcl...@shaw.ca> wrote:
> Does Linux (in particular Ubuntu 10.10, using the Nvidia X Server
> proprietary driver) allow you to easily configure an external display
> device.  What I’m thinking of here is the scenario where you show up to do a
> presentation and just plug a projector or large LCD panel in to a laptop
> that is already turned on hit a display switch hot key and start
> presenting.  I do this in Windows all the time but I’ve been to enough CLUG
> and Protospace presentations to know that on Linux this always turns into a
> mess of X-Server restarts and plenty of tweaking config settings.
>
>
>
> Is there any way to make that just work?
>
>
>
> Craig.
>
> _______________________________________________
> clug-talk mailing list
> clug-talk@clug.ca
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>

_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to