title: will linux emit event when monitor connect with D-sub connector?
body: <p>I want to write a software, when monitor connect with D-sub connector,
  this software will pop-up, and ask user to mirror monitor or extend monitor.</p>
  
  <p>but i doesn't find any event emit when d-sub connect.
  on Windows vista, if you connect a monitor, vista can pop-up a software to same thing.</p>
  
  <p>does anybody know how to detect d-sub connect event and handle it in linux?</p>
  
  <p>thanks lots!</p>