<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>I have a triple monitor (one is TV) setup on radeon HD 5800 and using the fglrx driver on debian Squeeze.</div><div><br></div><div>Monitor #1 is connected directly through DisplayPort <br></div><div>Monitor #2 is connected directly throught DVI.</div><div>Monitor #3 (TV) is connected to receiver that is connected to video card through HDMI <br></div><div><br></div><div>Both HDMI and DisplayPort support hot plug notification where it notifies the OS that the monitor is turned off.</div><div><br></div><div>The problem is that I only use 2 monitors or just the TV. However, when I turn on the receiver to listen to music, fglrx receives a hot plug event (cause it's connected to the receiver through HDMI).</div><div><br></div><div>This cause fglrx to swap the desktops. The desktop displayed on monitor #2 will be displayed on the
 TV etc.</div><div><br></div><div>It's even worse if I turn off monitor #1. Now all 3 desktops display on monitor #2. All my panels, icons, and configuration will moved to the wrong monitor and will not be moved back when monitor is turned on.</div><div><br></div><div>I wrote a script to fix these issues. Now when a hot plug event occurs, I manually run the script and it restores the original desktop configuration.<br></div><div><br></div><div>Is there a way to disable hot plug events? If there isn't, is there at least a way to have the script run automatically?<br></div></div></body></html>