LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2010, 04:39 PM   #1
jsjones85
LQ Newbie
 
Registered: May 2010
Posts: 15

Rep: Reputation: 0
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.
 
Old 05-24-2010, 05:29 PM   #2
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
I don't know much about this, but perhaps you could start another X server?
 
Old 05-24-2010, 05:41 PM   #3
fruttenboel
Member
 
Registered: Jul 2008
Location: Tilburg NL
Distribution: Slackware 14.2 ciurrent, kernel 3.18.11
Posts: 270

Rep: Reputation: 48
Quote:
Originally Posted by jsjones85 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running script in background? bobbyright Linux - Newbie 4 03-02-2010 03:17 AM
Running script in background bob81 Linux - Newbie 1 03-04-2009 01:11 AM
logging script, running background how lhrt Linux - General 2 06-09-2006 11:06 AM
Running script in background skguha Linux - Newbie 7 04-02-2004 09:32 AM
Running a script in background on a remote machine TheCoffeeMug Linux - Networking 3 11-06-2003 11:08 AM


All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration