# WORKAROUND
#
# add this to your compiz startupscript (ususally /usr/bin/compiz)
# You have to add the code BEFORE compiz.real is executed.

# copy metacity custom shotcuts + commands
for i in `seq 1 12`
do
        METACITY_KB_CMD=`gconftool -g 
/apps/metacity/keybinding_commands/command_$i`
        METACITY_KB=`gconftool -g 
/apps/metacity/global_keybindings/run_command_$i`
        if [ "$METACITY_KB_CMD" != "disabled" ] && [ "$METACITY_KB_CMD" != "" ]
        then
                gconftool -s 
"/apps/compiz/general/allscreens/options/command"$i --type String 
"$METACITY_KB_CMD"
        fi
        if [ "$METACITY_KB" != "disabled" ] && [ "$METACITY_KB" != "" ]
        then
                gconftool -s 
"/apps/compiz/general/allscreens/options/run_command"$i"_key" --type String 
"$METACITY_KB"
        fi
done

# copy metacity desktop-count to compiz-hsize (fixes Cube bug)
METACITY_NUM_WORKSPACES=`gconftool -g /apps/metacity/general/num_workspaces`
gconftool -s /apps/compiz/general/screen0/options/hsize --type int 
$METACITY_NUM_WORKSPACES

# good luck !

-- 
Metacity Keyboard Shortcuts manually defined in gconf (not capplet) do not work 
with Compiz
https://bugs.launchpad.net/bugs/76965
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to