triggering xrandr from VGA plug event - intel 965GM

Colin Guthrie gmane at colin.guthr.ie
Fri Jul 6 01:41:44 PDT 2007


Martin Langhoff wrote:
> When I plug an external monitor to the VGA port of the i965GM, should
> there be a dbus or udev event? Or some other event? I want to be able
> to trigger xrandr --auto on monitor unplug, and xrandr --output VGA
> --right-of LVDS --auto on monitor plug.
> 
>        In other words - MacOSX has been a bad influence  ;-)
> 
> Neither dbus-monitor (which I think should show hal events?) nor
> udev-monitor show anything. kern.log doesn't hear of it.
> 
> Where should I be looking?

Yeah it would be nice to be able to do this. If you run in a DE (Gnome,
KDE etc) it would be good to get a UI pop up to allow you to run the
underlying xrandr commands rather than just run the command
automatically, but I very much subscribe to the idea that this should be
possible.

Col




More information about the xorg mailing list