Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-10-2007, 08:40 PM   #1
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, 09:50 AM   #2
LQ Newbie
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0

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

Original Poster
Rep: Reputation: 15

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.


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

All times are GMT -5. The time now is 11:28 PM.

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