title: Spawned terminal appears on different desktop
body: <p>I have a python script which starts a new instance in a new terminal window every minute using xterm (see below). I am running solaris with the Java desktop that has multiple desktops(?), if working on a different desktop the new terminal appears when I would like it to appear on the desktop where the script is intially run. I am sure the answer would be an xterm command but can't find it anywhere!</p>
  
  <pre><code>import sys, os, subprocess, time
  
  i = 1
  
  args = ['xterm', '-e', 'python2.6', 'script.py']
  
  x = int(sys.argv[1])
  
  while i &lt;= x:
          subprocess.Popen(args)
          i += 1
          time.sleep(60)
  </code></pre>