LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Running a script that controls the mouse and keyboard in the background (https://www.linuxquestions.org/questions/linux-newbie-8/running-a-script-that-controls-the-mouse-and-keyboard-in-the-background-809857/)

jsjones85 05-24-2010 03:39 PM

Running a script that controls the mouse and keyboard in the background
 
I have a script that makes several calls to xmacroplay, which controls the keyboard and mouse. I would like to run this in the background or on a separate workspace or something so I can still use my machine for other things. I suspect this is possible but I don't really know what to look for. Can someone please point me in the right direction? Thanks.

Bratmon 05-24-2010 04:29 PM

I don't know much about this, but perhaps you could start another X server?

fruttenboel 05-24-2010 04:41 PM

Quote:

Originally Posted by jsjones85 (Post 3979840)
I have a script that makes several calls to xmacroplay, which controls the keyboard and mouse. I would like to run this in the background or on a separate workspace or something so I can still use my machine for other things. I suspect this is possible but I don't really know what to look for. Can someone please point me in the right direction? Thanks.

Just start the script
Press Ctrl-Z
Enter the 'bg' command

Now it runs in the background. You can also load it in your.profile file to get started when you log in. Perhaps then you need to add the '&' token as in

command &

Goof lucj.


All times are GMT -5. The time now is 08:27 AM.