From my limited experience w/ the 2 of them (today
), I think that wmctrl
might be a better solution -- for one thing, it actually has usable documentation.
A good beginning: http://www.linux.com/feature/122471?theme=print
Also do an LQ search on "wmctrl
", I think there were only 25 threads listed a few minutes ago & some of them had solutions to your problem.