I\'ve got an eeepc with an intel graphics. I\'d like to hook a script to the event of a monitor plugged via VGA. How to do that?
You have three options:
change
uevent for the device you want.In any of the ways mentioned, you're still going to have to poll in one way or another, so I'd just go with the first option.