bash script iterating multiple instances of java GUI on different desktops
Hi,
Does anybody have an Idea of how to launch a simple java GUI app via a bash script which would iterate through (or even more simply just repeat itself 4 times) desktop displays and start the application to be run on each desktop? for example I have a small java clock which i would like to run (seperate instances of) on each of my 4 local displays: 0.0, 0.1, 0.2, 0.3 but I only want to run the script once.
Currently, I'm using the following script called "javaClock":
#!/bin/bash
/usr/java/latest/bin/java -jar "/home/devel/javaProjects/javaClock/dist/javaClock.jar"
and simply dragging it from one desktop to the other I would like for it to open on each desktop, so that I can at it to my boot processes.
Thanks in advance.
Andy
|