Wmctrl allows you to move windows around the screen, resize windows and other options. For a full list of options use: wmctrl --help For compiz, the desktop is extended in either/and the x y directions. For example if you have 4 sides to the cube your x direction is extended 4 times. If you desktop is 1920 wide, then the second viewport, or the second side of the cube starts at x position 1921. To move a windows to the second cube face you want to relocate it to x position 1921. The -e option of wmctrl does exactly this. Use -r to select the window that you want to automatically relocate. An example of the code to use in a startup script is as follows. This code snippet replaces mythtv to the second face of my desktop cube. wmctrl -r "mythfrontend.real" -e 0,1921,0,1920,1080

You can see mythtv on the second face of the cube.

You can see mythtv on the second face of the cube.

Heres a previous post for additional reference.