<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 09/11/2017 04:25 PM, Jeff wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:9ace8f8e-8077-dd94-d289-a878aaceb50c@posteo.net">
      <div class="moz-text-plain" wrap="true" graphical-quote="true"
        style="font-family: -moz-fixed; font-size: 12px;"
        lang="x-unicode">
        <pre wrap="">Works a treat.

My only question is that I see in the frontend setup, that MythTV
support a load of system events, and one of them is a CEC command.

This lead me to think that the bash, cec-client and xdotool hackery
described above could be replaced by something altogether more elegant.

Does anybody know how to use the CEC command event directly in Myth?

Regards

Jeff

</pre>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
    You don't need any tomfoolery, it just works. See here <br>
    <br>
    <a class="moz-txt-link-freetext" href="https://www.mythtv.org/wiki/Raspberry_Pi#Remote_Control_with_CEC">https://www.mythtv.org/wiki/Raspberry_Pi#Remote_Control_with_CEC</a><br>
    <br>
    Peter<br>
  </body>
</html>