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
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
gconftool- 2 --set --type bool /apps/panel/ toplevels/ bottom_ panel_screen0/ enable_ buttons false
gconftool- 2 --set --type bool /apps/panel/ toplevels/ bottom_ panel_screen0/ enable_ buttons false general/ compositing_ manager $(cat ~/.compositor)
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....
else
echo true > ~/.compositor
#to allow me to hide/unhide the bottom panel when using Do as a Dock or not as a dock....
fi
gconftool-2 --set --type bool /apps/metacity/
gnome-do