use Xlib/Xrandr and uses hotplugd as a basis