How to set lirc to simulate keyboard keystrokes in Chrome (or Chromium add-on)?

  • Hi, just wondering if this can be done within LibreELEC. (In fact, I'm using the Extended build from escalade.)

    - I installed LIbreELEC to my mini pc Zotac, which has built-in IR-receiver. Out of the box, I can set Harmony remote to control Kodi.
    But on Chrome it does nothing. (And the ir remote still functions within Kodi interface even when Chrome is running full screen.)

    - After googling a little bit, I found that in order to use lirc to control Linux applications it involves using lircrc (or maybe xdtool).

    - So my question is: would it be possible to configure lircrc within LibreELEC in order to get IR remote to control Chrome?
    If this can be done within LibreELEC, I will try to learn more about lircrc how-to.

    Thanks. :)

  • The problem is that kodi will be holding onto the lirc socket so any keypresses will still happen in kodi.

    Otherwise yes, it's possible. We include xdotool in the regular chromium addon.


  • The problem is that kodi will be holding onto the lirc socket so any keypresses will still happen in kodi.

    Otherwise yes, it's possible. We include xdotool in the regular chromium addon.

    Thanks for reply.

    In that case I think it would be better off to use mini keyboard then. :)