Comment 11 for bug 23220

Revision history for this message
sovnarkom (sovnarkom) wrote :

Now I'm using such key-binded (dirty concept) script to (fix) consequences of this bug and similar to fix some problems with hot-plugging and hot-unplugging of external VGA screen.

Sorry for posting this here, but this place is very findable by google.

# sometimes goes grazy when virtual screen configuration changes and eats a lot cpu.
killall avant-window-navigator

# it's better to restart xfwm4 or metacity or may be compiz
killall xfwm4
xfwm4 &

# Some magic with xrandr and panels will use LVDS in
# my configuration
#
# | LVDS |
# ----------
# | VGA |
#
xrandr --output VGA --off
xrandr --output LVDS --auto -o normal --pos 0x0 --output VGA --auto --above LVDS
xrandr --output VGA --auto --below LVDS

# after all changes we can run avant
sleep 5
avant-window-navigator &