Do

Comment 8 for bug 321742

Revision history for this message
Jonathan Austin (mailforwho) wrote : Re: Should detect when Composite has been enabled/disabled.

I use this script to toggle metacity's compositor (it affects video playback on this computer). It also deals with Do. I keep a launcher for it on my panel and it is very useful.

#/bin/bash
killall gnome-do
 if [ $(cat ~/.compositor) = true ]; then
               echo false > ~/.compositor
               #to allow me to hide/unhide the bottom panel when using Do as a Dock or not as a dock....
               gconftool-2 --set --type bool /apps/panel/toplevels/bottom_panel_screen0/enable_buttons false
       else
               echo true > ~/.compositor
               #to allow me to hide/unhide the bottom panel when using Do as a Dock or not as a dock....
               gconftool-2 --set --type bool /apps/panel/toplevels/bottom_panel_screen0/enable_buttons false
 fi
gconftool-2 --set --type bool /apps/metacity/general/compositing_manager $(cat ~/.compositor)
gnome-do