I have debian squeeze with fglrx driver installed. Most of the time I use a dual display setup and sometimes I add in a third monitor (tv).
This card has only 2 clocks for DVI/HDMI ports that drives 2 monitors. The 2nd clock actually shares the DVI/HDMI and DisplayPort (displayport doesn't use a clock signal).
2 of my main monitors are connected through DVI and DisplayPort. The TV is connected through HDMI.
Setup:
DVI -> Monitor 1 > Desktop 1
DisplayPort -> Monitor 2 > Desktop 2
HDMI -> TV > Desktop 3
The problem is when I shut off the TV, Desktop 2 moves to the TV and Desktop 3 moves to Monitor 2.
If I shut off Monitor 2, Monitor 1 gets Desktop 2.
This is because display port is designed so that it tells the OS that the monitor is off (DVI and HDMI doesn't do that). This means the ATI driver moves the desktop into a available monitor.
This is extremely annoying (also happens on Windows) because I have to move back the applications/menus on Desktop 3 back to Desktop 2 etc (Microsoft says this is by design)
I don't think locking down /etc/X11/xorg.conf would fix it as the ATI driver (fglrx) is doing it.
Is there anyway to prevent it using aticonfig instead (perhaps a script that runs/manually or through atievents.d)? I want aticonfig to stop enabling the TV Desktop "monitor" everytime my receiver turns on.