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.
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.
does anybody know how to detect d-sub connect event and handle it in linux?
thanks lots!