because i'm convinced that dual monitor support does not work for me, i only use an external monitor connected to my laptop. i wrote some nice scripts that i run when i want to switch between the monitor and the laptop display, but it'd be really nice if these could be run automatically by polling for events triggered by the monitor being plugged or unplugged. i know they must exist, but where? i read on a newsgroup that something changes here:

but i can't seem to find it.