Saner2oo2 Posted February 28, 2014 Report Share Posted February 28, 2014 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 3 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. Quote Link to comment Share on other sites More sharing options...
Saner2oo2 Posted November 5, 2014 Author Report Share Posted November 5, 2014 Bump (have i waited long enough :D) Quote Link to comment Share on other sites More sharing options...
yawor Posted November 5, 2014 Report Share Posted November 5, 2014 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. Quote Link to comment Share on other sites More sharing options...
Saner2oo2 Posted November 5, 2014 Author Report Share Posted November 5, 2014 Nice, will do some reading. Cheers Yawor Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.