dbus-send --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/cubedbus/allscreens/add org.freedesktop.compiz.activate string:'root' int32:`xwininfo -root | grep id: | awk '{ print $4 }'` string:'type' int32:4 string:'name' string:'root.window' string:'x0' double:-0.5 string:'y0' double:0.5 string:'z0' double:-0.5 string:'x1' double:-0.5 string:'y1' double:0.5 string:'z1' double:0.5 string:'x2' double:-0.5 string:'y2' double:-0.5 string:'z2' double:0.5 string:'x3' double:-0.5 string:'y3' double:-0.5 string:'z3' double:-0.5 string:'win' int32:` xwininfo | grep id: | awk '{ print $4 }'` #Run this in terminal - then click on a window to draw it in cube