Jump to content
Flirc Forums

Custom commands / run bash script.


Recommended Posts




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.



Link to comment
Share on other sites

  • 8 months later...



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.

Link to comment
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.

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.

  • Create New...