Notification on output hotplug
Ross Burton
ross at burtonini.com
Wed May 7 13:30:03 PDT 2008
On Wed, 2008-05-07 at 23:15 +0300, Daniel Stone wrote:
> On Wed, May 07, 2008 at 09:12:49PM +0100, Ross Burton wrote:
> > Is there some way for X clients to be notified when output devices are
> > hotplugged? I have a script that I manually run when I plug in my
> > external monitor (xrandr, change wallpaper, etc) which I'd like to have
> > ran automatically instead.
>
> See RROutputChangeNotifyEvent. Unfortunately, this only really works
> for TMDS/DVI, as VGA requires polling.
An option to poll would be much appreciated...
Ross
--
Ross Burton mail: ross at burtonini.com
jabber: ross at burtonini.com
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
More information about the xorg
mailing list