When I connect or disconnect the USB device, udev shows/monitors that event. But udev is not enough smart to detect the plug-out or plug-in of the monitor. Is there any way/tool/utility from which I will get real-time information about the plug-out or plug-in of a monitor?

(I know how to get EDID information at some point in time, but not how to react when a monitor is plugged in.)


I think there is no daemon for that. You could however write a script to periodically parse xorg.log or you may be able to use xrandr, but I am not at my Linux box right now, so I can't tell exactly.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.