esya
August 20th, 2010, 05:25 PM
Hello,
I have been searching for my problem but I could not find a solution.
I am trying to run commands on different terminals from python code.
I can run commands by using os.popen(command) but it is using same terminal for each of them and it is not what I want.
I want to run "Xdmx :2 +xinerama -ac -configfile ConfigFile - config first" command on one terminal then run "DISPLAY=localhost:1" "gthumb image.jpg" commands in the second terminal
I have just started to use Python and I don't have enough experience with Ubuntu. I hope somebody can help me.
Thank you...
I have been searching for my problem but I could not find a solution.
I am trying to run commands on different terminals from python code.
I can run commands by using os.popen(command) but it is using same terminal for each of them and it is not what I want.
I want to run "Xdmx :2 +xinerama -ac -configfile ConfigFile - config first" command on one terminal then run "DISPLAY=localhost:1" "gthumb image.jpg" commands in the second terminal
I have just started to use Python and I don't have enough experience with Ubuntu. I hope somebody can help me.
Thank you...