Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
The protocol that the monitor uses to report information to the computer is called EDID, so this question is actually a duplicate of Edid information. –  Gilles Feb 21 '11 at 20:48
    
I've just noticed you were the one who posted the original question. How is this one different? (I initially thought you were a different person who didn't know about EDID.) –  Gilles Feb 21 '11 at 20:52
    
@Gilles, Yes I am the one who posted that Question too. But the reason to post here with different Question ( and with same intention ), is to have the solution which will be something different than EDID solution. Though , still I am fighting with that solution too. –  SHW Feb 22 '11 at 6:20
add comment

1 Answer

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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