Notification on output hotplug
daniel at fooishbar.org
Wed May 7 13:15:40 PDT 2008
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the xorg