On Tue, 30 Jul 2002, sjb wrote:

> Is it possible to trigger the Ctrl Alt - and Ctrl Alt + resolution 
> changes programatically?
> 
> I have a small laptop with a "Zoom" button .. in windows this switches 
> resolutions - it'd be very useful to be able to do the same in Linux. I 
> know when the button has bee pressed .. I just need to know if I can 
> then tell X to change resolutions.

The XFree86-VidModeExtension will do this.
See
        man XF86VidModeSwitchMode
and
        #include <X11/extensions/xf86vmode.h>

-- 
Dr. Andrew C. Aitchison         Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to