LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-10-2007, 09:40 PM   #1
Titan2k
Member
 
Registered: Mar 2004
Distribution: SuSE 9.2 Pro
Posts: 50

Rep: Reputation: 15
Lightbulb Know of a command executing program for LIRC?


Let me explain...

Based on what I can figure out, LIRC takes in signals from an IR receiver and then broadcasts the resulting button association over a specific port. It doesn't actually execute any programs or anything.

What I'm looking for is a program/scripting language that listens in on that port. I want to be able to specify an action for a given button or series of buttons. Let's say I just booted my computer and have no programs running. Now I want to play some music in Amarok. If I were to put play on my remote control I want the program I'm looking for to check to see if Amarok is on, if it isn't on turn it on, and then press play. There is a program for Windows on Sourceforge that can do this but I cannot find it on a quick search.

What program/scripting language would you recommend?
 
Old 03-28-2007, 10:50 AM   #2
chrisis29
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Lirc

Try irexec. It's documented on the lirc web site.
 
Old 04-07-2007, 09:11 PM   #3
Titan2k
Member
 
Registered: Mar 2004
Distribution: SuSE 9.2 Pro
Posts: 50

Original Poster
Rep: Reputation: 15
Brilliant...

Brilliant, reading the documentation....

Guess I missed that one when I did go through the site. Thanks.

Now my question becomes, do you know of any good resources to learn how to script commands to check for instances of programs and then execute a predetermined key or mouse combination? I have a feeling with my limited knowledge of the terminology I won't be able to google an answer.
 
  


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
Executing a program on start up andrewthk Debian 3 03-23-2006 01:49 AM
Executing program as non-root arip Programming 4 12-01-2005 06:41 AM
executing a program as root funkymunky Linux - General 2 05-06-2005 01:48 PM
Writing and executing a program Russb Linux - Software 1 07-25-2004 07:49 PM
executing a program in new terminal? kashifbilal Programming 7 04-26-2004 05:52 AM


All times are GMT -5. The time now is 07:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration