Jump to content
Flirc Forums
Sign in to follow this  
Saner2oo2

Custom commands / run bash script.

Recommended Posts

Hello.

 

 

I have a bash script I run manually to kill chrome launcher on XBMC, lets call it killme.sh

 

Is there any way to run this via flirc ? I dont mind renaming it and placing it in (for example) /usr/bin/ so I could call it

 

 

and chmod +x 3

 

Would I then be able to run it by pressing "3" on the remote ?

 

Any hints or tips would be great.

 

 

Share this post


Link to post
Share on other sites

Hi,

 

Flirc can't just execute something in the OS by itself. You need some kind of application or script which will detect specific key press and then execute your script. All Flirc can do is to send key presses to the OS.

 

Read about a Triggerhappy which is a global hotkey daemon for Linux. It works even outside of user session and doesn't require X to do its job.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...