Fix: To make compiz work fine with dual head on Hardy

1. Create compiz-dual.sh script that looks like:

for screenName in :0.0 :0.1 :1.0 :1.1
do
    xdpyinfo -display $screenName > /dev/null 2>&1
    if [ $? -eq 0 ]
    then
        DISPLAY=$screenName compiz --only-current-screen &
        sleep 3
        # DISPLAY=$screenName avant-window-navigator &
    fi
done


Add execute flag to this script: chmod +x compiz-dual.sh
What this script basically does is running separate compiz sessions for each 
screen. The AWN start is optional (if you need AWN to start on each screen then 
remove the # from the script above).
xdpyinfo command tells if a screen is available.

2. Add compiz-dual.sh to Gnome startup (System->Preferences->Sessions)

3. Disable visual efects: Appearance->Visual effects - Set to None.

-- 
ubuntu gutsy 7.10 / compiz / second xscreen / no keyboard
https://bugs.launchpad.net/bugs/173517
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to